summaryrefslogtreecommitdiff
path: root/smcc
diff options
context:
space:
mode:
authorTobias Kellner <tobias.kellner@iaik.tugraz.at>2014-09-18 17:49:20 +0200
committerTobias Kellner <tobias.kellner@iaik.tugraz.at>2014-09-18 19:03:56 +0200
commit90936ea954b4d6eae34ef87aab47a66e6be47449 (patch)
tree4bbc2d354ac5f418fdfc8733b1d5ab6560231983 /smcc
parent7a34b0e3f74448365c19fab8f0457920d8d0f9bb (diff)
downloadmocca-90936ea954b4d6eae34ef87aab47a66e6be47449.tar.gz
mocca-90936ea954b4d6eae34ef87aab47a66e6be47449.tar.bz2
mocca-90936ea954b4d6eae34ef87aab47a66e6be47449.zip
Change transport PIN for e-card activation to 12345
Diffstat (limited to 'smcc')
-rw-r--r--smcc/src/main/java/at/gv/egiz/smcc/STARCOSCard.java2
-rw-r--r--smcc/src/test/resources/at/gv/egiz/smcc/test/ecard/ECardG3ActivateTest.xml3
2 files changed, 3 insertions, 2 deletions
diff --git a/smcc/src/main/java/at/gv/egiz/smcc/STARCOSCard.java b/smcc/src/main/java/at/gv/egiz/smcc/STARCOSCard.java
index e3c0afaf..18595e45 100644
--- a/smcc/src/main/java/at/gv/egiz/smcc/STARCOSCard.java
+++ b/smcc/src/main/java/at/gv/egiz/smcc/STARCOSCard.java
@@ -873,7 +873,7 @@ public class STARCOSCard extends AbstractSignatureCard implements PINMgmtSignatu
NewReferenceDataAPDUSpec apduSpec = new NewReferenceDataAPDUSpec(
new byte[] {
(byte) 0x00, (byte) 0x24, (byte) 0x00, pinInfo.getKID(), (byte) 0x10,
- (byte) 0x26, (byte) 0x12, (byte) 0x34, (byte) 0x56, (byte) 0xff,
+ (byte) 0x25, (byte) 0x12, (byte) 0x34, (byte) 0x5f, (byte) 0xff,
(byte) 0xff, (byte) 0xff, (byte) 0xff,
(byte) 0x20, (byte) 0xff, (byte) 0xff, (byte) 0xff, (byte) 0xff,
(byte) 0xff, (byte) 0xff, (byte) 0xff },
diff --git a/smcc/src/test/resources/at/gv/egiz/smcc/test/ecard/ECardG3ActivateTest.xml b/smcc/src/test/resources/at/gv/egiz/smcc/test/ecard/ECardG3ActivateTest.xml
index 407b146c..8bc39510 100644
--- a/smcc/src/test/resources/at/gv/egiz/smcc/test/ecard/ECardG3ActivateTest.xml
+++ b/smcc/src/test/resources/at/gv/egiz/smcc/test/ecard/ECardG3ActivateTest.xml
@@ -48,7 +48,7 @@
<map>
<entry key="0x01">
<bean parent="kartenPIN">
- <property name="pin" value="26:12:34:56:ff:ff:ff:ff" />
+ <property name="pin" value="25:12:34:5f:ff:ff:ff:ff" />
<property name="state">
<util:constant static-field="at.gv.egiz.smcc.PIN.STATE_PIN_NOTACTIVE" />
</property>
@@ -76,6 +76,7 @@
<property name="state">
<util:constant static-field="at.gv.egiz.smcc.PIN.STATE_PIN_NOTACTIVE" />
</property>
+ <property name="pin" value="25:12:34:5f:ff:ff:ff:ff" />
</bean>
</entry>
</map>