Skip to content

Commit

Permalink
Imported Upstream version 0.12.0+svn5273
Browse files Browse the repository at this point in the history
  • Loading branch information
marschap committed Mar 29, 2011
1 parent 8823233 commit b49b971
Show file tree
Hide file tree
Showing 37 changed files with 487 additions and 407 deletions.
2 changes: 1 addition & 1 deletion doc/tools/netkey-tool.xml
Expand Up @@ -82,7 +82,7 @@
<para>If you specify the global PIN via the <option>--pin</option> option, <para>If you specify the global PIN via the <option>--pin</option> option,
<command>netkey-tool</command> will also display the initial value of the cards <command>netkey-tool</command> will also display the initial value of the cards
global PUK. If your global PUK was changed <command>netkey-tool</command> will still global PUK. If your global PUK was changed <command>netkey-tool</command> will still
diplay its initial value. There's no way to recover a lost global PUK once it was changed. display its initial value. There's no way to recover a lost global PUK once it was changed.
There's also no way to display the initial value of your global PUK without knowing the There's also no way to display the initial value of your global PUK without knowing the
current value of your global PIN. </para> current value of your global PIN. </para>


Expand Down
38 changes: 17 additions & 21 deletions doc/tools/westcos-tool.xml
Expand Up @@ -8,8 +8,8 @@


<refnamediv> <refnamediv>
<refname>westcos-tool</refname> <refname>westcos-tool</refname>
<refpurpose>utility for manipulating data structure <refpurpose>utility for manipulating data structures
on westcos smart card and similar security tokens</refpurpose> on westcos smart cards</refpurpose>
</refnamediv> </refnamediv>


<refsect1> <refsect1>
Expand All @@ -34,13 +34,9 @@
<para> <para>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term> <term><option>--reader, r</option> num</term>
<option>--reader</option> num,
<option>-r</option> num
</term>
<listitem><para> <listitem><para>
Use the given reader number. The default Use the given reader. The default is the first reader with a card.
is 0, the first reader in the system.
</para></listitem> </para></listitem>
</varlistentry> </varlistentry>


Expand All @@ -52,14 +48,14 @@
<varlistentry> <varlistentry>
<term><option>--generate-key, -g</option></term> <term><option>--generate-key, -g</option></term>
<listitem><para>Generate a private key on smart card. The smart card must be <listitem><para>Generate a private key on smart card. The smart card must be
not finalized and pin installed (ig. file for pin must be created, see option not finalized and a PIN must be installed (ie. file for PIN must be created, see option
-i). By default key length is 1536 bits. User authentication is required for -i). By default key length is 1536 bits. User authentication is required for
this operation. </para></listitem> this operation. </para></listitem>
</varlistentry> </varlistentry>


<varlistentry> <varlistentry>
<term><option>--overwrite-key, -o</option></term> <term><option>--overwrite-key, -o</option></term>
<listitem><para>Otherwrite key if they are already a key on card.</para></listitem> <listitem><para>Overwrite the key if there is already a key on card.</para></listitem>
</varlistentry> </varlistentry>


<varlistentry> <varlistentry>
Expand All @@ -73,7 +69,7 @@


<varlistentry> <varlistentry>
<term><option>--install-pin, -i</option></term> <term><option>--install-pin, -i</option></term>
<listitem><para>Install pin file in token, you must provide pin value <listitem><para>Install PIN file in token, you must provide PIN value
with <option>-x</option>.</para></listitem> with <option>-x</option>.</para></listitem>
</varlistentry> </varlistentry>


Expand All @@ -82,15 +78,15 @@
<option>--pin-value</option> value, <option>--pin-value</option> value,
<option>-x</option> value <option>-x</option> value
</term> </term>
<listitem><para>set value of pin.</para></listitem> <listitem><para>set value of PIN.</para></listitem>
</varlistentry> </varlistentry>


<varlistentry> <varlistentry>
<term> <term>
<option>--puk-value</option> value, <option>--puk-value</option> value,
<option>-y</option> value <option>-y</option> value
</term> </term>
<listitem><para>set value of puk (or value of new pin for change pin <listitem><para>set value of PUK (or value of new PIN for change PIN
command see <option>-n</option>).</para></listitem> command see <option>-n</option>).</para></listitem>
</varlistentry> </varlistentry>


Expand All @@ -102,25 +98,25 @@


<varlistentry> <varlistentry>
<term><option>--unblock-pin, -u</option></term> <term><option>--unblock-pin, -u</option></term>
<listitem><para>Unblocks a PIN stored on the token. Knowledge of the Pin <listitem><para>Unblocks a PIN stored on the token. Knowledge of the
Unblock Key (PUK) is required for this operation.</para></listitem> PIN Unblock Key (PUK) is required for this operation.</para></listitem>
</varlistentry> </varlistentry>


<varlistentry> <varlistentry>
<term> <term>
<option>--certificat</option> file, <option>--certificate</option> file,
<option>-t</option> file <option>-t</option> file
</term> </term>
<listitem><para>Write certificate file in pem format on the <listitem><para>Write certificate file in PEM format to the
card. User authentication is required for this operation.</para></listitem> card. User authentication is required for this operation.</para></listitem>
</varlistentry> </varlistentry>


<varlistentry> <varlistentry>
<term><option>--finalize, -f</option></term> <term><option>--finalize, -f</option></term>
<listitem><para>Finalize the card, once finalize default key is invalidate so pin and puk <listitem><para>Finalize the card. Once finalized the default key is invalidated so PIN and PUK
can'be changed anymore without user authentification. Warning, smart cards not finalized are can't be changed anymore without user authentication. Warning,
unsecure because pin can be changed without user authentification (knowledge of default key un-finalized are insecure because PIN can be changed without user authentication (knowledge of default key
is enougth).</para></listitem> is enough).</para></listitem>
</varlistentry> </varlistentry>


<varlistentry> <varlistentry>
Expand Down

0 comments on commit b49b971

Please sign in to comment.