CSV2PSKC(1) | python-pskc | CSV2PSKC(1) |
csv2pskc - Convert a CSV file to PSKC
csv2pskc [options] [<FILE>]
csv2pskc reads a CSV file where the first line contains column labels and following lines contain key information for one key per line.
Any property of Key instances can be used as well as Policy properties via policy. For example: serial, secret, counter, time_offset, time_interval, interval, time_drift, issuer, manufacturer, response_length, policy.pin_min_length.
This option can either specify a list of columns or a COL:KEY mapping where COL refers to the value found in the first line of the CSV file and KEY refers to a property as described above.
It is possible to map a single column in the CSV file to multiple PSKC properties (e.g. use of id+serial sets both the ID and device serial number to the value found in that column).
In the latter case the --columns option is required.
This can be useful for setting the issuer, manufacturer or other common properties globally.
Arthur de Jong
2014-2022 Arthur de Jong
September 13, 2022 | 1.2 |