public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sec-keys/openpgp-keys-gentoo-developers/files/
@ 2023-07-23 23:09 Sam James
  0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2023-07-23 23:09 UTC (permalink / raw
  To: gentoo-commits

commit:     7e20300dc70bcc3552b39495b32d18be2b5f214a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 23 23:08:54 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jul 23 23:09:05 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e20300d

sec-keys/openpgp-keys-gentoo-developers: add TODO for newer python-gnupg

We might be able to give some nicer output with newer python-gnupg (>= 0.5.1).

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sec-keys/openpgp-keys-gentoo-developers/files/keyring-mangler.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sec-keys/openpgp-keys-gentoo-developers/files/keyring-mangler.py b/sec-keys/openpgp-keys-gentoo-developers/files/keyring-mangler.py
index 3100e6226375..90b4ff68357e 100644
--- a/sec-keys/openpgp-keys-gentoo-developers/files/keyring-mangler.py
+++ b/sec-keys/openpgp-keys-gentoo-developers/files/keyring-mangler.py
@@ -53,6 +53,7 @@ with open(active_devs, "r", encoding="utf8") as keyring:
 
 good_keys = []
 
+# TODO: Use new 'problems' key from python-gnupg-0.5.1?
 for key in gpg.list_keys(sigs=True):
     print(f"Checking key={key['keyid']}, uids={key['uids']}")
 


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sec-keys/openpgp-keys-gentoo-developers/files/
@ 2024-07-14 15:03 James Le Cuirot
  0 siblings, 0 replies; 3+ messages in thread
From: James Le Cuirot @ 2024-07-14 15:03 UTC (permalink / raw
  To: gentoo-commits

commit:     d1d0c8739a14941dfe29af5da4ade30c547d59a5
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 14 14:59:26 2024 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun Jul 14 15:02:16 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1d0c873

sec-keys/openpgp-keys-gentoo-developers: Add check to ensure any keys were found

Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 sec-keys/openpgp-keys-gentoo-developers/files/keyring-mangler.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sec-keys/openpgp-keys-gentoo-developers/files/keyring-mangler.py b/sec-keys/openpgp-keys-gentoo-developers/files/keyring-mangler.py
index 90b4ff68357e..81e7886af56e 100644
--- a/sec-keys/openpgp-keys-gentoo-developers/files/keyring-mangler.py
+++ b/sec-keys/openpgp-keys-gentoo-developers/files/keyring-mangler.py
@@ -91,5 +91,8 @@ for key in gpg.list_keys(sigs=True):
 
     good_keys.append(key["fingerprint"])
 
+if len(good_keys) <= len(AUTHORITY_KEYS):
+    raise RuntimeError("No valid developer keys were found!")
+
 with open(armored_output, "w", encoding="utf8") as keyring:
     keyring.write(gpg.export_keys(good_keys))


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sec-keys/openpgp-keys-gentoo-developers/files/
@ 2024-10-14 22:16 James Le Cuirot
  0 siblings, 0 replies; 3+ messages in thread
From: James Le Cuirot @ 2024-10-14 22:16 UTC (permalink / raw
  To: gentoo-commits

commit:     1e3d0054703a0a1394c556d34a2b620d14ea78d3
Author:     Bertrand Jacquin <bertrand <AT> jacquin <DOT> bzh>
AuthorDate: Sat Oct 12 15:37:43 2024 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Mon Oct 14 22:15:59 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e3d0054

sec-keys/openpgp-keys-gentoo-developers: always update information about the Web of Trust

Installing this package may fail if no-auto-check-trustdb is defined in
/etc/gnupg/gpg.conf. This commit circumvent the issue by forcing
--auto-check-trustdb which takes precedence over configuration file.

Closes: https://bugs.gentoo.org/940913
Signed-off-by: Bertrand Jacquin <bertrand <AT> jacquin.bzh>
Closes: https://github.com/gentoo/gentoo/pull/38954
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 sec-keys/openpgp-keys-gentoo-developers/files/keyring-mangler.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sec-keys/openpgp-keys-gentoo-developers/files/keyring-mangler.py b/sec-keys/openpgp-keys-gentoo-developers/files/keyring-mangler.py
index 81e7886af56e..9019a7b3da88 100644
--- a/sec-keys/openpgp-keys-gentoo-developers/files/keyring-mangler.py
+++ b/sec-keys/openpgp-keys-gentoo-developers/files/keyring-mangler.py
@@ -35,7 +35,7 @@ gentoo_auth = sys.argv[1]
 active_devs = sys.argv[2]
 armored_output = sys.argv[3]
 
-gpg = gnupg.GPG(verbose=False, gnupghome=os.environ["GNUPGHOME"])
+gpg = gnupg.GPG(verbose=False, gnupghome=os.environ["GNUPGHOME"], options="--auto-check-trustdb")
 gpg.encoding = "utf-8"
 
 with open(gentoo_auth, "r", encoding="utf8") as keyring:


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-10-14 22:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-23 23:09 [gentoo-commits] repo/gentoo:master commit in: sec-keys/openpgp-keys-gentoo-developers/files/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2024-07-14 15:03 James Le Cuirot
2024-10-14 22:16 James Le Cuirot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox