Determining whether a key has been signed

Bernhard Herzog bh@intevation.de
22 Jan 2001 14:36:14 +0100


Peter Gerwinski <peter@gerwinski.de> writes:


> Bernhard Herzog wrote:
> >
> > OK. That's what I've done now (code is in the keyring_editor_can_sign
> > function in keyring.c). I noticed, though that the self signature of the
> > key is apparently not present in the list of signatures I get with
> > gpapa_public_key_get_signatures. Is that by design or is it an
> > implementation detail. I'm a bit surprised by this, because gpg
> > --list-sigs lists the self signature just like the other signatures.
>
> I intentionally took out the self signature off this list because
> I thought it is nothing but confusing for the user. Thinking over
> that it seems to me that it's not GPAPA's job to decide what to
> present to the user.
>
> So I can put it back if you prefer that.
Yes, it makes more sense to leave that decision to the GUI part. The simple UI may want to suppress displaying the self-signature, the advanced UI may want to make it ause preference. Something else about the signatures in gpapa: gpg --list-sigs shows the signatures for each if the user id's associated with a key. Gpapa doesn't even seem to have a way to find out which UIDs belong to a given key, let alone getting a list of sigs for it. Bernhard -- Intevation GmbH http://intevation.de/ Sketch http://sketch.sourceforge.net/ MapIt! http://mapit.de/