[pkg-opensc-commit] [SCM] OpenSC packaging branch, etch, updated. a85b848b94d2b4876e0773a9dac58ea16bd90566

Eric Dorland eric at debian.org
Mon Sep 1 03:39:15 UTC 2008


The following commit has been merged in the etch branch:
commit a85b848b94d2b4876e0773a9dac58ea16bd90566
Author: Eric Dorland <eric at debian.org>
Date:   Sat Aug 30 15:09:17 2008 -0400

    src/tools/pkcs15-tool.c: Small fix to the previous security vulnerability to remove a strict check for the default card label.

diff --git a/debian/changelog b/debian/changelog
index 6b32b0c..5511180 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+opensc (0.11.1-2etch2) stable-security; urgency=critical
+
+  * src/tools/pkcs15-tool.c: Small fix to the previous security
+    vulnerability to remove a strict check for the default card label.
+
+ -- Eric Dorland <eric at debian.org>  Sat, 30 Aug 2008 15:07:29 -0400
+
 opensc (0.11.1-2etch1) stable-security; urgency=critical
 
   * src/libopensc/card-cardos.c, src/tools/pkcs15-tool.c: Patch to fix
diff --git a/src/tools/pkcs15-tool.c b/src/tools/pkcs15-tool.c
index f953f07..8aed88b 100644
--- a/src/tools/pkcs15-tool.c
+++ b/src/tools/pkcs15-tool.c
@@ -1184,12 +1184,6 @@ static int test_update(sc_card_t *in_card)
                 goto end;
         }
 
-        if (strcmp("OpenSC Card",p15card->label) != 0) {
-		printf("not initialized by opensc, card is fine.");
-		rc = 0;
-                goto end;
-        }
-
 	/* first select file on 5015 and get fci */
 	sc_format_apdu(in_card, &apdu, SC_APDU_CASE_4_SHORT, 0xa4, 0x08, 0x00);
 	apdu.lc = sizeof(cmd1);

-- 
OpenSC packaging



More information about the pkg-opensc-commit mailing list