westcos-tool version (return code: 0)
No smart card readers found.
westcos-tool --help (return code: 2)
Usage: westcos-tool [OPTIONS]
Options:
-r, --reader <arg> Uses reader number <arg> [0]
-w, --wait Wait for card insertion
-g, --generate-key Generate key 1536 default
-o, --overwrite-key Overwrite key if already exist
-l, --key-length <arg> Key length <arg> [512,1024,1536]
-i, --install-pin Install pin
-x, --pin-value <arg> Pin value <arg>
-y, --puk-value <arg> Puk value <arg>
-n, --change-pin Change pin (new pin in puk value)
-u, --unblock-pin Unblock pin
-t, --certificate <arg> Write certificate <arg> (in pem format)
-f, --finalize Finalize card(!!! MANDATORY FOR SECURITY !!!)
-j, --read-file <arg> Read file <arg>
-k, --write-file <arg> Write file <arg> (ex 0002 write file 0002 to 0002)
-h, --help This message
-v, --verbose Verbose operation. Use several times to enable debug output.