Jsignpdf - PKCS11 driver not recognized by the FLATPAK version

5 views
Skip to first unread message

Stoyan Deckoff

unread,
Oct 18, 2026, 7:31:43 AMOct 18
to JSignPdf
HI!
OS: 
7.0.0-38-generic #38~24.04.4-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 14 16:37:11 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
JSignPdf version 3.2.1 FLATPAK 
Config:(location: /home/deckoff/.var/app/io.github.intoolswetrust.JSignPdf/config/jsignpdf)

name = BTrustToken (BG provider)
library=/home/deckoff/Applications/DinoDent/p11_libs/libIDPrimePKCS11.so
slot = 0


Despite allowing pretty the flatpak much everything, in JSignPdf  the Keystore drop-down does not offer the JSIGNPKCS11 option. 

The very same version installed by .deb works like a charm! :)

Is  this a known bug, or limitaion of the flatpak, or am I doing something wrong?

PS ( The deb version does not use the proper desktop icon for the shortcut ;)

Regards


Θεόφιλος Ιντζόγλου

unread,
Oct 18, 2026, 2:21:33 PMOct 18
to jsig...@googlegroups.com
Hi,
Flatpak applications doesn’t have access to the local fs for security reasons.
To be able to use my usb token, I had to run:

flatpak override --user --filesystem=host net.kwart.jsignpdf

This way flatpak allows access to the local fs through /var/run/host. Then I
was able to use /var/run/host/usr/lib/libeToken.so (to access /usr/lib/
libeToken.so) and jsignpdf showed JSIGNPKCS11.

The library you are using may reside inside the user home directory but may
reference other libraries from you system that are not available through
flatpak.

Hope it helps!
Theofilos

Στις Κυριακή 18 Οκτωβρίου 2026 2:31:42 μ.μ. Θερινή ώρα Ανατολικής Ευρώπης
Stoyan Deckoff έγραψε:
> HI!
> OS:
> 7.0.0-38-generic #38~24.04.4-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 14 16:37:11
> UTC 2 x86_64 x86_64 x86_64 GNU/Linux
> JSignPdf version 3.2.1 FLATPAK
> Config:(location:
> /home/deckoff/.var/app/io.github.intoolswetrust.JSignPdf/config/jsignpdf)
>
>
>
> *name = BTrustToken (BG
> provider)library=/home/deckoff/Applications/DinoDent/p11_libs/libIDPrimePKCS
> 11.soslot = 0*
>
> Despite allowing pretty the flatpak much everything, in JSignPdf the
> Keystore drop-down does not offer the JSIGNPKCS11 option.
>
> *The very same version installed by .deb works like a charm! :)*
Reply all
Reply to author
Forward
0 new messages