GnuPG is broken when used as filter :-((

Khimenko Victor khim at sch57.msk.ru
Sun Aug 15 18:56:36 CEST 1999



On Sun, 15 Aug 1999 zander at microweb.nl wrote:

> 
> Just an example of something that _works_:
> 
> mailto -s New vbox message ${MAILTO} <<HERE >/dev/null 2>&1
> ~*
> 1
> |echo -e "\n\nNew message from ${CALLER} (${CALLID})\n\n" | /usr/local/bin/gpg -aeo- -r zander 2>/dev/null
> application/pgp
> yes
> HERE
> 
> 
> The thing is, It would probaly be the output created normally (good signature 
> statement etc.)
> 
I can not see signing in the above sample at all :-/
Encryption is NOT broken ! Signing is... I tested both with 0.9.10
compiled myself (gcc 2.95) and gnupg-0.9.9-1rh6.i386.rpm from
ftp://pgp.4net.it/pub/gpg ...

> try:
> gpg -o- --sign --encrypt <redhat-release-6.0-1.noarch.rpm >test.gpg 2>/dev/null
> 
> gpg -d test.gpg 2>/dev/null
> 
Done. No changes: decrypted file is bigger and no messages about signature
while decrypting...

> 
> > 
> > > try:
> > > 
> > > gpg -o - --sign --encrypt <redhat-release-6.0-1.noarch.rpm >test.gpg
> > > 
> > > the -o is the write to file option, using file '-' will output to
> > > stdout.
> > > 
> > No. It does not help. Even if I'll use -o directly:
> > -- cut --
> > gpg -o test.gpg --sign --encrypt <redhat-release-6.0-1.noarch.rpm
> > -- cut --
> > Problem is the same: no message about signature on decrypt and something
> > (I think it's signature :-) is attached to the end of decrypted file...
> > 
> > > hope this helps.
> > > 
> > >> 19:23:38 (561.32 B/s) - `redhat-release-6.0-1.noarch.rpm' saved [1190]
> > >>
> > >> $ gpg --sign --encrypt < redhat-release-6.0-1.noarch.rpm > test.gpg
> > >>
> > >>
> > 
> > 
> 
> 
> 
> --
> Thomas Zander                                                zander at microweb.nl
> Today, it's understood that of course you'll use a computer,
> because it makes other people's lives easier -- or, more         icq: 970 00 05
> accurately, it enables them to maintain their manic pace.      gpg-key:  0588D5
> 



More information about the Gnupg-devel mailing list