About UIDs

Inamdar, Guruprasad gi185002 at ncr.com
Thu Oct 16 15:24:16 CEST 2008

I am sorry but I didn't get your last message.

1) I tried to import the key again (I deleted all the keyring files

C:\Documents and Settings\xxxxxx\Desktop>gpg --import newkey.asc
gpg: keyring `C:/Documents and Settings/xxxxxx/Application
Data/gnupg\secring.gpg' created
gpg: keyring `C:/Documents and Settings/xxxxxx/Application
Data/gnupg\pubring.gpg' created
gpg: key FBCFC5F9: secret key imported
gpg: key FBCFC5F9: no valid user IDs
gpg: this may be caused by a missing self-signature
gpg: Total number processed: 1
gpg:           w/o user IDs: 1
gpg:       secret keys read: 1
gpg:   secret keys imported: 1

2) And now If I try to see it using gpg --list-secret-key. I can see it.

C:\Documents and Settings\xxxxxx\Desktop>gpg --list-secret-key
gpg: C:/Documents and Settings/gi185002/Application
Data/gnupg\trustdb.gpg: trustdb created
C:/Documents and Settings/xxxxxx/Application Data/gnupg\secring.gpg
sec   1024R/FBCFC5F9 2008-10-06
uid                  vijay
ssb   1024R/BE7137CF 2008-10-06
3) But if I try to decrypt the file using my private key -
C:\Documents and Settings\xxxxxx\Desktop>gpg --decrypt file.pgp
gpg: key FBCFC5F9: secret key without public key - skipped
gpg: encrypted with RSA key, ID FBCFC5F9
gpg: decryption failed: secret key not available

I know PGP can generate public key automatically if its missing from
keyring. Is there any option with GPG. 

So Is there anything wrong with my key? And How can I use gpgsplit to
create public key.?

-----Original Message-----
From: gnupg-users-bounces at gnupg.org
[mailto:gnupg-users-bounces at gnupg.org] On Behalf Of Werewolf
Sent: Thursday, October 16, 2008 9:07 AM
To: gnupg-users at gnupg.org
Subject: Re: About UIDs

Hash: SHA1

So does using --edit-key/uid #/primary/save combo just show what uid is
displayed when the message is decrypted/verified by a recipient?	
- --

  Skype: Werewolf6851
===== Instant Messenger Accounts ======
 Yahoo: lover_of_lycra
   ICQ: 304325894
   MSN: lover_of_lycra at hotmail.com
   AIM: LycraloverWolf
 GPG key 76E6C1BC with following fingerprint
D508 2C9D B3A9 2F0E E472  95A8 2D8C B9E6 76E6 C1BC
Inara: "This is pointless, you know."

Early: "200,000 seems fairly pointed to me."
				--Episode #14, "Objects in Space"

David Shaw wrote:
> On Oct 14, 2008, at 6:22 PM, Faramir wrote:
>> I have a question about the UID associated to the key: Are they 
>> placed in the public key, or in both private and public keys?
>> And, if I have a key with 2 UIDs, and I sign another key (lets say, I

>> sign Alice's key), will be both UIDs be displayed in the signatures, 
>> or just the one that was my primary UID at the moment when I signed 
>> Alice's key?
> Neither.  Signatures only contain the key ID of the key making the 
> signature.  When displaying signatures, GPG shows the primary UID of 
> that key at display time.  In other words, if you sign a key with one 
> primary UID, then make another UID primary, the display will change to

> show the new primary.
> There is, incidentally, a way of encoding which UID the signer "meant"
> the signature to be from.  It's part of the OpenPGP standard, but no 
> software that I know of actually uses it.
> David
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users at gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


Gnupg-users mailing list
Gnupg-users at gnupg.org

More information about the Gnupg-users mailing list