Installing GnuPG-PKCS11-SCD

  1. Install the pkcs11-helper-devel package.

# sudo apt update
# sudo apt install -y libssl-dev
# pkg-config --modversion libcrypto
# sudo apt update
# sudo apt install -y libpkcs11-helper1-dev
image-20260520-061039.png


Installation of pkcs11-helper-devel package

  1. Verify that the PKCS#11 helper library is installed and available for development.

# dpkg -L libpkcs11-helper1-dev | grep pkgconfig
# export PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig
# pkg-config --modversion libpkcs11-helper-1
  1. Download the gnupg-pkcs11-scd installation file.

# wget https://github.com/alonbl/gnupg-pkcs11-scd/releases/download/gnupg-pkcs11-scd-0.11.0/gnupg-pkcs11-scd-0.11.0.tar.bz2 
image-20260520-061637.png

Downloading gnupg-pkcs11-scd


  1. Extract the file.

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

# cd gnupg-pkcs11-scd-0.11.0


  1. Run the following command to compile and install.

# ./configure
# make
# make install


image-20260520-061858.png

Installation of pkcs11-helper-devel package_make

image-20260520-061911.png

Installation of pkcs11-helper-devel package_make install

image-20260520-061923.png


Installing gnupg-pkcs11-scd_verification