question about the keys
Neil Williams
linux at codehelp.co.uk
Fri Feb 13 10:30:43 CET 2004
On Fri, Feb 13, 2004 at 09:00:58AM +0100, Markus Innerebner wrote:
> Hello,
> i have a question about public and private key:
> is it possible that public and private key have the same content
The content is complementary, not identical. The secret key must identify
itself as the other half of the corresponding public key so that might
give the impression that it is the same.
> when i tip:
>
> /C:\bin>gpg --list-key /
>
> and or
>
> /C:\bin>gpg --list-secret-key/
>
> it appears the same content except that at the begin appears
>
> /pub ......... in the public
> sec.......... in the private /
>
--list is only showing the basic summary information of the key, it's
not listing the actual contents of the keys. You could export the two
keys in ASCII armour to the console but that will only show you that the
two keys differ in size, depending on how many people have signed your
public key.
That 'sec' is the critical difference. The rest of the list display is
concerned with identifying which 'sec' to use with which public key.
Public and private act as a pair.
--
Neil Williams
=============
http://www.codehelp.co.uk/
http://www.dclug.org.uk/
http://www.isbn.org.uk/
http://sourceforge.net/projects/isbnsearch/
http://www.biglumber.com/x/web?qs=0x8801094A28BCB3E3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : /pipermail/attachments/20040213/c6226337/attachment.bin
More information about the Gnupg-users
mailing list