Your message dated Tue, 09 Nov 2021 07:20:14 +0000
with message-id <[email protected]>
and subject line Bug#971404: fixed in python-gnupg 0.4.7-1
has caused the Debian Bug report #971404,
regarding python3-gnupg: support %no-protection for unattended key generation
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
971404: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=971404
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-gnupg
Version: 0.4.6-1
Severity: wishlist
Tags: patch upstream
For testing or other purposes, it is useful to create keys
without passphrase protection, esp. in batch mode. gnupg does
support this using the %no-protection control statement.
https://www.gnupg.org/documentation//manuals/gnupg/Unattended-GPG-key-generation.html
The attached patch adds a boolean parameter "no_protection" to
gen_key_input(). If set to True, %no-protection is used.
export_keys() can then export secret keys without protection,
using secret=True and expect_passphrase=False.
Description: Adds support for %no-protection to generate unprotected secret keys
Author: Martin <[email protected]>
Origin: vendor
Last-Update: 2020-09-29
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/gnupg.py
+++ b/gnupg.py
@@ -1462,6 +1462,7 @@
Generate --gen-key input per gpg doc/DETAILS
"""
parms = {}
+ no_protection = kwargs.pop("no_protection", False)
for key, val in list(kwargs.items()):
key = key.replace('_','-').title()
if str(val).strip(): # skip empty strings
@@ -1478,6 +1479,8 @@
out = "Key-Type: %s\n" % parms.pop('Key-Type')
for key, val in list(parms.items()):
out += "%s: %s\n" % (key, val)
+ if no_protection:
+ out += "%no-protection\n"
out += "%commit\n"
return out
--- End Message ---
--- Begin Message ---
Source: python-gnupg
Source-Version: 0.4.7-1
Done: Elena Grandi <[email protected]>
We believe that the bug you reported is fixed in the latest version of
python-gnupg, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Elena Grandi <[email protected]> (supplier of updated python-gnupg package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Tue, 09 Nov 2021 08:02:20 +0100
Source: python-gnupg
Architecture: source
Version: 0.4.7-1
Distribution: unstable
Urgency: medium
Maintainer: Elena Grandi <[email protected]>
Changed-By: Elena Grandi <[email protected]>
Closes: 971404
Changes:
python-gnupg (0.4.7-1) unstable; urgency=medium
.
[ Ondřej Nový ]
* d/control: Update Vcs-* fields with new Debian Python Team Salsa
layout.
.
[ Sandro Tosi ]
* Use the new Debian Python Team contact name and address
.
[ Elena Grandi ]
* New upstream release. Closes: #971404.
* Updated watch file format version (no changes needed).
* Bump Standards-Version to 4.6.0 (no changes needed).
* Bump compat to 13
Checksums-Sha1:
1c2c147088ec4736487d7800a1ad5689b02b8a87 1982 python-gnupg_0.4.7-1.dsc
31c2b9cc617d1e0a52464a99c6c090faf8e79afc 53091 python-gnupg_0.4.7.orig.tar.gz
5c39a5dab597584fa975d3294df6746012ff60ce 801 python-gnupg_0.4.7.orig.tar.gz.asc
a8a4fcfa256cb77303bcfd802ea0d1ed2fbfc5c0 7808
python-gnupg_0.4.7-1.debian.tar.xz
7974658c72cb495278959370619c833a19936ef4 10555
python-gnupg_0.4.7-1_source.buildinfo
Checksums-Sha256:
9aa2f66b57bd0727dfced0f715b1dc5bc6a038f4b2bf81118fa3bc73fa8c948a 1982
python-gnupg_0.4.7-1.dsc
2061f56b1942c29b92727bf9aecbd3cea3893acc9cccbdc7eb4604285efe4ac7 53091
python-gnupg_0.4.7.orig.tar.gz
aa0230c27aaefd9481f067ea9da945d3b048fc79b28d41d2f1fca54351cb905f 801
python-gnupg_0.4.7.orig.tar.gz.asc
04a8a209c128c217af625477b2878b24946f1694c8409d1f249e007de16f8762 7808
python-gnupg_0.4.7-1.debian.tar.xz
b7b6feaf5c8297c7a61ac9e92d735aae7c87a6781a908d9049a3d8069ce34427 10555
python-gnupg_0.4.7-1_source.buildinfo
Files:
1ae58b5c5179a0c410945541bdd61383 1982 python optional python-gnupg_0.4.7-1.dsc
c7279209adf8dde880627987f53e5f8b 53091 python optional
python-gnupg_0.4.7.orig.tar.gz
158e96de1469453bb6eb8dafbe957f28 801 python optional
python-gnupg_0.4.7.orig.tar.gz.asc
d2016e164cedf9d7793fc6cf42ac7c64 7808 python optional
python-gnupg_0.4.7-1.debian.tar.xz
474f9ed9858d7cd547c2bd685c378343 10555 python optional
python-gnupg_0.4.7-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEEY8n6rGg5PpTPkl4ZcL0i0xEjtDEFAmGKHVMACgkQcL0i0xEj
tDEjRQf9HpmFFHkw6h7A/XMtwBUYmONgmiFYY3NV4ajg7mjaPbbIgYhyDh9+V6QO
UOn7tdUgdrXEDgr5Y3E//l5K9Z2c6v7mMn3/Ke+rgZXzEYdl9H6BK/OppUQGmSzR
703kGm0lF2tR3zAna7TAg5gsBrlorhxkZtevcb32V8SObL2EgLI70S2Zkrd+EAEX
Y6dfHSCUWpc2JisvKTj3RUue9PnC5y97m1e3snAnNyBjtiZ1HABORfR0F/hr7dm7
4EHKv0S/g2iIBLMpnhy1tGnxgTlpDrD2PF2pkkMVKxwvNMU+BoUZKfrAsYCBc6Fo
R1MN8QOfg4aWkBt7/NS5EE7CbdP2Zw==
=KRL+
-----END PGP SIGNATURE-----
--- End Message ---