When trying to sign the current document with one of the listed keys, the operation silently fails.
If I strace the app, I can see that the "gpg --sign --detach" command is issued with the correct key ID. If I run the same command in a snapd shell for libreoffice.writer, I'm seeing the following:
gpg: can't query passphrase in batch mode
gpg: skipped "[KEY_ID]": bad passphrase
gpg: signing failed: bad passphrase
When trying to sign the current document with one of the listed keys, the operation silently fails.
If I strace the app, I can see that the "gpg --sign --detach" command is issued with the correct key ID. If I run the same command in a snapd shell for libreoffice.writer, I'm seeing the following:
gpg: can't query passphrase in batch mode
gpg: skipped "[KEY_ID]": bad passphrase
gpg: signing failed: bad passphrase