diff options
author | Sam James <sam@gentoo.org> | 2022-11-01 20:12:34 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-11-01 20:15:14 +0000 |
commit | 85129fd95496ff338c5911b9b6c2c5733d63605f (patch) | |
tree | 27133e24897d010169b4a43606b5245b69e429e5 /sec-keys/openpgp-keys-openssl/openpgp-keys-openssl-20221101.ebuild | |
parent | sys-kernel/vanilla-sources: add 5.4.222, drop 5.4.221 (diff) | |
download | gentoo-85129fd95496ff338c5911b9b6c2c5733d63605f.tar.gz gentoo-85129fd95496ff338c5911b9b6c2c5733d63605f.tar.bz2 gentoo-85129fd95496ff338c5911b9b6c2c5733d63605f.zip |
sec-keys/openpgp-keys-openssl: add 20221101
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sec-keys/openpgp-keys-openssl/openpgp-keys-openssl-20221101.ebuild')
-rw-r--r-- | sec-keys/openpgp-keys-openssl/openpgp-keys-openssl-20221101.ebuild | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/sec-keys/openpgp-keys-openssl/openpgp-keys-openssl-20221101.ebuild b/sec-keys/openpgp-keys-openssl/openpgp-keys-openssl-20221101.ebuild new file mode 100644 index 000000000000..a74cc406ce37 --- /dev/null +++ b/sec-keys/openpgp-keys-openssl/openpgp-keys-openssl-20221101.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="OpenPGP keys used by OpenSSL" +HOMEPAGE="https://www.openssl.net/" + +# See the following: +# - https://www.openssl.org/source/ +# - https://www.openssl.org/community/otc.html +# - https://www.openssl.org/community/omc.html +# Mirrored from https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x8657ABB260F056B1E5190839D9C4D26D0E604491 etc (unstable results) +# ``` +# gpg --homedir=/tmp/tmp-gpg --keyserver keyserver.ubuntu.com --recv-keys "${OSSL_FINGERPRINTS[@]}" || exit 1 +# +#for key in "${OSSL_FINGERPRINTS[@]}" ; do +# gpg --homedir=/tmp/tmp-gpg --export "${key}" > openssl-keys-20221101-${key}.asc +#done +# ``` +# +# https://github.com/openssl/openssl/issues/19566 +# https://github.com/openssl/openssl/issues/19567 + +OSSL_FINGERPRINTS=( + # Matt Caswell <matt@openssl.org> + 5B2545DAB21995F4088CEFAA36CEE4DEB00CFE33 + + # Paul Dale <pauli@openssl.org> + 8657ABB260F056B1E5190839D9C4D26D0E604491 + + # Tim Hudson <tjh@openssl.org> + B7C1C14360F353A36862E4D5231C84CDDCC69C45 + + # Hugo Landau <hlandau@openssl.org> + 95A9908DDFA16830BE9FB9003D30A3A9FF1360DC + + # Tomas Mraz <tomas@openssl.org> + A21FAB74B0088AA361152586B8EF1A6BA9DA2D5C + + # Richard Levitte <levitte@openssl.org> + C1F33DD8CE1D4CC613AF14DA9195C48241FBF7DD + + # Kurt Roeckx <kurt@openssl.org> + E5E52560DD91C556DDBDA5D02064C53641C25E5D +) + +ossl_key= +for ossl_key in "${OSSL_FINGERPRINTS[@]}" ; do + SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/openssl-keys-${PV}-${ossl_key}.asc" +done +unset ossl_key + +S="${WORKDIR}" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +src_install() { + local files=( ${A} ) + insinto /usr/share/openpgp-keys + newins - openssl.org.asc < <(cat "${files[@]/#/${DISTDIR}/}" || die) +} |