BryanJacobs / FIDO2Applet

FIDO2 Javacard Applet
MIT License
76 stars 15 forks source link

Specify package ID and AID via gradle properties #17

Closed StarGate01 closed 10 months ago

StarGate01 commented 10 months ago

This allows the user to set desired cap IDs and application IDs directly via the command line when invoking Gradle, i.e. ./gradlew -PPackageID='...' -PApplicationID='...' buildJavaCard.

Rationale: Fidesmo only grants a narrow set of AID permissions, which also apply to CAP IDs.

BryanJacobs commented 10 months ago

Thanks!

FYI you can also use a local.properties file instead of remembering what to pass to the gradle command.