Hi,
We found out when using GPG 2.4.0 and encrypting with --openpgp flag does not make the encrypted file adhere to OpenPGP RFC.
Repro: encrypt a file in GPG 2.4.0 with --openpgp flag. The encrypted file will have new hashed subpacket type: subpacket 34, preferred AEAD algorithms. This is out of spec with https://www.rfc-editor.org/rfc/rfc4880#section-5.2.3.1
Best,
Vicky Wu