-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed signing of passphrase protected RSA keys; tidied config naming.
Fix for issue #15. If you've been using SIGNATURE_METHOD_RSA, this change is not backwards compatible. I have added two new SIGNATURE_METHOD_RSA-specific configuration options: * private_key_file * private_key_passphrase These are passed to openssl_pkey_get_private(). The old code was using the 'consumer_key' option for both file and passphrase, meaning it was unlikely to work unless: * Your key had no passphrase, or * You used the file location name as a passphrase (please don't do this) I have added a usage example to the README.
- Loading branch information
1 parent
40024ea
commit 4736b9a
Showing
2 changed files
with
19 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters