[gnome-keysign: 11/22] do not use uid_data before assignment
- From: Tobias Mueller <tobiasmue src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-keysign: 11/22] do not use uid_data before assignment
- Date: Thu, 24 Oct 2019 14:59:20 +0000 (UTC)
commit ccdf9cbeee7723234e601cc6c8394b8fce7ad571
Author: Sascha Steinbiss <satta debian org>
Date: Sat Sep 14 13:47:13 2019 +0200
do not use uid_data before assignment
keysign/gpgmeh.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/keysign/gpgmeh.py b/keysign/gpgmeh.py
index 7703c7f..2eb9de1 100755
--- a/keysign/gpgmeh.py
+++ b/keysign/gpgmeh.py
@@ -495,7 +495,6 @@ def sign_keydata_and_encrypt(keydata, error_cb=None, homedir=None):
else:
log.debug("The UID %s has %d signatures",
uid, len(uid.signatures))
- log.debug("Data for uid %d: %r, sigs: %r %r", i, uid, uid.signatures, uid_data)
if len(uid.signatures) < 2:
log.error("We seem to not have produced signatures correctly. "
"%s has less than 2 signatures: %s",
@@ -503,6 +502,7 @@ def sign_keydata_and_encrypt(keydata, error_cb=None, homedir=None):
)
uid_data = UIDExport(signed_keydata, i)
+ log.debug("Data for uid %d: %r, sigs: %r %r", i, uid, uid.signatures, uid_data)
ciphertext, _, _ = ctx.encrypt(plaintext=uid_data,
recipients=[key],
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]