Skip to content

Commit

Permalink
Modify PGP AID, remove secure messaging
Browse files Browse the repository at this point in the history
  • Loading branch information
StarGate01 committed Aug 1, 2022
1 parent 9af09cf commit 847f0e7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion applets/SmartPGP
2 changes: 1 addition & 1 deletion docs/applets/1-pgp.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Explaining the theory of public-key cryptography is out of scope, please refer t

## Applet Information

- Repository: https://github.com/ANSSI-FR/SmartPGP
- Repository: https://github.com/ANSSI-FR/SmartPGP (javacard-3.0.4-without-secure-messaging branch)
- Binary name: `SmartPGPApplet-default.cap` and `SmartPGPApplet-large.cap`
- Download: https://github.com/StarGate01/flexsecure-applets/releases
- 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`
Expand Down
8 changes: 4 additions & 4 deletions scripts/compile/res/SmartPGP.build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@
<target name="build-large">
<replaceregexp file="src/fr/anssi/smartpgp/Constants.java" match="(INTERNAL_BUFFER_MAX_LENGTH\s*=\n\s*\(short\)).*;" replace="\10x730;"/>
<javacard>
<cap output="target/SmartPGPApplet-large.cap" classes="target/large" sources="src" aid="d27600012401" version="1.0">
<applet class="fr.anssi.smartpgp.SmartPGPApplet" aid="d276000124010304AFAF000000000000"/>
<cap output="target/SmartPGPApplet-large.cap" classes="target/large" sources="src" aid="D27600012401" version="1.0">
<applet class="fr.anssi.smartpgp.SmartPGPApplet" aid="D276000124010304000A000000000000"/>
</cap>
</javacard>
</target>

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

0 comments on commit 847f0e7

Please sign in to comment.