Bug 2011807 - Decrypting gpg files fail: problem with the agent: End of file
Summary: Decrypting gpg files fail: problem with the agent: End of file
Keywords:
Status: CLOSED DUPLICATE of bug 2009978
Alias: None
Product: Fedora
Classification: Fedora
Component: gnupg2
Version: 35
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Red Hat Crypto Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-10-07 12:28 UTC by Marc Muehlfeld
Modified: 2021-10-08 09:08 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-08 09:08:19 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FC-300 0 None None None 2021-10-07 12:31:50 UTC

Description Marc Muehlfeld 2021-10-07 12:28:53 UTC
Description of problem:
Decrypting gpg files fail on Fedora 35.


Version-Release number of selected component (if applicable):
gnupg2-2.3.2-2.fc35.x86_64


How reproducible:
Always


Steps to Reproduce:
1. Try to decrypt a *gpg file:
   gpg -v test.gpg


Actual results:
gpg: Note: RFC4880bis features are enabled.
gpg: WARNING: no command supplied.  Trying to guess what you mean ...
gpg: AES256.CFB encrypted data
gpg: no running gpg-agent - starting '/usr/bin/gpg-agent'
gpg: waiting for the agent to come up ... (5s)
gpg: connection to the agent established
gpg: pinentry launched (32205 gtk2 1.2.0 /dev/pts/4 xterm-256color :0 20620/1000/5 1000/1000 0)
gpg: problem with the agent: End of file
gpg: encrypted with 1 passphrase
gpg: decryption failed: Bad session key


Expected results:
Decryption should work.


Additional info:
Encrypting files on F35 work. Only decryption fails.

Comment 1 Jakub Jelen 2021-10-07 12:37:03 UTC
Can you test with the -3 version from updates-testing in https://bodhi.fedoraproject.org/updates/FEDORA-2021-4bf2879524

It fixes the bug #2009978 which looks very similar like your report.

Comment 2 Marc Muehlfeld 2021-10-07 12:46:16 UTC
Thanks Jakub. gnupg2-2.3.2-3.fc35 fixes the problem.
You can close this ticket.

Comment 3 Jakub Jelen 2021-10-08 09:08:19 UTC

*** This bug has been marked as a duplicate of bug 2009978 ***


Note You need to log in before you can comment on or make changes to this bug.