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

Adds support for encrypted RSA private keys in decrypt_oaep and rsa_sign functions #23

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

0xacb
Copy link

@0xacb 0xacb commented Aug 8, 2016

No description provided.

@0xacb
Copy link
Author

0xacb commented Aug 9, 2016

Added support for encrypted RSA private keys (decrypt and sign):

jwk = {"k": PEMPrivateKey, "passphrase": keyPassphrase}

Please take a look on the failed Travis CI. The build fails when hmac_sign is called for encryption/decryption and not for signing/verification.

@0xacb 0xacb changed the title Adds support for encrypted RSA private keys in decrypt_oaep Adds support for encrypted RSA private keys in decrypt_oaep and rsa_sign Aug 9, 2016
@0xacb 0xacb changed the title Adds support for encrypted RSA private keys in decrypt_oaep and rsa_sign Adds support for encrypted RSA private keys in decrypt_oaep and rsa_sign functions Aug 9, 2016
@nmurtagh
Copy link
Contributor

@abaptista Hi Andre, thank you for your contribution! I'm happy to merge this but it needs all the existing tests to be fixed up (you have changed the API of some of the algorithms), and also needs unit tests for keys with passphrases.

@0xacb
Copy link
Author

0xacb commented Aug 11, 2016

@nmurtagh Hello! Sure, I understand. I'm happy to contribute, please let me know if you need a hand 👍

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

Successfully merging this pull request may close these issues.

2 participants