-
Notifications
You must be signed in to change notification settings - Fork 687
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GPG PINENTRY_LAUNCHED error when sources are deleted #4294
Comments
I can see the same errors. |
Background: I made this change 62bd71a such that secret keys would be properly deleted on Xenial (due to upstream issues with |
to handle PINENTRY_LAUNCHED key ref: #4294
to handle PINENTRY_LAUNCHED key ref: #4294
to handle PINENTRY_LAUNCHED key ref: #4294
Mock internal python-gnupg method to generate ValueError from the _handle_status method on DeleteResult
If I install |
@kushaldas Do you subsequently get the OSSEC alert described in #4362 after deleting a source? |
If I install
it's worth noting that any attempt by gpg to launch a passphrase prompt is futile in this scenario as we don't have the source key passphrase stored directly anywhere (only the source does, we only have the hash) |
I saw the OSSEC logs (when I checked), but, just now we deleted another source, and this time no alert in OSSEC. |
On an instance upgraded from Trusty to Xenial (one that has This bug appears to only affect instances that are using EDIT: The error is not visible in logs due to #4362 : once the AppArmor profile is updated, the PINTENTRY_LAUNCHED error appears. |
to handle PINENTRY_LAUNCHED key ref: freedomofpress#4294 (cherry picked from commit 745ca50)
Mock internal python-gnupg method to generate ValueError from the _handle_status method on DeleteResult (cherry picked from commit 16ec570)
to handle PINENTRY_LAUNCHED key ref: #4294
Mock internal python-gnupg method to generate ValueError from the _handle_status method on DeleteResult
Description
Deleting a source raises this error.
Steps to Reproduce
Expected Behavior
No errors.
Actual Behavior
There are errors but the HTTP code is still 200, and the key is still deleted on the server side.
The text was updated successfully, but these errors were encountered: