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

Invalid RSAES-OAEP padding WHY #1075

Closed
briancorbin opened this issue Apr 2, 2024 · 0 comments
Closed

Invalid RSAES-OAEP padding WHY #1075

briancorbin opened this issue Apr 2, 2024 · 0 comments

Comments

@briancorbin
Copy link

Could someone help me understand what is causing this error?

throw new Error('Invalid RSAES-OAEP padding.');

My situation is:

I generate the keypair on one platform, and try to decrypt on another (react-native), and it throws this error for ~30% of the generated keys. Some work, some don't, and I can't figure out why 😭

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