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

Decrypting an illegal data array will be out of bounds #4

Open
gamife opened this issue May 12, 2022 · 1 comment
Open

Decrypting an illegal data array will be out of bounds #4

gamife opened this issue May 12, 2022 · 1 comment

Comments

@gamife
Copy link

gamife commented May 12, 2022

Decrypting an illegal data array will be out of bounds, then Panic.
I think it's better to throw an error, the same problem with sm2::keypair_from_pem_file().

@zhuobie
Copy link
Owner

zhuobie commented May 12, 2022

Decrypting an illegal data array will be out of bounds, then Panic. I think it's better to throw an error, the same problem with sm2::keypair_from_pem_file().

Thanks. The project is still in development. Maybe I will add exceptions handling in future.

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

2 participants