Skip to content

ACR support removed? #279

@z3ntu

Description

@z3ntu

Hi, I've noticed that in recent versions the ACR support was removed, gp -acr-add, gp -acr-delete, gp -acr-list-aram and friends. I've found commit e41c8e9 but the repository linked there (https://github.com/martinpaljak/seac) doesn't exist.

ACR support from v20.04.14 works pretty well, just -acr-delete needs a small fix to work

diff --git a/tool/src/main/java/pro/javacard/gp/GPTool.java b/tool/src/main/java/pro/javacard/gp/GPTool.java
index 68fea41..c06969b 100644
--- a/tool/src/main/java/pro/javacard/gp/GPTool.java
+++ b/tool/src/main/java/pro/javacard/gp/GPTool.java
@@ -564,7 +564,7 @@ public final class GPTool extends GPCommandLineInterface {
 
                     AID aid = null;
                     if (args.has(OPT_APPLET)) {
-                        aid = AID.fromString(OPT_APPLET);
+                        aid = AID.fromString(args.valueOf(OPT_APPLET));
                     }
 
                     byte[] hash = null;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions