diff options
author | Ben McGinnes <[email protected]> | 2018-05-13 18:14:45 +0000 |
---|---|---|
committer | Ben McGinnes <[email protected]> | 2018-05-24 19:50:11 +0000 |
commit | 9038d30017b2e38b183d093f9b5d46e1f24c70a6 (patch) | |
tree | 5aa4f1f802a9df7ed9ce14f9f4765b09ee1f34d2 | |
parent | json: Add code to gpg_error based messages (diff) | |
download | gpgme-9038d30017b2e38b183d093f9b5d46e1f24c70a6.tar.gz gpgme-9038d30017b2e38b183d093f9b5d46e1f24c70a6.zip |
doc: python bindings howto
* Fixed org-mode python source indenting.
** Note: nested indented blocks do not indent correctly when exported
to [X]HTML.
-rw-r--r-- | lang/python/docs/GPGMEpythonHOWTOen.org | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lang/python/docs/GPGMEpythonHOWTOen.org b/lang/python/docs/GPGMEpythonHOWTOen.org index ef66effc..d7a1891f 100644 --- a/lang/python/docs/GPGMEpythonHOWTOen.org +++ b/lang/python/docs/GPGMEpythonHOWTOen.org @@ -588,7 +588,7 @@ logrus.append(rpattern[i]) ciphertext, result, sign_result = c.encrypt(text, recipients=logrus, sign=False, - always_trust=True) + always_trust=True) with open("secret_plans.txt.asc", "wb") as afile: afile.write(ciphertext) @@ -950,7 +950,7 @@ #+begin_src python with open(filename, "rb") as afile: - text = afile.read() + text = afile.read() if text == data: print("Good signature.") @@ -1050,7 +1050,6 @@ tofu-default-policy unknown enable-large-rsa enable-dsa2 - # cert-digest-algo SHA256 cert-digest-algo SHA512 default-preference-list TWOFISH CAMELLIA256 AES256 CAMELLIA192 AES192 CAMELLIA128 AES BLOWFISH IDEA CAST5 3DES SHA512 SHA384 SHA256 SHA224 RIPEMD160 SHA1 ZLIB BZIP2 ZIP Uncompressed personal-cipher-preferences TWOFISH CAMELLIA256 AES256 CAMELLIA192 AES192 CAMELLIA128 AES BLOWFISH IDEA CAST5 3DES |