-
-
Notifications
You must be signed in to change notification settings - Fork 59
Split-gpg2 fails in Flatpak Evolution with "command filtered out" #10340
Copy link
Copy link
Labels
C: split-gpg2This issue pertains to Split GPG version 2.This issue pertains to Split GPG version 2.P: defaultPriority: default. Default priority for new issues, to be replaced given sufficient information.Priority: default. Default priority for new issues, to be replaced given sufficient information.affects-4.3This issue affects Qubes OS 4.3.This issue affects Qubes OS 4.3.devel-host-cur-testdevel-vm-bookworm-cur-testdevel-vm-fc41-cur-testdevel-vm-fc42-cur-testdevel-vm-fc43-cur-testdevel-vm-fc44-cur-testdevel-vm-trixie-cur-testdiagnosedTechnical diagnosis of this issue has been performed.Technical diagnosis of this issue has been performed.good first issueThis is a recommended issue for first-time contributors.This is a recommended issue for first-time contributors.pr submittedA pull request has been submitted for this issue.A pull request has been submitted for this issue.r4.2-host-stabler4.2-stabler4.2-vm-bookworm-stabler4.2-vm-fc41-stabler4.2-vm-fc42-stabler4.2-vm-fc43-stabler4.2-vm-trixie-stabler4.3-host-stabler4.3-stabler4.3-vm-bookworm-stabler4.3-vm-fc41-stabler4.3-vm-fc42-stabler4.3-vm-fc43-stabler4.3-vm-fc44-stabler4.3-vm-trixie-stable
Metadata
Metadata
Assignees
Labels
C: split-gpg2This issue pertains to Split GPG version 2.This issue pertains to Split GPG version 2.P: defaultPriority: default. Default priority for new issues, to be replaced given sufficient information.Priority: default. Default priority for new issues, to be replaced given sufficient information.affects-4.3This issue affects Qubes OS 4.3.This issue affects Qubes OS 4.3.devel-host-cur-testdevel-vm-bookworm-cur-testdevel-vm-fc41-cur-testdevel-vm-fc42-cur-testdevel-vm-fc43-cur-testdevel-vm-fc44-cur-testdevel-vm-trixie-cur-testdiagnosedTechnical diagnosis of this issue has been performed.Technical diagnosis of this issue has been performed.good first issueThis is a recommended issue for first-time contributors.This is a recommended issue for first-time contributors.pr submittedA pull request has been submitted for this issue.A pull request has been submitted for this issue.r4.2-host-stabler4.2-stabler4.2-vm-bookworm-stabler4.2-vm-fc41-stabler4.2-vm-fc42-stabler4.2-vm-fc43-stabler4.2-vm-trixie-stabler4.3-host-stabler4.3-stabler4.3-vm-bookworm-stabler4.3-vm-fc41-stabler4.3-vm-fc42-stabler4.3-vm-fc43-stabler4.3-vm-fc44-stabler4.3-vm-trixie-stable
Type
Fields
Give feedbackNo fields configured for Bug.
Qubes OS release
Brief summary
Opening an encrypted email in Evolution installed with Flatpak attempts to access the decryption key through split-gpg2. On the vault side, split-gpg2 errors out with "command filtered out".
Split-gpg2 works correctly in the email qube from the commandline, and from a shell inside the Evolution Flatpak (i.e. shell launched with
flatpak enter $EVOLUTION_PID bash).This appears to be due to Evolution's gpg client sending "OPTION xauthority", which split-gpg2 denies. Issue goes away by adding
xauthorityto the dict returned bydefault_options().Steps to reproduce
Expected behavior
I get prompted to allow/deny PKDECRYPT. After allowing the operation, email message gets decrypted.
Actual behavior
Split-gpg2 errors with "command filtered out"
Relevant debug log from split-gpg2:
Additional information
The issue appears to be caused by Evolution's gpg sending
OPTION xauthority=/run/flatpak/Xauthority, which is filtered out.The issue can be fixed (?) by changing
splitgpg2/__init__.pyby addingb'xauthority': (OptionHandlingType.fake, b'OK')to the dictionary returned bydefault_options()at line 570. This edit resolves the issue and decrypting email works as I expect, but I don't know if there are unintended/unwanted side effects to making this change.My modified
default_options()for reference: