Skip to content

suut/OpenFIPS201-tool

Repository files navigation

OpenFIPS201 v2.0.0 configuration tool

This is an all-in-one administrative configuration tool for the open-source OpenFIPS201 v2.0.0 PIV applet.

All commands are sent on the GlobalPlatform SCP03 secure channel, with command and response MAC and encryption.

Features

Feature Implementation status
Create initial structure Done (1)
Create key slot Done
Load arbitrary config file Done
Set PIN and PUK Done
Set admin key 9B Done
Generate asymmetric key pair Done
Import key Done
Load certificate Done
Generate certificate signing request Done
Generate self-signed certificate Done
Secure the applet Done
Secure messaging CS2/CS7 management Untested
  1. ACLs, PIN lengths, PIN retries, etc. are personalizable by modifying the files in config-files/.
    PIN length is by default 4 to 8 digits, PUK is 8 digits; 3 retries for PIN, 9 retries for PUK. See custom config for more details on customizing the initialization.

Applet installation

Install a prebuilt applet .cap file from prebuilt-applet/ or build the applet yourself, changing APPLICATION_LABEL in src-platform/jc305/org/openfips201/applet/Platform.java if you are not building for a P71D600 target (NXP J3R452).

Then install the applet with the CardReset privilege as required by the specification:

java -jar gp.jar --install OpenFIPS201-v2.0-jc3.0.5-jdk11.cap --privs CardReset

Tool installation, usage and recipes

About

User-friendly configuration tool for OpenFIPS201 v2.0.0

Topics

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Contributors

Languages