Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working with AWS KMS #4

Open
fjcabello opened this issue Apr 15, 2020 · 0 comments
Open

Not working with AWS KMS #4

fjcabello opened this issue Apr 15, 2020 · 0 comments

Comments

@fjcabello
Copy link

Hi,
not sure if I'm doing something wrong, but I create keys with 'sign&verify' property (I have tried with RSA and ECC) and I get the same error:

InvalidKeyUsageException: arn:aws:kms:eu-west-1:774082574083:key/9a956830-5b5d-4203-bc1e-52781bbab0a2 key usage is SIGN_VERIFY which is not valid for Encrypt.

Checking the source code I realise you are calling to this.kms.encrypt, not kms.sign

Is this related to a change in AWS api?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant