Open dngray opened 2 years ago
Weird indeed. In sandbox ~/.var/app/org.mozilla.Thunderbird/.thunderbird
and ~/.thunderbird
is exactly same location. I guess it wants to access something else from your home
initially?
You may try test it by pre-creating empty profile path in your home (mkdir ~/.thunderbird
) then allow acces only to it instead of all home (--filesystem=~/.thunderbird
)
Okay, so I've tried to reproduce this again, I think the confusion was that I needed to run the above gpg-connect-agent
command again despite not unplugging my Yubikey.
Fresh profile with just: ~/.local/share/flatpak/overrides/org.mozilla.Thunderbird
[Context]
sockets=wayland;
[Environment]
MOZ_ENABLE_WAYLAND=1
mail.openpgp.allow_external_gnupg
it does seem from then after you can
If you do it in this order:
So TLDR you must unlock Yubikey after Thunderbird is open.
Of course this would all be solved if the Thunderbird Flatpak could run gpg-connect-agent
without having to do it externally in a terminal.
So I found a weird bug where I can't decrypt emails if I don't set
filesystems=home
and create a profile.If you don't set this override the profile will go in
~/.var/app/org.mozilla.Thunderbird/.thunderbird
as expected.Email won't seem to decrypt.
If you then set
filesystems=home
ie:The profile will be created in
~/.thunderbird
It seems then you can move it to
~/.var/app/org.mozilla.Thunderbird/.thunderbird
and revoke the above--filesystem=home
permission.Additionally I noticed that it seems Thunderbird can't ask you to unlock your Yubikey. I had to do this manually in a terminal ie: