Description of problem: GPG crashes when using the force-aead and personal-aead-preferences options. Version-Release number of selected component (if applicable): 2.3.6-1.fc36 How reproducible: Always Steps to Reproduce: 1. gpg --quick-gen-key testkey 2. Add "force-aead" and "personal-aead-preferences OCB" to gpg.conf. Using command-line arguments to set these won't work. 3. gpg -aer testkey 4. gpg -ac 5. gpg -asc Actual results: Output of "gpg -aer testkey" and "gpg -asc": gpg: unsupported AEAD algo -6 gpg: unsupported AEAD algo -6 gpg: Ohhhh jeeee: Assertion "a->filter == block_filter" in iobuf_set_partial_body_length_mode failed (iobuf.c:2764) Aborted (core dumped) Output of "gpg -ac": gpg: unsupported AEAD algo 10 gpg: symmetric encryption of '[stdin]' failed: Invalid cipher mode Expected results: GPG does not crash.
Thank you for the report. Running the gpg under valgrind shows some uninitialized variables, which will probably cause this issue. I filled the issue upstream with a patch that solves the issue for me: https://dev.gnupg.org/T6019 When I will hear from upstream, I will update Fedora package to fix this problem.
This was fixed in 2.3.7 -- closing as a current release.