-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
allow use of private keys with no passphrase #12
Add Key.NO_PASSPHRASE constant to signal that a key doesn't use a passphrase (as well as Key/Subkey.noPassphrase property), and add unit test to validate a passphrase-less key works for signing and decryption.
- Loading branch information
1 parent
676d849
commit 6a9e298
Showing
5 changed files
with
85 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
-----BEGIN PGP PRIVATE KEY BLOCK----- | ||
Version: GnuPG v1 | ||
|
||
lgAAAdgEWtE3cAEEANMVepmoansMHh6//w+PeRETdf/k/1zTcHZxqVPpsNLpeHDS | ||
5QJGXxNeGDbozPvu0obG20Qm1D26+CrbhhPHQr/3rPmlQn12SPbjoHkA8/jewcMM | ||
1ABejWf4X6RVYY0xbA6uYU56+a2KkUU4pVFwL2EiuclS0ibjApHFKOYDMIZpABEB | ||
AAEAA/4k7EAoki7kDLPVFakQR/y5qbGNnDk1+89TjKC9qqZRUmEMvTstWXFmkiJC | ||
spiupfEh/bVbl74u+R5RYtpyabvJRr6r0TbyKz17mzF0Z512vryo5yvAkTyuJjoH | ||
5t8/wFk+ENcT9JxBnmr7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