Skip to content

Commit 847f0e7

Browse files
committed
Modify PGP AID, remove secure messaging
1 parent 9af09cf commit 847f0e7

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

applets/SmartPGP

docs/applets/1-pgp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Explaining the theory of public-key cryptography is out of scope, please refer t
66

77
## Applet Information
88

9-
- Repository: https://github.com/ANSSI-FR/SmartPGP
9+
- Repository: https://github.com/ANSSI-FR/SmartPGP (javacard-3.0.4-without-secure-messaging branch)
1010
- Binary name: `SmartPGPApplet-default.cap` and `SmartPGPApplet-large.cap`
1111
- Download: https://github.com/StarGate01/flexsecure-applets/releases
1212
- AID: `d2:76:00:01:24:01:03:04:AF:AF:00:00:00:00:00:00` (has to be adjusted, see below), Package: `d2:76:00:01:24:01`

scripts/compile/res/SmartPGP.build.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@
1212
<target name="build-large">
1313
<replaceregexp file="src/fr/anssi/smartpgp/Constants.java" match="(INTERNAL_BUFFER_MAX_LENGTH\s*=\n\s*\(short\)).*;" replace="\10x730;"/>
1414
<javacard>
15-
<cap output="target/SmartPGPApplet-large.cap" classes="target/large" sources="src" aid="d27600012401" version="1.0">
16-
<applet class="fr.anssi.smartpgp.SmartPGPApplet" aid="d276000124010304AFAF000000000000"/>
15+
<cap output="target/SmartPGPApplet-large.cap" classes="target/large" sources="src" aid="D27600012401" version="1.0">
16+
<applet class="fr.anssi.smartpgp.SmartPGPApplet" aid="D276000124010304000A000000000000"/>
1717
</cap>
1818
</javacard>
1919
</target>
2020

2121
<target name="build-default">
2222
<replaceregexp file="src/fr/anssi/smartpgp/Constants.java" match="(INTERNAL_BUFFER_MAX_LENGTH\s*=\n\s*\(short\)).*;" replace="\10x500;"/>
2323
<javacard>
24-
<cap output="target/SmartPGPApplet-default.cap" classes="target/default" sources="src" aid="d27600012401" version="1.0">
25-
<applet class="fr.anssi.smartpgp.SmartPGPApplet" aid="d276000124010304AFAF000000000000"/>
24+
<cap output="target/SmartPGPApplet-default.cap" classes="target/default" sources="src" aid="D27600012401" version="1.0">
25+
<applet class="fr.anssi.smartpgp.SmartPGPApplet" aid="D276000124010304000A000000000000"/>
2626
</cap>
2727
</javacard>
2828
</target>

0 commit comments

Comments
 (0)