.\" Man page generated from reStructuredText. . .TH "PSKC2CSV" "1" "Aug 28, 2019" "1.1" "python-pskc" .SH NAME pskc2csv \- Convert a PSKC file to CSV . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .SH SYNOPSIS .sp \fBpskc2csv\fP [\fIoptions\fP] <\fIFILE\fP> .SH DESCRIPTION .sp \fBpskc2csv\fP reads a PSKC file, optionally decrypts any encrypted key material and outputs a CSV file with information from the PSKC file. .SH OPTIONS .INDENT 0.0 .TP .B \-h, \-\-help Display usage summary. .UNINDENT .INDENT 0.0 .TP .B \-V, \-\-version Display version information. .UNINDENT .INDENT 0.0 .TP .B \-o FILE, \-\-output FILE By default \fBpskc2csv\fP writes a CSV file to stdout. This option can be used to save the CSV to a file instead. .UNINDENT .INDENT 0.0 .TP .B \-c COL:LABEL,COL,.., \-\-columns COL:LABEL,COL,.. Specify the columns that should be written to the CSV file. Any property of \fBKey\fP instances can be used as well as \fBPolicy\fP properties via \fBpolicy\fP\&. .sp For example: \fBserial\fP, \fBsecret\fP, \fBcounter\fP, \fBtime_offset\fP, \fBtime_interval\fP, \fBinterval\fP, \fBtime_drift\fP, \fBissuer\fP, \fBmanufacturer\fP, \fBresponse_length\fP, \fBpolicy.pin_min_length\fP\&. .sp By default \fBserial,secret,algorithm,response_length,time_interval\fP is used. .sp The column can be followed by an optional label to use in the CSV file in place of the column specification. .UNINDENT .INDENT 0.0 .TP .B \-p PASS/FILE, \-\-password PASS/FILE, \-\-passwd PASS/FILE The password to use for decryption. If the argument refers to a file the password is read from the file instead. .UNINDENT .INDENT 0.0 .TP .B \-s KEY/FILE, \-\-secret KEY/FILE A hex encoded encryption key or a file containing the binary (raw data, not encoded) key. .UNINDENT .INDENT 0.0 .TP .B \-e ENCODING, \-\-secret\-encoding ENCODING Specify the encoding to use for writing key material to the CSV file. By default HEX encoding is used. Valid encodings are: \fBbase32\fP, \fBbase64\fP or \fBhex\fP\&. .UNINDENT .SH AUTHOR Arthur de Jong .SH COPYRIGHT 2014-2019 Arthur de Jong .\" Generated by docutils manpage writer. .