Skip to content

Commit bd3b1a7

Browse files
Update cli.sh
1 parent 060a55a commit bd3b1a7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

xtest/sdk/js/cli.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ if [ "$1" == "supports" ]; then
5151
ecwrap)
5252
if npx $CTL help | grep encapKeyType; then
5353
# 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; }'
54+
npx $CTL --version | jq -re '.["@opentdf/sdk"]' | awk -F. '{ if ($1 > 0 || ($1 == 0 && $2 > 4)) exit 0; else exit 1; }'
5555
exit $?
5656
else
5757
echo "ecwrap not supported"

0 commit comments

Comments
 (0)