'\" t
.\" Title: cardos-tool
.\" Author: [see the "Authors" section]
.\" Generator: DocBook XSL Stylesheets vsnapshot
.\" Date: 03/10/2024
.\" Manual: OpenSC Tools
.\" Source: opensc
.\" Language: English
.\"
.TH "CARDOS\-TOOL" "1" "03/10/2024" "opensc" "OpenSC Tools"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
cardos-tool \- displays information about Card OS\-based security tokens or format them
.SH "SYNOPSIS"
.HP \w'\fBcardos\-tool\fR\ 'u
\fBcardos\-tool\fR [\fIOPTIONS\fR]
.SH "DESCRIPTION"
.PP
The
\fBcardos\-tool\fR
utility is used to display information about smart cards and similar security tokens based on Siemens Card/OS M4\&.
.SH "OPTIONS"
.PP
.PP
\fB\-\-format\fR, \fB\-f\fR
.RS 4
Format the card or token\&.
.RE
.PP
\fB\-\-help\fR, \fB\-h\fR
.RS 4
Print help message on screen\&.
.RE
.PP
\fB\-\-info\fR, \fB\-i\fR
.RS 4
Display information about the card or token\&.
.RE
.PP
\fB\-\-reader\fR \fIarg\fR, \fB\-r\fR \fIarg\fR
.RS 4
Number of the reader to use\&. By default, the first reader with a present card is used\&. If
\fIarg\fR
is an ATR, the reader with a matching card will be chosen\&.
.RE
.PP
\fB\-\-startkey\fR \fIarg\fR, \fB\-s\fR \fIarg\fR
.RS 4
Specify startkey for format\&.
.RE
.PP
\fB\-\-change\-startkey\fR \fIarg\fR, \fB\-S\fR \fIarg\fR
.RS 4
Change Startkey with given APDU command\&.
.RE
.PP
\fB\-\-verbose\fR, \fB\-v\fR
.RS 4
Causes
\fBcardos\-tool\fR
to be more verbose\&. Specify this flag several times to enable debug output in the opensc library\&.
.RE
.PP
\fB\-\-wait\fR, \fB\-w\fR
.RS 4
Causes
\fBcardos\-tool\fR
to wait for the token to be inserted into reader\&.
.RE
.SH "AUTHORS"
.PP
\fBcardos\-tool\fR
was written by Andreas Jellinghaus
\&.