Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion xtest/sdk/java/cli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,12 @@ if [ "$1" == "supports" ]; then
java -jar "$SCRIPT_DIR"/cmdline.jar help encrypt | grep with-target-mode
exit $?
;;

mechanism-rsa-4096)
# rsa4096 support in > 0.12.0
set -o pipefail
java -jar "$SCRIPT_DIR"/cmdline.jar --version | jq -re .version | awk -F. '{ if ($1 > 0 || ($1 == 0 && $2 >= 13) || ($1 == 0 && $2 == 12 && $3 >= 1)) exit 0; else exit 1; }'
exit $?
;;
*)
echo "Unknown feature: $2"
exit 2
Expand Down
2 changes: 0 additions & 2 deletions xtest/tdfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -459,8 +459,6 @@ def _uncached_supports(self, feature: feature_type) -> bool:
return True
case ("mechanism-rsa-4096", "go"):
return True
case ("mechanism-rsa-4096", "java"):
return False
case ("mechanism-ec-curves-384-521", "go"):
return True
case ("mechanism-ec-curves-384-521", ("java" | "js")):
Expand Down
Loading