diff options
author | Ben McGinnes <[email protected]> | 2018-06-28 08:02:43 +0000 |
---|---|---|
committer | Ben McGinnes <[email protected]> | 2018-06-28 08:02:43 +0000 |
commit | dda54cc851490be045832d5ee0b03be082529d17 (patch) | |
tree | 48c6e01a3bb4911e8600ae2f77908d397eff4e88 /lang/python/docs/dita/howto/part04/decryption.dita | |
parent | docs: python bindings howto DITA (diff) | |
download | gpgme-dda54cc851490be045832d5ee0b03be082529d17.tar.gz gpgme-dda54cc851490be045832d5ee0b03be082529d17.zip |
python bindings howto: dita version
* Drafts of instructions for exporting public and secret keys ready,
along in addition to the code.
Diffstat (limited to 'lang/python/docs/dita/howto/part04/decryption.dita')
-rw-r--r-- | lang/python/docs/dita/howto/part04/decryption.dita | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/lang/python/docs/dita/howto/part04/decryption.dita b/lang/python/docs/dita/howto/part04/decryption.dita index 41a4650e..bb8c3680 100644 --- a/lang/python/docs/dita/howto/part04/decryption.dita +++ b/lang/python/docs/dita/howto/part04/decryption.dita @@ -30,9 +30,20 @@ else: pass </codeblock> </p> - <p>The data available in <codeph>plaintext</codeph> in this example is the decrypted content - as a byte object, the recipient key IDs and algorithms in <codeph>result</codeph> and the - results of verifying any signatures of the data in <codeph>verify_result</codeph>.</p> + <p>The data available in <codeph>plaintext</codeph> following a successful decryption in this + example is the decrypted content as a byte object, the recipient key IDs and algorithms in + <codeph>result</codeph> and the results of verifying any signatures of the data in + <codeph>verify_result</codeph>.</p> + <p> + <note>The graceful handling of <codeph>GPGMEError</codeph> with the try/except statement is + to handle the decryption error message produced if the file <codeph>ciphertext</codeph>, + and thus <codeph>cfile</codeph>, are encrypted with deprecated and insecure methods. + Particularly without MDC integrity checks or utilising deprecated encryption algorithms. + Messages and files encrypted with these are not decrypted with GPGME at all and any user + requiring archival access will need to access it manually with pre-GnuPG 2.3 versions of + the software which meets the requirements of the specific use case.</note> + </p> + <p/> </body> </topic> </dita> |