diff options
Diffstat (limited to 'lang/python/examples/howto')
| -rwxr-xr-x | lang/python/examples/howto/encrypt-file.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/lang/python/examples/howto/encrypt-file.py b/lang/python/examples/howto/encrypt-file.py index 718c7157..8aee52ad 100755 --- a/lang/python/examples/howto/encrypt-file.py +++ b/lang/python/examples/howto/encrypt-file.py @@ -58,7 +58,7 @@ with gpg.Context(armor=True) as ca:          fa.write(ciphertext)  with gpg.Context() as cg: -    ciphertext, result, sign_result = ca.encrypt(text, recipients=rkey, +    ciphertext, result, sign_result = cg.encrypt(text, recipients=rkey,                                                   sign=False)      with open("{0}.gpg".format(filename), "wb") as fg:          fg.write(ciphertext) | 
