-
Run the following command to automatically create the directory structure for GnuPG.
# gpg --list-keys
Listing gpg keys
-
Copy the sample file from
resource/gnupg-pkcs11-scd-0.10.0/gnupg-pkcs11-scd/gnupg-pkcs11-scd.conf.exampleto~/.gnupg/gnupg-pkcs11-scd.conf.
# cp /usr/local/src/gnupg-pkcs11-scd-0.11.0/gnupg-pkcs11-scd/gnupg-pkcs11-scd.conf.example /root/.gnupg/gnupg-pkcs11-scd.conf
-
Open the file
/root/.gnupg/gnupg-pkcs11-scd.confand make the following changes.
# pin-cache 0
# providers p1
# provider-p1-library /etc/utimaco/lib/libcs_pkcs11_R3.so
-
Create a file
/root/.gnupg/gpg-agent.confand add the following content in it.
# scdaemon-program /usr/local/bin/gnupg-pkcs11-scd
# pinentry-program /usr/local/bin/pinentry