Setting up wks/ error parsing submission email

Fabian A. Santiago fsantiago at
Tue Dec 18 23:38:12 CET 2018

On 2018-12-17 14:56, Daniel Kahn Gillmor wrote:
> On Sat 2018-12-15 16:18:30 -0500, fsantiago at wrote:
>> I’m setting up (or trying to) wks on my email server, which is Ubuntu
>> 18.04 using postfix / dovecot with procmail. I think I’m close but
>> keep getting an error in my procmail output when I test it from
>> another machine using the command line client test noted in the GnuPG
>> docs. The 2nd machine is also Ubuntu but using its stock gpg (older
>> rev as you can see in the log output below). The email server has been
>> setup with the current gpg as noted in the instructions:
> It looks to me like you're mixing versions of gpg -- one is the stock
> version shipping in ubuntu, and the other is some slightly-more-recent
> (but not fully current) locally-built copy (the one in
> /home/webkey/bin/gpg).
> have you tried just installing the gpg-wks-server package directly in
> ubuntu, rather than trying to build your own local copy?
>> gpg-wks-server: gpg: uncompressing failed: Unknown compression 
>> algorithm
>> gpg-wks-server: error running '/home/webkey/bin/gpg': exit status 2
> this looks like your self-built copy of gpg doesn't enable the expected
> compression algorithm.
> can you compare the output of:
>     gpg --version | grep ^Compression:
> against:
>     /home/webkey/bin/gpg --version | grep ^Compression:
> ?
> that might help to understand some of what's going on at least.
>      --dkg

that's probably it:

root at mail:~# gpg --version | grep ^Compression:
Compression: Uncompressed, ZIP, ZLIB, BZIP2
root at mail:~# /home/webkey/bin/gpg --version | grep ^Compression:
Compression: Uncompressed

so this was produced following the online instructions for setting up 
WKS (as far as building your own current gpg). should i not do that? or 
what can i do to enable or disable compression? Thanks for your help.



Fabian S.

OpenPGP:  0xE05BF5EEFDD6549DAD3EDF64AE4E3D03B4F2DF29

More information about the Gnupg-devel mailing list