]> git.draconx.ca Git - gentoo-draconx.git/commitdiff
app-crypt/jwk2pem: New package.
authorNick Bowler <nbowler@draconx.ca>
Wed, 2 Nov 2022 04:06:35 +0000 (00:06 -0400)
committerNick Bowler <nbowler@draconx.ca>
Wed, 2 Nov 2022 04:06:35 +0000 (00:06 -0400)
app-crypt/jwk2pem/Manifest [new file with mode: 0644]
app-crypt/jwk2pem/jwk2pem-0_p20221101.ebuild [new file with mode: 0644]

diff --git a/app-crypt/jwk2pem/Manifest b/app-crypt/jwk2pem/Manifest
new file mode 100644 (file)
index 0000000..127f675
--- /dev/null
@@ -0,0 +1,2 @@
+DIST scripts-0c65729bc117c5350cd8a602e388a765a41bce4e.tar.xz 18980 BLAKE2B 27c635891d1c7fb97c7c607dac17c1009faf135b87ddd2ca5d1a54a88ddedbf8882a19e2851d237a9ab279fdeaf916be44fc816e9f10df033655a7df5a58da71 SHA512 8f0b781f1121470fc86380f7711d313904a6393f068abb6fec039e823347e212395051e35b39f7a40c378354e7259f12547feade6f02a7ece6c5051883b5ce18
+EBUILD jwk2pem-0_p20221101.ebuild 750 BLAKE2B 6b751afc0a9debd73b21084d923e17bc613fc714fceb5b21e1b448beeea27f621470dc4b3d43ece4bb7c5d49b4d54455f4c9002148838a43475d1b124499d527 SHA512 f9e2eae52fb7342c9df555c832a66d0174c013e896509da3ce3c3d1589f22a678c434e521f0b609a93a81d3c97516db68805272109654d8306f90d1ecb27ec64
diff --git a/app-crypt/jwk2pem/jwk2pem-0_p20221101.ebuild b/app-crypt/jwk2pem/jwk2pem-0_p20221101.ebuild
new file mode 100644 (file)
index 0000000..2f656e6
--- /dev/null
@@ -0,0 +1,30 @@
+# Copyright © 2022 Nick Bowler
+# License GPLv3+: GNU General Public License version 3 or any later version.
+# This is free software: you are free to change and redistribute it.
+# There is NO WARRANTY, to the extent permitted by law.
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_10 )
+
+inherit python-r1
+
+SHA1=0c65729bc117c5350cd8a602e388a765a41bce4e
+
+DESCRIPTION="Convert RSA keys from RFC7517 JWK format to PKCS#1 PEM format"
+SRC_URI="https://git.draconx.ca/gitweb/scripts.git/snapshot/$SHA1.tar.xz -> scripts-$SHA1.tar.xz"
+
+LICENSE="WTFPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+REQUIRED_USE=$PYTHON_REQUIRED_USE
+
+RDEPEND="$PYTHON_DEPS
+       dev-libs/openssl"
+DEPEND=$PYTHON_DEPS
+
+S=$WORKDIR/$SHA1
+
+src_install () {
+       python_foreach_impl python_newscript jwk2pem.py jwk2pem
+}