Page MenuHome GnuPG

Gpg-zip script problem creating tarball compressed archives.
Closed, ResolvedPublic

Description

I had a problem when i try to compress and encrypt one or more files into a
tarball. I use the gpg-script tool and use this command:
gpg-zip --encrypt --tar-args -z --output test.tar.gz.gpg test*

And then I decrypt de otuput file using
gpg test.tar.gz.gpg

Finally I use file to verify the file's type:
file test.tar.gz
POSIX tar archive (GNU)

This issue happens both in Fedora 15, Debian 6 and Ubuntu 11.04.

I've edited the file /usr/bin/gpg-zip and change this line:

$TAR -cf - "$@" | $GPG --set-filename x.tar $gpg_args

for this:

$TAR $tar_args -cf - "$@" | $GPG --set-filename x.tar $gpg_args

Then I repeat the process above and I succeded to create the compressed file.

I've downloaded the software from the official site and looking in the
gnupg-2.0.17/tools/gpg-zip.in file happens the same problem.

Details

Version
2.0.17

Event Timeline

lyingB added projects: gnupg, Bug Report.
lyingB added a subscriber: lyingB.
justus claimed this task.