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

Re: Calculating signature over private key



<mkuusio@xxxxxxxxx> writes:
> I am calculating a signature over private keypair. How the data to be
> signed differs from the public key? Are the fields: Salt, Initial vector,
> Coded count, encrypted dsa x, encrypted sha1 hash (20 octets) included to
> the signed data? Can someone clarify this?

OpenPGP does not support the notion of calculating a signature over a
private keypair.

Generally a signature is done on a public key as part of a certification
of that key that will be publicly available.  Signing a private key
would not be useful because the private key material is normally not
shared with others, so signature verification would be impossible.

Hal