Odd situation, and I won't go into details about why our present circumstances require it. But, I'm looking for a way to force gpg to use compression. My testing is suggesting that the following command ignores the '-z' option:
gpg -z 6 -e test.zip
Note that the object to be encrypted is a zip archive. I'm using the bouncycastle java library to crack open output blob and it doesn't appear to be using pgp-compression.
My suspicion is that gpg detects that the file to be encrypted is already compressed and doesn't re-compress it. Unfortunately that's precisely what I need it to do.
Can anyone confirm this is the case (gpg doesn't re-compress)? And if so, is there a way to force it? Thanks.
-v
with your command shows your suggest is right; neither the man page nor the esoteric options manual know anything about enforcing compression of compressed contents. Probably you're out of luck.