[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Debian] Default Key bei GnuPG

Hello Norbert,

* Norbert Tretkowski wrote:

> Moins,
> folgendes Problem:  Ich editiere meinen Key, und im Listing werden mir
> meine UID's aufgefuehrt.  Eine davon hat einen '.' (Punkt) vor dem Namen
> und scheint die Default UID zu sein.  Wie kann ich diese aendern?

Dann vermute ich das du gnupg 1.0.5 verwendest, vorher gab
es glaube ich keine default uid. Hier die Antwort von Werner Koch
auf meine Frage diesbezüglich:
On Tue, 1 May 2001, Waldemar Brodkorb wrote:

> Is it possible to change the primary uid?

We can't yet set the primary key id flag.  I think this ugly
workaround should help:

 1. Make a local copy of your public and your secret key.
   (use --export and --export-secret-key)
 2. Use deluid to remove all non-primary user IDs
 3. Use expire to change the expiration time of the main key
 4. Save
 5. Optional: Edit key again and change expiration time back to the
    old value.
 6. Wait one second (in case you are using a script)
 6. Use --import --allow-secret-key-import to import your
    backup public and secret key from step 1 again.

The newer signatures should take precedence over the ones from the
backup key and therefore you have one user ID with a newer timestamp
and in absence of a primary key flag, this one will count as primary

I have not tested this and I know that it is ugly.

The plan is to have a self-signature update capability per user ID
which can the be used to change such things.  This will probably not
update the timestamp of the self-signature but just set it one
second ahead.  I am not sure on this point, though.


"The PROPER way to handle HTML postings is to cancel the article, then
hire a hitman to kill the poster, his wife and kids, and fuck his dog
and smash his computer into little bits. Anything more is just
extremism."     -- Paul Tomblin

Reply to: