'\" t
.\" Title: dtrust-tool
.\" Author: [see the "Authors" section]
.\" Generator: DocBook XSL Stylesheets vsnapshot
.\" Date: 01/14/2025
.\" Manual: OpenSC Tools
.\" Source: opensc
.\" Language: English
.\"
.TH "DTRUST\-TOOL" "1" "01/14/2025" "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"
dtrust-tool \- displays information about D\-Trust signature cards and remove the transport protection
.SH "SYNOPSIS"
.HP \w'\fBdtrust\-tool\fR\ 'u
\fBdtrust\-tool\fR [\fIOPTIONS\fR]
.SH "DESCRIPTION"
.PP
The
\fBdtrust\-tool\fR
utility is used to display information about D\-Trust signature cards and to remove the initial transport protection\&.
.SH "OPTIONS"
.PP
.PP
\fB\-\-check\-transport\-protection\fR, \fB\-c\fR
.RS 4
In the delivery state the card is locked by a so called transport protection\&. This option allows to check if the transport protection is still in force\&. The Signature PIN can only be used if the transport protection is removed\&.
.sp
Initially the transport protection should be intact\&. If you receive a new card and the transport protection was already broken, don\*(Aqt use that card and contact the producer for further advice\&.
.sp
If you removed the transport protection, it is normal that
\fBdtrust\-tool\fR
reports the transport protection as broken\&. This is the normal operation state\&. It does not mean your card is broken\&.
.RE
.PP
\fB\-\-help\fR, \fB\-h\fR
.RS 4
Print help message on screen\&.
.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\-\-pin\-status\fR, \fB\-s\fR
.RS 4
Show the status of the various PINs\&. The Card Holder PIN is used for advanced signatures and decryption\&. It is only defined for signature cards, but not for sealing cards\&. The signature PIN is used for qualified signatures\&. It can only be used if it is unlocked by presenting the Transport PIN\&. Once the Transport PIN is used, it cannot be used anymore\&. The PUK is used to unlock PIN which had beend entered incorrectly several times\&.
.RE
.PP
\fB\-\-unlock\-transport\-protection\fR, \fB\-u\fR
.RS 4
This command removes the transport protection\&. If first queries for the Transport PIN and then for the new value of the Signature PIN twice\&.
.RE
.PP
\fB\-\-verbose\fR, \fB\-v\fR
.RS 4
Causes
\fBdtrust\-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
\fBdtrust\-tool\fR
to wait for the token to be inserted into reader\&.
.RE
.SH "AUTHORS"
.PP
\fBdtrust\-tool\fR
was written by Mario Haustein
\&.