Project

General

Profile

PIN Secret » History » Version 6

« Previous - Version 6/10 (diff) - Next » - Current version
Tobias Brunner, 11.05.2011 13:09


PIN Secret

IKEv1 uses the format %smartcard[<slotnr>[:<keyid>]] to specify the smartcard selector. The IKEv2 daemon supports multiple modules (configured in strongswan.conf) with the format %smartcard[<slotnr>[@<module>]]:<keyid>, 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.

Notation

: PIN <smartcard selector> <pin code> | %prompt

Examples

: PIN %smartcard1:50

# only with IKEv2
: PIN %smartcard@opensc:45