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.

Error: Could not encrypt data for service RN_KEYCHAIN_DEFAULT_ALIAS

See original GitHub issue

Keychain is working perfectly fine in iOS, but no luck in Android. I am totally blocked by this. What seems the problem with my code? Can you help me guys?

Error: Could not encrypt data for service RN_KEYCHAIN_DEFAULT_ALIAS

const allValues = await readKeychain();
try{
await Keychain.setGenericPassword('mykey','value', {
        accessible: Keychain.ACCESSIBLE.WHEN_UNLOCKED_THIS_DEVICE_ONLY,
      });
}catch(e){
// I logged it here
}

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:1
  • Comments:11

github_iconTop GitHub Comments

11reactions
chaudhryjunaidcommented, Feb 7, 2019

👍 bump!

2reactions
1jedrzej1commented, Jul 1, 2020

One of possibility is not enought storage space on emulator or phone. Please checks that.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Could not encrypt data for service com.metamask · Issue #1811
Describe the bug Getting this error "Could not encrypt data for service com.metamask" during login. Screenshot Smartphone : Device: Redmi ...
Read more >
Encryption of data at rest for Amazon OpenSearch Service
The following are not encrypted when you enable encryption of data at rest, but you can take additional steps to protect them:.
Read more >
About encrypted backups on your iPhone, iPad, or iPod touch
Encrypted backups can include information that unencrypted backups don't: Your saved passwords; Wi-Fi settings; Website history. Health data ...
Read more >
Extract Encryption at Rest - Tableau Help
Extract encryption at rest is a data security feature that allows you to encrypt .hyper extracts while they are stored on Tableau Server....
Read more >
Encrypt Data (QC3ENCDT, Qc3EncryptData) API - IBM
The system will perform the encryption operation using cryptographic hardware. If the requested algorithm is not available in hardware, an error is returned....
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