Skip to content

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