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.
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.
Thanks Jakub. gnupg2-2.3.2-3.fc35 fixes the problem. You can close this ticket.
*** This bug has been marked as a duplicate of bug 2009978 ***