WESTCOS-TOOL(1) | OpenSC Tools | WESTCOS-TOOL(1) |
westcos-tool - utility for manipulating data structures on westcos smart cards
westcos-tool [OPTIONS]
The westcos-tool utility is used to manipulate the westcos data structures on 2 Ko smart cards / tokens. Users can create PINs, keys and certificates stored on the card / token. User PIN authentication is performed for those operations that require it.
--change-pin, -n
--certificate file, -t file
--finalize, -f
Warning, un-finalized cards are insecure because the PIN can be changed without user authentication (knowledge of default key is enough).
--generate-key, -g
--help, -h
--install-pin, -i
--key-length length, -l length
--overwrite-key, -o
--pin-value pin, -x pin --puk-value puk, -y puk
Note that on most operation systems, any user can display the command line of any process on the system using utilities such as ps(1). Therefore, you should prefer passing the codes via an environment variable on an unsecured system.
--read-file filename, -j filename
--reader arg, -r arg
--unblock-pin, -u
--verbose -v
--wait, -w
--write-file filename, -k filename
westcos-tool was written by Francois Leblanc <francois.leblanc@cev-sa.com>.
11/08/2023 | opensc |