On my machine i get the following:
equinox@equinox-ws ~ % pgrep gpg-agent
3530
equinox@equinox-ws ~ % snap connections thunderbird | grep gpg
gpg-keys thunderbird:gpg-keys :gpg-keys
manual
equinox@equinox-ws ~ % snap run --shell thunderbird -c 'gpg -k'
<< same output as `gpg -k` running outside of the snap sandbox
However this does not test the gpg-agent connections since '-k' only
lists public keys. Afaik gpg will not use the agent for public key
handling. The real test should imho be:
snap run --shell thunderbird -c 'gpg -K'
Mind that this is a capital K which is the short form of the option
'--list-secret-keys'
When i run the this command i get a lot of lines like this:
gpg: Note: trustdb not writable
gpg: error running '/usr/bin/gpg-agent': probably not installed
gpg: failed to start agent '/usr/bin/gpg-agent': Configuration error
gpg: can't connect to the agent: Configuration error
Whereas listing secret keys inside the snap does work using the wrapper
from #25.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2009825
Title:
[snap] thunderbird cannot sign messages with external gnupg
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/2009825/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs