Dear Sir or Madam,
sometimes if I encrypt and sign a tar file created with 7-zip on Windows 10 the result can't be decrypted with Kleopatra anymore. The file is getting assigned to me and another person in the "encrypt for other persons" dialog. To start the process I'm using the GPGex extension for Windows which starts Kleopatra and the decryption or encryption process.
If I decrypt the file with gpg on the command line the output is okay.
In Kleopatra the following error is displayed at the end of the decryption process
Fehler während der Ausführung von C:/Program Files (x86)/Gpg4win/../GnuPG/bin/gpgtar.exe: gpgtar: [stdin]: invalid octal number encountered - assuming 0 gpgtar: [stdin]: invalid octal number encountered - assuming 0 gpgtar: [stdin]: invalid octal number encountered - assuming 0 gpgtar: [stdin]: invalid octal number encountered - assuming 0 gpgtar: [stdin]: invalid octal number encountered - assuming 0 gpgtar: [stdin]: warning: name not terminated by a nul gpgtar: [stdin]: invalid octal number encountered - assuming 0 gpgtar: [stdin]: invalid octal number encountered - assuming 0 gpgtar: [stdin]: invalid octal number encountered - assuming 0 gpgtar: [stdin]: invalid octal number encountered - assuming 0 gpgtar: [stdin]: invalid octal number encountered - assuming 0 gpgtar: [stdin]: header block 2 is corrupt (size=0 type=8 nrec=0) gpgtar: error creating '{name}.tar_1_/ {ip}_{name} ': Invalid argument
This error seems to be sporadically, I was thinking this is a problem with large files but all my tests after the error appeared did work correctly. I was testing with a folder containing around 800mb of data. I was trying to encrypt the folder itself or creating a tar with 7-zip first encrypting the .tar result. In both cases, the file was okay after checking.
I will try to reproduce this error on my daily work and post additional information as soon as I find some.
Software Versions:
- Windows 10 Home Version 1809
- Kleopatra Version 3.1.7-gpg4win-3.1.7
Best regards
Simon Aberle