Installing GnuPG-PKCS11-SCD

  1. (Optional) Install EPEL repository if it doesn't exit

›_ Console

# dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest8.noarch.rpm 
  1. Install pkcs11-helper-devel package

›_ Console

# dnf install pkcs11-helper-devel 
  1. Download the gnupg-pkcs11-scd installation file

›_ Console

# wget https://github.com/alonbl/gnupg-pkcs11-scd/releases/download/gnupgpkcs11-scd-0.10.0/gnupg-pkcs11-scd-0.10.0.tar.bz2 
tmphaavptfx.jpg

Downloading gnupg-pkcs11-scd

  1. Extract the file

›_ Console

# tar -xjf /gnupg-pkcs11-scd-0.10.0.tar.bz2 
  1. Go to the directory where the file is extracted

›_ Console

# cd gnupg-pkcs11-scd-0.10.0 
  1. Run the following command to compile and install

›_ Console

# ./configure --with-libgpg-error-prefix=/usr/local --with-libassuanprefix=/usr/local --with-libgcrypt-prefix=/usr/local 
# make 
# make install
tmpgm2v_ltl.jpg

Installing gnupg-pkcs11-scd


After rebooting the server, export the path and library path every time.

export PATH=/usr/local/bin:$PATH

export LD_LIBRARY_PATH=/usr/local/lib