Page MenuHome GnuPG

GnuPG 2.2.45 (and earlier) always print 0 instead of the actual AEAD algorithm as last part of DECRYPTION_INFO
Open, Needs TriagePublic

Description

In 2.2.45, decrypt-data.c, line 284, reads

write_status_printf (STATUS_DECRYPTION_INFO, "%d %d %d",
                       ed->mdc_method, dek->algo, 0);

As you can see the information about the actual AEAD algo used is missing and messages that are encrypted with a key created in a newer version of GnuPG which create an AEAD packet, will look like they have no MDC and no AEAD, unless I'm misunderstanding something here.

Is it correct that the line mentioned above should look like this:

write_status_printf (STATUS_DECRYPTION_INFO, "%d %d %d",
                       ed->mdc_method, dek->algo, ed->aead_algo);

as is the case in 2.4.6?

Details

Version
2.2.45