encrypting compression algorithms
dshaw at jabberwocky.com
Sun Sep 6 05:10:29 CEST 2009
On Sep 5, 2009, at 8:59 PM, M.B.Jr. wrote:
> Hi David, thank you.
> On Sat, Sep 5, 2009 at 1:11 PM, David Shaw<dshaw at jabberwocky.com>
>> On Sep 4, 2009, at 12:53 PM, M.B.Jr. wrote:
>>> How do I know which compression algorithm was used?
>> Unless you've overridden the default, it is ZIP.
> Ok but in this point, my doubt is about some command to check whether
> a "gpg" extension file is compressed and in case it is, which
> algorithm was used. Like (just an example):
> $ gpg --check-compression file.gpg
> Is there something like that?
Not really, but you could look at the debug output. Try decrypting
the file with "-vv" added to the command line. If it is compressed,
you'll see a line like ":compressed packet: algo=1". Algo 1 is ZIP,
algo 2 is ZLIB, algo 3 is BZIP2.
More information about the Gnupg-users