ietf-openpgp
[Top] [All Lists]

Re: Secret Key Packets

1998-06-26 06:03:30
-----BEGIN PGP SIGNED MESSAGE-----

In 
<3(_dot_)0(_dot_)2(_dot_)32(_dot_)19980626130402(_dot_)007d8540(_at_)studm(_dot_)hrz(_dot_)uni-siegen(_dot_)de>,
 on 06/26/98

   at 01:04 PM, Christoph Moser <moser(_at_)student(_dot_)uni-siegen(_dot_)de> 
said:

A secret key packet contains :
 - A Public Key or Public Subkey packet, as described above

But how can I find out the length of this Public Key Packet, I mean how
can I find out the length of the algorithm specific data, especially when
a new Algorithm (other then RSA, DSA or Elgamal) is used (e.g. in the
future) ?

Well if a new algorithm is used in the future then the RFC will have to be
updated with the relevent information.

I think the length Header field after the Packet Tag does include the
size of both, the Secret Key Packet with it's included Public Key Packet
?

Yes, the packet size inculdes all the data in the Secret Key Packet. While
the Secret Key Packet containes all the data of a Public Key Packet this
data is not a packet itself. Because of this there is no seperate header
for the public key data.

- -- 
- ---------------------------------------------------------------
William H. Geiger III  http://users.invweb.net/~whgiii
Geiger Consulting    Cooking With Warp 4.0

Author of E-Secure - PGP Front End for MR/2 Ice
PGP & MR/2 the only way for secure e-mail.
OS/2 PGP 5.0 at: http://users.invweb.net/~whgiii/pgp.html
- ---------------------------------------------------------------
 
Tag-O-Matic: This marks Logical End-Of-Message. Physical EOM follows

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3a-sha1
Charset: cp850
Comment: Registered_User_E-Secure_v1.1b1_ES000000

iQCVAwUBNZOedY9Co1n+aLhhAQGN6wP+KyGAmU6Ws0Z2CQ6RSurg7foAYzKw4Lmj
pcILyF13nBr7wI7ucFqa+rmZYGeU4wUyrGk42l9x8tFbKwkH2XxCN0RdDDJ3DiC5
4XyguUsk6N6KGtiwSi7l48DLx6xRcaoAQ06DJI5vu3bzOh17EZREoZW6AZdiEu6g
FQtW/FaC/WU=
=6Mzo
-----END PGP SIGNATURE-----



<Prev in Thread] Current Thread [Next in Thread>