Project

General

Profile

PIN Secret » History » Version 6

Tobias Brunner, 11.05.2011 13:09

1 2 Martin Willi
h1. PIN Secret
2 1 Martin Willi
3 6 Tobias Brunner
*IKEv1*  uses the format @%smartcard[<slotnr>[:<keyid>]]@ to specify the smartcard selector.  The *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.
4 2 Martin Willi
5 2 Martin Willi
h2. Notation
6 1 Martin Willi
7 3 Tobias Brunner
: PIN _<smartcard selector>_ _<pin code>_ | _%prompt_
8 2 Martin Willi
9 1 Martin Willi
h2. Examples
10 1 Martin Willi
11 1 Martin Willi
<pre>
12 5 Tobias Brunner
: PIN %smartcard1:50
13 6 Tobias Brunner
14 6 Tobias Brunner
# only with IKEv2
15 4 Tobias Brunner
: PIN %smartcard@opensc:45
16 4 Tobias Brunner
</pre>