Batch mode

Michael Young mwy-gpg41 at the-youngs.org
Sat Jun 1 19:38:01 CEST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

To: gnupg-devel at gnupg.org
Subject: Re: Batch mode
> From: Werner Koch <wk at gnupg.org>
> Date: Fri, 31 May 2002 12:57:00 +0200
> 
...
> > - key signing
> > - key deletion
> 
> This can't be done easily.  You need to present a lot of information
> to the user so that he can decide wehther to sign or not.  Those
> information vary from key to key and thus it can't be scripted.

I would also like to be able to edit keys using a batch (command line)
interface.  Yes, there may be more options than for other tasks, but
is there anything that couldn't be made a command-line parameter?  If
it's an objection to doing this "blind", then would you be willing to
allow it under the "--expert" switch?

In a batch mode, I'd want to sign one key/name pair at a time.  The
name would be an explicit parameter, rather than overloading the
name used to find the key.  In fact, I'd be happy to require that
the key be identified by full keyID/fingerprint in this case.

I'd also like to be able to delete specific user names from a key.
The same sort of switch (to identify a user name) would be useful.
Yes, one could use the --edit-key switch using the status/command
pseudo-interface, but that's incredibly painful.

[Why do I want this ability: I want to prune a keyring that I could
then use with another application that has lame validation standards,
(or with the "--always-trust" switch).]

Like Chris, I'm willing to write some code if there is a fair
chance that it will be accepted.  If there's an overriding
philosophical objection, though, I'd like to know first.

-----BEGIN PGP SIGNATURE-----
Version: PGP Personal Privacy 6.5.3

iQA/AwUBPPj4CFMkvpTT8vCGEQIAkACfb6ZqeI90Z1GhpMCCqqT/tkSRkJEAniVp
/oN1MrySCUDkVY53Xazf06Yv
=qrMT
-----END PGP SIGNATURE-----






More information about the Gnupg-devel mailing list