Skip to content

Commit

Permalink
Merge remote-tracking branch 'JamesMaroney/master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
isislovecruft committed Jul 25, 2018
2 parents 704491b + ea6a062 commit 6182885
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pretty_bad_protocol/_meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,7 @@ def _encrypt(self, data, recipients,
>>> encrypted = str(gpg.encrypt(message, key.fingerprint))
>>> assert encrypted != message
>>> assert not encrypted.isspace()
>>> decrypted = str(gpg.decrypt(encrypted))
>>> decrypted = str(gpg.decrypt(encrypted, passphrase='foo'))
>>> assert not decrypted.isspace()
>>> decrypted
'The crow flies at midnight.'
Expand Down
2 changes: 1 addition & 1 deletion pretty_bad_protocol/gnupg.py
Original file line number Diff line number Diff line change
Expand Up @@ -1031,7 +1031,7 @@ def encrypt(self, data, *recipients, **kwargs):
>>> encrypted = str(gpg.encrypt(message, key.fingerprint))
>>> assert encrypted != message
>>> assert not encrypted.isspace()
>>> decrypted = str(gpg.decrypt(encrypted))
>>> decrypted = str(gpg.decrypt(encrypted, passphrase='foo'))
>>> assert not decrypted.isspace()
>>> decrypted
'The crow flies at midnight.'
Expand Down

0 comments on commit 6182885

Please sign in to comment.