Sample Header Ad - 728x90

gpgtar: encrypted packet with unknown version

0 votes
1 answer
2611 views
I'm getting the error in the title (aead encrypted packet with unknown version 29), when trying to decrypt an encrypted file created in the same environment (Termux on Android, if it matters):
$ gpgtar --encrypt --output e -r attilio test
$ ls
e test
$ gpgtar -d e
gpgtar: gpg: encrypted with cv25519 key, ID 74341D598FFF0056, created 2021-08-13
gpgtar: gpg:       "attilio"
gpgtar: gpg: public key decryption failed: Not a typewriter
gpgtar: gpg: decryption failed: Not a typewriter
gpgtar: gpg: aead encrypted packet with unknown version 29
gpgtar: error running '/data/data/com.termux/files/usr/bin/gpg': exit status 2
I got the usage from here . **Question:** what does this error even mean, and how can I fix it? (Google results only show the source code, so I guess it does not happen all that often.)
Asked by Attilio (385 rep)
Aug 13, 2021, 08:31 PM
Last activity: Jul 5, 2025, 12:17 AM