question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Better error messaging when no keyring is found.

See original GitHub issue

Currently if no configured keyring is found to unwrap any of the encrypted data keys, the CMM will throw an unencryptedDataKey has not been set error. While this error is accurate, it is unhelpful.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
bardockcommented, Apr 24, 2020

I was using the same example that followed @davidyell. To avoid this error you must use the key ARN, not the alias, as was noted here: https://docs.aws.amazon.com/encryption-sdk/latest/developer-guide/js-examples.html

To specify a CMK for a decryption keyring in the AWS Encryption SDK for JavaScript, you must use the key ARN. Otherwise, the CMK is not recognized

2reactions
davidyellcommented, Apr 14, 2020

I was Googling for this error and ended up here. The message still doesn’t tell me how to fix the error or provide a link for me to learn more.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix the Metamask Error "No keyring found for the ...
Then reopen Metamask and try again. Step 4: If you tried the transaction again and it still does not work, then uninstall Metamask,...
Read more >
ALERT: No keyring found for the requested account. #6207
When trying to send ETH from the wallet to any address, I am seeing the following error: "ALERT: No keyring found for the...
Read more >
HELP! No keyring error! Cant move assets from Metamask wallet
I keep getting an error message on my metamask wallet that says, "EthQuery - RPC Error - Error: No keyring found for the...
Read more >
How to fix MetaMask No Keyring Found error - Help With Penny
Fix No keyring found error on the mobile app​​ The first solution is to try to force close your app from your phone's...
Read more >
Error: No keyring found for the requested account."` - FOAM ...
I am reporting this to the metamask team, and then send the information to the support.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found