I recently received a replacement smartcard and a RS232 based smartcard reader from Genesi. This time I managed not to brick the cards while setting things up. gentoo seems to have good support for the cards via pcsc-lite and opensc. I was able to accomplish a lot in just a few hours of hacking.

  1. local login support
  2. ssh/ssh-agent support
  3. xscreensaver support
  4. general PAM support(smartcard can be used in place of any PAM password)

The only thing I wish for is some agent to cache my pin number. I suppose I’ll hack out some sort of pam-agent.

Thanks go to Pieter of genesi for sending me more gear.