GPG 1.4.9 compressing option

swarna kembayee swarnak87 at gmail.com
Mon Feb 7 11:02:39 CET 2022


Dear Team,

Thank you very much, in advance for your time and support.
I have 3 questions which I would appreciate help on....

My environment has GPG 1.4.9 on Solaris 10 OS.

Question 1 - I am using gpg to encrypt a gzip file. Is it wrong to do this
( file/block corruption or ) ?

for example my command order is

1. gzip sourcefile.txt -- output is sourcefile.txt.gz

2. gpg --encrypt --recipient fddf at w.com sourcefile.txt.gz -- output is
sourcefile.txt.gz.gpg -- I am able to decrypt and uncompress and read the
file

I am not sure if gpg also compresses by default. I used the --verbose
option along with --compress-algo , however the compression state is
omitted from the verbose detail.

I also find --compress-algo <1,2,3> work , higher numbers 4 and above throw
an error - 'gpg: selected compression algorithm is invalid'

Question 2 - How to know if GPG is indeed compressing and what's the
default compression value ?

[image: image.png]
Question 3 - How to find the default settings of my gpg like character set
, compression value etc.  I have not configured anything in in the gpg.conf
file

Best Regards,
Swarna Kembayee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20220207/816ec931/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 27269 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20220207/816ec931/attachment-0001.png>


More information about the Gnupg-users mailing list