public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH 0/5] verify-sig.eclass: sigstore support
@ 2024-10-12 18:52 Michał Górny
  2024-10-12 18:52 ` [gentoo-dev] [PATCH 1/5] sec-keys/sigstore-trusted-root: New package, v0_p20241010 Michał Górny
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Michał Górny @ 2024-10-12 18:52 UTC (permalink / raw
  To: gentoo-dev; +Cc: Michał Górny

Hi,

dev-python/sigstore is yet another NIH signature verification tool.
Python is planning to use it exclusively starting with Python 3.14.
It uses some fancy PKI-like infrastructure backend by OAuth against
some popular providers (read: now Google and Microsoft will hold keys
used to sign Python releases).

This patch set adds:

1. A package to install an up-to-date root certificates for sigstore.
   It also has a test phase that can be used to verify if we need
   to wrap up a new version.

2. verify-sig support for verifying detached signatures against it.
   No other kinds of signatures are implemented, and I have no clue
   if they are supported at all.

3. An example Python 3.13.0 patch to use it.  That said, I don't think
   we will actually use it for existing versions, just when there are
   no PGP signatures anymore.



Michał Górny (5):
  sec-keys/sigstore-trusted-root: New package, v0_p20241010
  verify-sig.eclass: Refactor code to use extra_args for all types
  verify-sig.eclass: Error out on invalid method+function combos
  verify-sig.eclass: Add support for verifying sigstore signatures
  dev-lang/python: Use sigstore in 3.13.0 (example)

 dev-lang/python/Manifest                      |  2 +-
 dev-lang/python/python-3.13.0.ebuild          |  8 +-
 eclass/verify-sig.eclass                      | 74 +++++++++++++++++--
 sec-keys/sigstore-trusted-root/Manifest       |  2 +
 sec-keys/sigstore-trusted-root/metadata.xml   |  8 ++
 .../sigstore-trusted-root-0_p20241010.ebuild  | 54 ++++++++++++++
 6 files changed, 136 insertions(+), 12 deletions(-)
 create mode 100644 sec-keys/sigstore-trusted-root/Manifest
 create mode 100644 sec-keys/sigstore-trusted-root/metadata.xml
 create mode 100644 sec-keys/sigstore-trusted-root/sigstore-trusted-root-0_p20241010.ebuild

-- 
2.47.0



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

end of thread, other threads:[~2024-10-12 18:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-12 18:52 [gentoo-dev] [PATCH 0/5] verify-sig.eclass: sigstore support Michał Górny
2024-10-12 18:52 ` [gentoo-dev] [PATCH 1/5] sec-keys/sigstore-trusted-root: New package, v0_p20241010 Michał Górny
2024-10-12 18:52 ` [gentoo-dev] [PATCH 2/5] verify-sig.eclass: Refactor code to use extra_args for all types Michał Górny
2024-10-12 18:52 ` [gentoo-dev] [PATCH 3/5] verify-sig.eclass: Error out on invalid method+function combos Michał Górny
2024-10-12 18:52 ` [gentoo-dev] [PATCH 4/5] verify-sig.eclass: Add support for verifying sigstore signatures Michał Górny
2024-10-12 18:52 ` [gentoo-dev] [PATCH 5/5] dev-lang/python: Use sigstore in 3.13.0 (example) Michał Górny

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