Hi Zdenek,
Thanks for the detailed log. It pinpointed the problem.
This is a JSignPdf bug, not a mistake in your configuration. The
JSIGNPKCS11 provider can’t sign on Java 21 when the token computes
only raw RSA signatures, which is common with smart cards, including
I.CA ones. Extra JVM options won’t fix it either. The provider library
needs an update, and I’m working on that.
Workaround: pick PKCS11 instead of JSIGNPKCS11 in the Keystore
drop-down, using the same PIN. It uses the standard Java PKCS#11
provider, which isn’t affected.
If signing with PKCS11 fails too (for example, a login or PIN error at
the moment of signing), please post that log. Some qualified-signature
keys need an extra PIN check that only JSIGNPKCS11 supports.
The Flatpak version couldn’t see your library because host PKCS#11
drivers are outside the Flatpak sandbox by default, so the .deb is the
right choice for tokens.
Best regards,
Josef
> --
> You received this message because you are subscribed to the Google Groups "JSignPdf" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
jsignpdf+u...@googlegroups.com.
> To view this discussion visit
https://groups.google.com/d/msgid/jsignpdf/5d52cf47-e598-4abd-98e8-7dee5dd8899an%40googlegroups.com.