diff options
author | Timo Teräs <timo.teras@iki.fi> | 2018-08-14 18:21:00 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2018-08-14 18:21:26 +0300 |
commit | 025a99f44e304683267ffaef106fe12bac5655ff (patch) | |
tree | a16659f52b94c8bfcba3c324cf330e77561edd1a /community/opensc | |
parent | 8852ef767a6e5ef545f85dae7663c87e3f3d520a (diff) | |
download | aports-025a99f44e304683267ffaef106fe12bac5655ff.tar.bz2 aports-025a99f44e304683267ffaef106fe12bac5655ff.tar.xz |
community/opensc: add brainpoolP384r1 oid
Diffstat (limited to 'community/opensc')
-rw-r--r-- | community/opensc/APKBUILD | 4 | ||||
-rw-r--r-- | community/opensc/add-ecc-curves.patch | 12 |
2 files changed, 15 insertions, 1 deletions
diff --git a/community/opensc/APKBUILD b/community/opensc/APKBUILD index 355667684a..c1909358e9 100644 --- a/community/opensc/APKBUILD +++ b/community/opensc/APKBUILD @@ -3,7 +3,7 @@ pkgname=opensc _realname=OpenSC pkgver=0.17.0 -pkgrel=3 +pkgrel=4 pkgdesc="Open source smart card tools and middleware" url="https://github.com/OpenSC/OpenSC" arch="all" @@ -14,6 +14,7 @@ makedepends="$depends_dev automake autoconf m4 gettext libtool" install="" subpackages="$pkgname-dev $pkgname-doc" source="$_realname-${pkgver}.tar.gz::https://github.com/OpenSC/OpenSC/archive/${pkgver}.tar.gz + add-ecc-curves.patch libressl-2.7.patch" builddir="$srcdir/$_realname-$pkgver" @@ -45,4 +46,5 @@ package() { } sha512sums="1576a9ca58e80c95b23bf53fba03b14b174361c054a3e836bcfbe96765308a2ba807b819e0d617707fdef32ce2e3ae1ab74766bc1e82eeaf218d48a18ec8e67f OpenSC-0.17.0.tar.gz +c78cd58f58eca6db17a093157c20b8eb3457fffc04e3849c7a3cf7f476b84c49686c7815dafbf82df7f48aebc4169b2ac0621d47f41f0157fec3af3d48d51cfb add-ecc-curves.patch bde4acf9bbb988f93a3f7f6d63ae451593174ed8e901028db3e69c29e02f4b9b409e8dc09aa9f73cae7c1fc71ab64b78d50f1f865967c309d151bcefa25d19f3 libressl-2.7.patch" diff --git a/community/opensc/add-ecc-curves.patch b/community/opensc/add-ecc-curves.patch new file mode 100644 index 0000000000..9d88a1c33d --- /dev/null +++ b/community/opensc/add-ecc-curves.patch @@ -0,0 +1,12 @@ +diff --git a/src/tools/pkcs11-tool.c b/src/tools/pkcs11-tool.c +index 63e5c5f7..7845c99f 100644 +--- a/src/tools/pkcs11-tool.c ++++ b/src/tools/pkcs11-tool.c +@@ -109,6 +109,7 @@ static struct ec_curve_info { + {"brainpoolP224r1", "1.3.36.3.3.2.8.1.1.5", "06092B2403030208010105", 224}, + {"brainpoolP256r1", "1.3.36.3.3.2.8.1.1.7", "06092B2403030208010107", 256}, + {"brainpoolP320r1", "1.3.36.3.3.2.8.1.1.9", "06092B2403030208010109", 320}, ++ {"brainpoolP384r1", "1.3.36.3.3.2.8.1.1.11", "06092B240303020801010B", 384}, + + {"secp192k1", "1.3.132.0.31", "06052B8104001F", 192}, + {"secp256k1", "1.3.132.0.10", "06052B8104000A", 256}, |