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

what is error code -50? #62

Open
MohsenMoghimi opened this issue Jun 28, 2020 · 3 comments
Open

what is error code -50? #62

MohsenMoghimi opened this issue Jun 28, 2020 · 3 comments

Comments

@MohsenMoghimi
Copy link

getting this error when trying to decrypt.

Error Domain=NSOSStatusErrorDomain Code=-50 "RSA-WRAP too short input data" UserInfo={NSDescription=RSA-WRAP too short input data}

how should I resolve it????

@MohsenMoghimi MohsenMoghimi changed the title what is this error? what is error code -50? Jun 28, 2020
@aeslami
Copy link

aeslami commented Mar 11, 2022

Having the same issue here

@MohsenMoghimi
Copy link
Author

@aeslami I found it, for some reason public key and private key was not valid. if you test with a valid keys it will work.

@JarnoRFB
Copy link

JarnoRFB commented Dec 6, 2022

@MohsenMoghimi what exactly do you mean by the key not being valid. I just got a private key from a third party and it works in a different application. In which way could this be invalid?

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

3 participants