[gnome-keysign: 7/8] gpgmeh: return decrypted signature from decrypt_and_import_signature




commit fba62e23b961127a6a9fa733c405ece0ee71e8ac
Author: Tobias Mueller <muelli cryptobitch de>
Date:   Fri Sep 11 21:54:39 2020 +0200

    gpgmeh: return decrypted signature from decrypt_and_import_signature
    
    We may use that decryption result in the future. Until then, it doesn't
    do much harm to return it.

 keysign/gpgmeh.py | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/keysign/gpgmeh.py b/keysign/gpgmeh.py
index 39b9ce1..7cc6f42 100755
--- a/keysign/gpgmeh.py
+++ b/keysign/gpgmeh.py
@@ -575,6 +575,7 @@ def decrypt_signature(encrypted_sig, homedir=None):
 def decrypt_and_import_signature(encrypted_sig, homedir=None):
     signature = decrypt_signature(encrypted_sig, homedir=homedir)
     import_signature(signature)
+    return signature
 
 
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]