PIN Secret » History » Version 6
Version 5 (Tobias Brunner, 25.02.2011 18:48) → Version 6/10 (Tobias Brunner, 11.05.2011 13:09)
h1. PIN Secret
h2. Notation
: PIN _<smartcard selector>_ _<pin code>_ | _%prompt_
*IKEv1* h2. Examples
IKEv1 uses the format @%smartcard[<slotnr>[:<keyid>]]@ to specify the smartcard selector.
<pre>
: PIN %smartcard1:50
</pre>
The *IKEv2* IKEv2 daemon supports multiple modules (configured in [[SmartCardsIKEv2|strongswan.conf]]) with the format <code>%smartcard[<slotnr>[@<module>]]:<keyid></code>,
but always requires a keyid to uniquely select the correct key. Instead of specifying the pin code statically, _%prompt_ can be specified, which causes the daemons to ask the user for the pin code.
h2. Notation
: PIN _<smartcard selector>_ _<pin code>_ | _%prompt_
h2. Examples
<pre>
: PIN %smartcard1:50
# only with IKEv2
: PIN %smartcard@opensc:45
</pre>
h2. Notation
: PIN _<smartcard selector>_ _<pin code>_ | _%prompt_
*IKEv1* h2. Examples
IKEv1 uses the format @%smartcard[<slotnr>[:<keyid>]]@ to specify the smartcard selector.
<pre>
: PIN %smartcard1:50
</pre>
The *IKEv2* IKEv2 daemon supports multiple modules (configured in [[SmartCardsIKEv2|strongswan.conf]]) with the format <code>%smartcard[<slotnr>[@<module>]]:<keyid></code>,
but always requires a keyid to uniquely select the correct key. Instead of specifying the pin code statically, _%prompt_ can be specified, which causes the daemons to ask the user for the pin code.
h2. Notation
: PIN _<smartcard selector>_ _<pin code>_ | _%prompt_
h2. Examples
<pre>
: PIN %smartcard1:50
# only with IKEv2
: PIN %smartcard@opensc:45
</pre>