Instructions for signing documents with qualified electronic signature in Okular: Разлика между версии

От Infonotary
Направо към навигацията Направо към търсенето
Редакция без резюме
Редакция без резюме
Ред 3: Ред 3:
* '''IMPORTANT:''' More information about [https://okular.kde.org/ Okular]
* '''IMPORTANT:''' More information about [https://okular.kde.org/ Okular]


* '''IMPORTANT:''' If you have smart card reader and smart card from InfoNotary, but you didn't install the drivers for them do the following[[use repositories of InfoNotary]]
* '''IMPORTANT:''' Make sure you have installed the necessary drivers for your smart card and reader from [http://wiki.infonotary.com/index.php?title=Use_repositories_of_InfoNotary HERE]


* '''IMPORTANT:''' '''The following instruction is tested on Ubuntu 22.04 and Okular 21.12.3'''
* '''IMPORTANT:''' '''The following instruction is tested on Ubuntu 22.04 and Okular 21.12.3'''

Версия от 22:31, 22 юни 2022

Before proceeding you must do

  • IMPORTANT: More information about Okular
  • IMPORTANT: Make sure you have installed the necessary drivers for your smart card and reader from HERE
  • IMPORTANT: 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.