You are not logged in.
Hi everybody,
I tried to digitally sign a document in LibreOffice, where I always use the development version. gnupg was already installed, I generated the key pair and within the ./gnupg directory occurred a secret-key-xxxxxxxx.asc file, while the subdirectory ./private-keys-v1d holds two keys of the default 3073 bit value. After opening a document and going to the File menu in LibreOffice, and then clicking Digital Signatures > Digital Signatures or Digital Signatures -> Sign Existing PDF, I get the popup menu Digital Signatures, but when clicking the Sign Document button an inactive menu appears, where my keys are not displayed. When clicking the Start Certificate Manager menu button, gnupg (or Seahorse) launches and the digital keys are displayed.
I know this is the "drill" to use a digital signature, but I am stuck in this situation. Any help or hint would be appreciated.
Thank you very much.
Bogdan
Offline
I don't think you can sign a PDF with GPG this way. I never used LibreOffice to sign PDFs but I presume this menu refers to a standard PDF signature, and as far as I know these are X509 signature, meaning you need a CA certificate pair, not a GPG key pair.
Offline
And I assume the way to do it is described in the Arch Wiki https://wiki.archlinux.org/title/Easy-RSA. Thank you.
I never used LibreOffice to sign PDFs but I presume this menu refers to a standard PDF signature, and as far as I know these are X509 signature, meaning you need a CA certificate pair, not a GPG key pair.
I did not know it works only with the X509 signature.
Last edited by Daedalus24 (2023-10-01 15:20:27)
Offline