#key #linux-distro #gpg #keyring #distribution #parser #rfc4880

distro-keyring

来自Linux发行版的密钥环数据文件

2个不稳定版本

0.2.0 2024年3月16日
0.1.0 2019年2月7日

#162 in 认证


2 crates 中使用

MIT/Apache

59KB

distro-keyrings

crates.io

本软件包包含各种Linux发行版的GPG密钥环文件。

如果您正在尝试下载发行版软件包列表,类似于webpki-roots用于通过HTTPS获取东西,那么您可能需要这些文件。

如果您知道您正在使用特定的发行版、版本或主机系统,您可能应该依赖与该系统一起提供的密钥。

密钥是以rfc4880格式存储的,即字节切片。这是gnupg(及其它许多事物)使用的.gpg格式。您需要一个rfc4880解析器,例如gpg,才能对其执行有用操作。有rust绑定gpgme,或者您可以使用纯rust实现,例如在测试中使用的gpgrv

包含的密钥

Debian密钥,来自debian-archive-keyring 2023.4 (sid)

pub   rsa4096 2019-02-05 [SC] [expires: 2027-02-03]
      6D33866EDD8FFA41C0143AEDDCC9EFBF77E11517
uid                      Debian Stable Release Key (10/buster) <[email protected]>

pub   rsa4096 2019-04-14 [SC] [expires: 2027-04-12]
      80D15823B7FD1561F9F7BCDDDC30D7C23CBBABEE
uid                      Debian Archive Automatic Signing Key (10/buster) <[email protected]>
sub   rsa4096 2019-04-14 [S] [expires: 2027-04-12]

pub   rsa4096 2019-04-14 [SC] [expires: 2027-04-12]
      5E61B217265DA9807A23C5FF4DFAB270CAA96DFA
uid                      Debian Security Archive Automatic Signing Key (10/buster) <[email protected]>
sub   rsa4096 2019-04-14 [S] [expires: 2027-04-12]

pub   rsa4096 2021-01-17 [SC] [expires: 2029-01-15]
      1F89983E0081FDE018F3CC9673A4F27B8DD47936
uid                      Debian Archive Automatic Signing Key (11/bullseye) <[email protected]>
sub   rsa4096 2021-01-17 [S] [expires: 2029-01-15]

pub   rsa4096 2021-01-17 [SC] [expires: 2029-01-15]
      AC530D520F2F3269F5E98313A48449044AAD5C5D
uid                      Debian Security Archive Automatic Signing Key (11/bullseye) <[email protected]>
sub   rsa4096 2021-01-17 [S] [expires: 2029-01-15]

pub   rsa4096 2021-02-13 [SC] [expires: 2029-02-11]
      A4285295FC7B1A81600062A9605C66F00D6C9793
uid                      Debian Stable Release Key (11/bullseye) <[email protected]>

pub   ed25519 2023-01-23 [SC] [expires: 2031-01-21]
      4D64FEC119C2029067D6E791F8D2585B8783D481
uid                      Debian Stable Release Key (12/bookworm) <[email protected]>

pub   rsa4096 2023-01-21 [SC] [expires: 2031-01-19]
      B8B80B5B623EAB6AD8775C45B7C5D7D6350947F8
uid                      Debian Archive Automatic Signing Key (12/bookworm) <[email protected]>
sub   rsa4096 2023-01-21 [S] [expires: 2031-01-19]

pub   rsa4096 2023-01-21 [SC] [expires: 2031-01-19]
      05AB90340C0C5E797F44A8C8254CF3B5AEC0A8F0
uid                      Debian Security Archive Automatic Signing Key (12/bookworm) <[email protected]>
sub   rsa4096 2023-01-21 [S] [expires: 2031-01-19]

许可证

密钥环中的密钥不受任何版权保护。


Ubuntu密钥,来自ubuntu-keyring 2023.11.28.1 (noble)

pub   rsa4096 2012-05-11 [SC]
      790BC7277767219C42C86F933B4FE6ACC0B21F32
uid                      Ubuntu Archive Automatic Signing Key (2012) <[email protected]>

pub   rsa4096 2012-05-11 [SC]
      843938DF228D22F7B3742BC0D94AA3F0EFE21092
uid                      Ubuntu CD Image Automatic Signing Key (2012) <[email protected]>

pub   rsa4096 2018-09-17 [SC]
      F6ECB3762474EDA9D21B7022871920D1991BC93C
uid                      Ubuntu Archive Automatic Signing Key (2018) <[email protected]>

许可证

公有领域。密钥环中的密钥不受任何版权保护。

许可证

这里实际上没有多少代码,因此许可证实际上不适用。

密钥环本身可能也不受许可证约束。两者都明确在其源代码中说明了这一点。

整个crate列为例外的MIT OR Apache-2.0

依赖