% echo huhu > huhu
% gpg --symmetric -o huhu.gpg huhu
% sq decrypt --dump huhu.gpg
Symmetric-key Encrypted Session Key Packet
Version: 4
Cipher: AES with 256-bit key
S2K: Iterated
Hash: SHA1
Salt: 337327578C0BB913
Iterations: 65011712
Encrypted and Integrity Protected Data Packet
Version: 1
Enter password to decrypt message:
Compressed Data Packet
Algorithm: ZIP
Literal Data Packet
Format: Binary data
Filename: huhu
Timestamp: 2018-08-31T09:35
huhu
Malformed OpenPGP messageNote the missing MDC packet at the end. RFC4880 says:
The Modification Detection Code packet MUST be the last packet in the plaintext data that is encrypted in the Symmetrically Encrypted Integrity Protected Data packet [...]