Q: I need to sign PDF documents with my USB Smart Card. Can I do that using PDF Studio on my Linux system?

A: Yes, you can. Starting in PDF Studio 10.1.0, we allow users to sign a document using their USB Smart Card. You can see the setup below as a reference.

In this example, we used Safenet eToken 5100 on Ubuntu 14.04, different devices might have different setup.

1. Plug the USB Smart Card/Token into your computer

2. Install the following 3 packages in order, you can either install the .deb files by double click to open software center or install from terminal:
a. https://packages.debian.org/wheezy/amd64/libhal1/download

sudo dpkg -i libhal1_0.5.14-8_amd64.deb

b. https://packages.debian.org/wheezy/amd64/libhal-storage1/download

sudo dpkg -i libhal-storage1_0.5.14-8_amd64.deb

c. http://www.proteq.com.br/download/sac/sac8.3_linux.zip

Extract the file sac8.3_linux.zip” and install the DEB file associated with your platform (for example, I installed the 64bit version)

Token2

sudo dpkg -i SAC\ 8.3\ Linux/Installation/Standard/DEB/SafenetAuthenticationClient-8.3.34-0_amd64.deb

3. Go to home/usr/lib and verify that “libeTPkcs11.so” displays

Token1

4. Create a configuration file, see the example as below and save it with the name “config.cfg”:

name = SafeNetToken
library = /usr/lib/libeTPkcs11.so
slot = 0

5. Open PDF Studio, go to Edit -> Preferences -> Digital IDs.

6. Click “Browse” button under “Additional IDs” section

7. Browse the “config.cfg” which we created in step4.

8. Input the password on your smart card/token.

Token3

From now on, the signature ID on your smart card should displays on the signature list and allow you to sign the document.

Token4

Hardware info:

SafeNet eToken 5100 – USB security key

Purchase links from CDW

https://www.cdw.com/shop/products/SafeNet-eToken-5100-USB-security-key/3763337.aspx

Previously discontinued USB Key:

https://www.cdw.com/shop/products/SafeNet-eToken-5100-USB-security-key/2604743.aspx)

Ubuntu 14.04 64bit