Changing usage of master key
Resul Cetin
Resul-Cetin at gmx.net
Mon May 18 17:47:29 CEST 2009
On Monday 18 May 2009 16:46:02 Resul Cetin wrote:
> On Monday 18 May 2009 16:35:29 Christoph Anton Mitterer wrote:
> > In principle it is possible by issuing new self-sigs, but gnupg
> > doesn't support this AFAIK.
>
> I will look at the gnupg source code to try to find the correct section to
> manipulate the usage. But the info that it can be handled by a new self
> signature helps a lot. Now I know that it doesn't get ignored by the
> information stored on the key server. Thanks
Ok, it was quite easy to do (not clean, but it could be done in a fast and
hackish way). Just searched for gnupg-1.4.9/g10/getkey.c:parse_key_usage and
changed p to non-const and always set "(*p) &=~2;". Afterwards I started my
new compiled hackish-gpg --edit-key and set the expire of my master key. After
this procedure I had only the Cert flag set. Thanks Christoph - you are my
personal hero of the day :)
Regards,
Resul Cetin
More information about the Gnupg-users
mailing list