Instructions for signing documents with qualified electronic signature in Okular

От Infonotary
Версия от 13:49, 22 юни 2022 на Inmivanov (беседа | приноси) (Нова страница: „Signing PDF documents with qualified electronic signature in Okular == Before proceeding you must do== * About [https://okular.kde.org/ Okular] * If you have s...“)
(разл) ← По-стара версия | Текуща версия (разл) | По-нова версия → (разл)
Направо към навигацията Направо към търсенето

Signing PDF documents with qualified electronic signature in Okular

Before proceeding you must do

  • If you have smart card reader and smart card from InfoNotary, but you didn't install the drivers for them do the followinguse repositories of InfoNotary
  • The following instruction is tested on Ubuntu 22.04 and Okular 21.12.3

Installation of Okular

Install the program thru Terminal with command:

sudo apt-get install okular

Adding your smart card library in NSS

Configure your NSS repository:

  • Install the NSS tools. In Debian based distribution the necessary package is libnss3-tools:
sudo apt-get install libnss3-tools
  • Create a directory for the database of NSS with the following command:
mkdir -p $HOME/.pki/nssdb
  • Add the library of your smart card using this command:

For Bit4id:

modutil -add "Bit4id" -libfile libbit4ipki.so -dbdir sql:$HOME/.pki/nssdb -mechanisms FRIENDLY

For OpenSC:

modutil -add "OpenSC" -libfile onepin-opensc-pkcs11.so -dbdir sql:$HOME/.pki/nssdb -mechanisms FRIENDLY

Signing PDF documents in Okular

1. Choose the PDF file with File > Open

2. From Tools choose Digitally Sign

OkularInstruction1.png

3. Using your mouse, click drag and draw the area where you would like the signature to appear.

OkularInstruction2.png

4. Choose your signature and dial your PIN code.