Package: opensc Version: 0.13.0-3 Severity: important Tags: patch Running pkcs15-init -C with an Aventra MyEID results in the error:
Couldn't bind to the card: Syntax error Editing /usr/share/opensc/myeid.profile fixes the problem, based on the upstream bug report and fix: Origin: https://github.com/OpenSC/OpenSC/commit/58679a5 Bug: https://github.com/OpenSC/OpenSC/issues/120 The current patch applies with 'git am' on top of 0.13.0-3. .hc
From ddb0262aff5b5d7d484325b07322b50c32286c62 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner <h...@eds.org> Date: Tue, 18 Mar 2014 21:48:38 -0400 Subject: [PATCH 1/2] include fix for Aventra MyEID --- .../patches/Fixed-file-id-in-myeid.profile.patch | 28 ++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 29 insertions(+) create mode 100644 debian/patches/Fixed-file-id-in-myeid.profile.patch create mode 100644 debian/patches/series diff --git a/debian/patches/Fixed-file-id-in-myeid.profile.patch b/debian/patches/Fixed-file-id-in-myeid.profile.patch new file mode 100644 index 0000000..44b39b4 --- /dev/null +++ b/debian/patches/Fixed-file-id-in-myeid.profile.patch @@ -0,0 +1,28 @@ +From: =?UTF-8?q?Toni=20Sj=C3=B6blom?= <developm...@aventra.fi> +Date: Fri, 18 Jan 2013 16:26:36 +0200 +Subject: [PATCH 1/1] Fixed file-id in myeid.profile +Origin: https://github.com/OpenSC/OpenSC/commit/58679a5 +Bug: https://github.com/OpenSC/OpenSC/issues/120 +Forwarded: not-needed +Applied-Upstream: 58679a5df13d45a13fc35b29ce10511218fcbaae + +--- + src/pkcs15init/myeid.profile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/pkcs15init/myeid.profile b/src/pkcs15init/myeid.profile +index 46ae44c..8b84c95 100644 +--- a/src/pkcs15init/myeid.profile ++++ b/src/pkcs15init/myeid.profile +@@ -201,7 +201,7 @@ filesystem { + acl = READ=$PIN, UPDATE=$PIN, DELETE=$PIN; + } + EF data { +- file-id = 4501; ++ file-id = 4601; + structure = transparent; + acl = READ=NONE, UPDATE=$PIN, DELETE=$PIN; + } +-- +1.7.9.5 + diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..2672985 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +Fixed-file-id-in-myeid.profile.patch -- 1.7.9.5
signature.asc
Description: OpenPGP digital signature