Issue #16 resolved
Anonymous created an issue

When decrypting a file with an output path containing a space, the output file is not created.

with open('test.txt', 'rb') as testFile:
    gpg.encrypt_file(testFile, GPG_FINGERPRINT, output='test.txt.gpg')

# 'folder with spaces/result.txt' is never created.
with open('test.txt.gpg', 'rb') as cryptFile:
    gpg.decrypt_file(cryptFile, output='folder with spaces/result.txt')

# 'folderwithoutspaces/result.txt' is created.
with open('test.txt.gpg', 'rb') as cryptFile:
    gpg.decrypt_file(cryptFile, output='folderwithoutspaces/result.txt')

Comments (2)

  1. Log in to comment