We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 060a55a commit bd3b1a7Copy full SHA for bd3b1a7
1 file changed
xtest/sdk/js/cli.sh
@@ -51,7 +51,7 @@ if [ "$1" == "supports" ]; then
51
ecwrap)
52
if npx $CTL help | grep encapKeyType; then
53
# Claims to support ecwrap, but maybe with old salt? Look up version
54
- npx $CTL --version | jq -re '.["@opentdf/sdk"]' | awk -F. '{ if ($1 > 2) exit 0; else exit 1; }'
+ npx $CTL --version | jq -re '.["@opentdf/sdk"]' | awk -F. '{ if ($1 > 0 || ($1 == 0 && $2 > 4)) exit 0; else exit 1; }'
55
exit $?
56
else
57
echo "ecwrap not supported"
0 commit comments