TechDocs/CardHowtos/CardreaderSetup_(hotplug)

Deletion candidate

This page is is either off topic, has a low overall quality, or is simply outdated and will be deleted soon. If you still need this page, please contact the WikiCaretakers and explain what this page is for. Please do not remove this notice from the page.

Reason:

  • This page is outdated

Alexander Finkenberger, Karsten Gerloff, Fernanda Weiden, Georg Greve - Monday 28 November 2005

This howto describes how to set up your smart card reader for use with the Fellowship crypto card on GNU/Linux systems using hotplug functionality.

Please Note This is only an introductory document, aimed at a generic hard- and software setting involving GNU/Linux. For a full-length description please see the full-length Fellowship crypto card Howto. If you run into problems specific to your GnuPG setup, you may want to read other GnuPG Howtos.

First of all, you will need to download two files for hotplug and copy them to the hotplug configuration directory, in order to let it identify your card reader:

Now, open a terminal and become root (you will be asked for your root password):

 $ su -

On Ubuntu systems, you should run (and then you will be asked for the user password):

  $ sudo su -

Then you will have to move the files from the directory you have saved them to, to the hotplug configuration directory:

 # cd /home/directory/where/you/saved/the/file (change for the right path)
 # cp gnupg-ccid.usermap /etc/hotplug/usb/gnupg-ccid.usermap
 # cp gnupg-ccid /etc/hotplug/usb/gnupg-ccid
 # chmod +x /etc/hotplug/usb/gnupg-ccid

All the configuration files are in the right place and with the right permissions by now.

You will now create a group scard, give this group permission to access the smart card reader, and include the users who should have access to the card reader to this group.

 # addgroup scard
 # addgroup yourusername scard (change for the right username)
 # exit (to logout the root user)

Done! Your smart card reader should be working now.

If you want to take a look on what you have in your card, plug-in the smart card reader, insert your Fellowship crypto card, and type:

 $ gpg --card-status

Feel free to to improve this howto!


Category/HowTo

TechDocs/CardHowtos/CardreaderSetup_(hotplug) (last edited 2016-05-07 17:20:23 by jzarl)