summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Davies <jpds@protonmail.com>2021-04-26 00:10:41 +0100
committerAnthony G. Basile <blueness@gentoo.org>2021-05-10 19:12:22 -0400
commitb11c4da6f5026c4d68fe94a0f6037648409f7227 (patch)
tree9cd27c60f18bee39418e0af06f5ff90de0c371da /app-crypt
parentsys-devel/rust-std: add bootstrap patch (diff)
downloadgentoo-b11c4da6f5026c4d68fe94a0f6037648409f7227.tar.gz
gentoo-b11c4da6f5026c4d68fe94a0f6037648409f7227.tar.bz2
gentoo-b11c4da6f5026c4d68fe94a0f6037648409f7227.zip
app-crypt/openpgp-keys-tor: Added PGP keys for Tor project.
Signed-off-by: Jonathan Davies <jpds@protonmail.com> Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/openpgp-keys-tor/Manifest2
-rw-r--r--app-crypt/openpgp-keys-tor/metadata.xml8
-rw-r--r--app-crypt/openpgp-keys-tor/openpgp-keys-tor-20210425.ebuild21
3 files changed, 31 insertions, 0 deletions
diff --git a/app-crypt/openpgp-keys-tor/Manifest b/app-crypt/openpgp-keys-tor/Manifest
new file mode 100644
index 000000000000..1ca61f0acddc
--- /dev/null
+++ b/app-crypt/openpgp-keys-tor/Manifest
@@ -0,0 +1,2 @@
+DIST 7A02B3521DC75C542BA015456AFEE6D49E92B601.asc 21639 BLAKE2B 6aa893ed68a06ec546bb6c09202f1fa72a1f9437f683fed9adbdd46d93439465d13e5f8b78b79de1e3b0de33333be8940b8e285b67e34efc4df39e9879c8900c SHA512 e8512c35861caea88148cc16bf8f0df95d9526b1025e263e17dca53f5a9957913f4b3248c00dd61d12b7f823ee9782accc3faf98ac8008473fa74ab7c01d91f2
+DIST EF6E286DDA85EA2A4BA7DE684E2C6E8793298290.asc 21351 BLAKE2B b2225df2f0c345d113d5c138b3e8d5d87ba6019616fd03e7609faeab0df497acfeb7de589ef8ef13d781d10ab9e0d335cb00646ca5c92e98419b610808c8721d SHA512 40bc1add049a3bb02bd1ee7644161f0b60fb2fbe5172998b9e0a14e6fd7ee116905ee4a64c9f23f8f9bdde7b96b7716d4afd9016ae6a28dd761325c556eb92e8
diff --git a/app-crypt/openpgp-keys-tor/metadata.xml b/app-crypt/openpgp-keys-tor/metadata.xml
new file mode 100644
index 000000000000..1597a03e6f39
--- /dev/null
+++ b/app-crypt/openpgp-keys-tor/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>blueness@gentoo.org</email>
+ </maintainer>
+ <stabilize-allarches/>
+</pkgmetadata>
diff --git a/app-crypt/openpgp-keys-tor/openpgp-keys-tor-20210425.ebuild b/app-crypt/openpgp-keys-tor/openpgp-keys-tor-20210425.ebuild
new file mode 100644
index 000000000000..82f183c49de6
--- /dev/null
+++ b/app-crypt/openpgp-keys-tor/openpgp-keys-tor-20210425.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="OpenPGP keys used by the Tor project"
+HOMEPAGE="https://www.torproject.org/"
+SRC_URI="https://keys.openpgp.org/vks/v1/by-fingerprint/EF6E286DDA85EA2A4BA7DE684E2C6E8793298290 -> EF6E286DDA85EA2A4BA7DE684E2C6E8793298290.asc
+ https://keys.openpgp.org/vks/v1/by-fingerprint/7A02B3521DC75C542BA015456AFEE6D49E92B601 -> 7A02B3521DC75C542BA015456AFEE6D49E92B601.asc"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
+
+S="${WORKDIR}"
+
+src_install() {
+ local files=( ${A} )
+ insinto /usr/share/openpgp-keys
+ newins - torproject.org.asc < <(cat "${files[@]/#/${DISTDIR}/}" || die)
+}