having a library pass GnuPG options
Sun, 16 Jan 2000 14:51:34 +0100
On Sun, 16 Jan 2000, Frank Tobin wrote:
> I now notice that GnuPG now graciously handles:
> gpg --sign --clearsign
> What is the 'preferred' call? As I am developing for a module, I need to
> heavily think about forward compatibility. The same question go for
> detached signatures; interestingly, '--clearsign' seems to override
The problem arises from the compatibilty to PGP 2, there are some ugly
hacks to implement most of PGP's commandline syntax. That is the
reason why you sometimes don't get the error: conflicting commands.
I'd suggest to use only one command, so:
--sign for standard signing
--detach-sign for detached signatures
--clearsign for cleartext signatures
These are guaranteed to work for any later versions. Maybe I can
change the error reporting in futrue, so that you get an error wenh
using conflicting long commands..
> conforms to a strict routine, if I'm not mistaken. I've once looked at
> pgpglue but that seems sorely out of date.
We should really work again on this thing.
Werner Koch at guug.de www.gnupg.org keyid 621CC013
Boycott Amazon! - http://www.gnu.org/philosophy/amazon.html