pskc2csv¶
Synopsis¶
pskc2csv [options] <FILE>
Description¶
pskc2csv reads a PSKC file, optionally decrypts any encrypted key material and outputs a CSV file with information from the PSKC file.
Options¶
-
-h,--help¶ Display usage summary.
-
-V,--version¶ Display version information.
-
-oFILE,--outputFILE¶ By default pskc2csv writes a CSV file to stdout. This option can be used to save the CSV to a file instead.
-
-cCOL:LABEL,COL,..,--columnsCOL:LABEL,COL,..¶ Specify the columns that should be written to the CSV file. Any property of
Keyinstances can be used as well asPolicyproperties viapolicy.For example:
serial,secret,counter,time_offset,time_interval,interval,time_drift,issuer,manufacturer,response_length,policy.pin_min_length.By default
serial,secret,algorithm,response_length,time_intervalis used.The column can be followed by an optional label to use in the CSV file in place of the column specification.
-
-pPASS/FILE,--passwordPASS/FILE,--passwdPASS/FILE¶ The password to use for decryption. If the argument refers to a file the password is read from the file instead.
-
-sKEY/FILE,--secretKEY/FILE¶ A hex encoded encryption key or a file containing the binary (raw data, not encoded) key.
-
-eENCODING,--secret-encodingENCODING¶ Specify the encoding to use for writing key material to the CSV file. By default HEX encoding is used. Valid encodings are:
base32,base64orhex.