Page MenuHome GnuPG

GnuPG creates keys that it cannot use, likely related to AEAD
Closed, InvalidPublic

Description

% git describe
gnupg-2.2.7-729-ge2c2b0fb2
% make -C tests/openpgp check TESTS=shell.scm
make: Entering directory '/home/teythoon/repos/g10/gnupg/obj/tests/openpgp'
LC_ALL=C EXEEXT= PATH=../gpgscm:/home/teythoon/repos/g10/local/bin:/home/teythoon/.guix-profile/bin:/home/teythoon/.local/bin::/home/teythoon/Applications/.bin:/home/teythoon/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games abs_top_srcdir=/home/teythoon/repos/g10/gnupg/obj/.. objdir=/home/teythoon/repos/g10/gnupg/obj GPGSCM_PATH=/home/teythoon/repos/g10/gnupg/obj/../tests/gpgscm /home/teythoon/repos/g10/gnupg/obj/tests/gpgscm/gpgscm \
  /home/teythoon/repos/g10/gnupg/obj/../tests/openpgp/run-tests.scm  shell.scm
PASS: tests/openpgp/setup.scm
Load legacy test environment? [Y/n] n
Drop 'batch' from gpg.conf? [Y/n] n
Note that gpg.conf includes 'batch'.  If you want to use gpg
interactively you should drop that.

Enjoy your test environment.  Type 'exit' to exit it, it will be cleaned up after you.

% gpg --quick-generate-key foo@example.org
gpg: Note: RFC4880bis features are enabled.
gpg: keybox '/tmp/gpgscm-20191024T122441-run-tests-wWIMoz/pubring.kbx' created
gpg: /tmp/gpgscm-20191024T122441-run-tests-wWIMoz/trustdb.gpg: trustdb created
gpg: key A08B5D066B638513 marked as ultimately trusted
gpg: directory '/tmp/gpgscm-20191024T122441-run-tests-wWIMoz/openpgp-revocs.d' created
gpg: revocation certificate stored as '/tmp/gpgscm-20191024T122441-run-tests-wWIMoz/openpgp-revocs.d/9599EB1A56B3073988865A86A08B5D066B638513.rev'
% echo huhu | gpg --always-trust --encrypt -r foo | gpg --decrypt
gpg: Note: RFC4880bis features are enabled.
gpg: Note: RFC4880bis features are enabled.
gpg: Ohhhh jeeee: Assertion "a->filter == block_filter" in iobuf_set_partial_body_length_mode failed (../../common/iobuf.c:2607)
gpg: [don't know]: 1st length byte missing
[1]    9959 done       echo huhu |
       9960 abort      gpg --always-trust --encrypt -r foo |
       9961 exit 2     gpg --decrypt

Event Timeline

werner added a subscriber: werner.

Please no reports for non-released devel versions.