So I'm just trying to sign my LibreOffice documents digitally. I have generated my GPG key in a Debian WSL terminal using the gpg command line. Yet when I access my LibreOffice documents, File → Digital Signatures → Digital Signatures → Sign Documents
, the key generated isn't available (none is shown).
I also tried to import the key from the WSL to Windows with Kleopatra but when I click on Import…
and try to import the trustdb.gpg
file located in /home/UserName/.gnupg/
, it doesn't import anything at all (imported : 0).
Maybe there is something I misunderstood. I'd like to know if it's possible to import a GPG key from WSL to be used in Windows directly or to use it directly from the WSL, it doesn't really matter.
gpg [--armor] --export-secret-keys [ids...]
to create an export file, and then import that.