GnuPG is broken when used as filter :-((

zander at microweb.nl zander at microweb.nl
Sun Aug 15 16:24:11 CEST 1999


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.)

try:
gpg -o- --sign --encrypt <redhat-release-6.0-1.noarch.rpm >test.gpg 2>/dev/null

gpg -d test.gpg 2>/dev/null


> 
> > 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