~~META: status = done &relation firstimage = :project:cryptotoken.jpg ~~
The aim of the project is to explore uses of cryptographic tokens, starting with Feitian ePass 2003. At first basic features like use for SSH and GnuPG, later possibly extended options provided by OpenSC and PKCS#11 interface - e.g. code signing, TLS client certificates.
Workshop took place in February. Few notes below.
The token offers multiple interfaces:
~/.ssh/config
- PKCS11Provider option (OpenSSH 5.5p1 or later recommended)/etc/pam.d/
config file (e.g. sudo)OpenSC >= 0.13.0 required. Check OpenSC on github for recent fixes, I've commited some to upstream.
Other tutorials on gooze.eu.
GnuPG support is kind of hackish, PKCS#11 mostly works except for replug bug - if token is replugged while long-running app like Firefox or gpg-agent is still running, it won't get reinitialized correctly. The OpenSC driver should reissue SCP-01 handshake after ATR, but doesn't.
The Yubikey Neo with NFC seems interesting, too. It's the standard Yubikey with NFC NDEF type 4 tags and Mifare classic interface. Applications:
Issues:
Yubikey has its own PAM module pam_yubico which is quite configurable. E.g. it can provide two-factor auth or replacing passwords with OTP.