ietf-openpgp
[Top] [All Lists]

V4 Sig. incomplete?

2000-07-12 21:10:40
To all concerned:

With reference to 5.4; the second last paragraph states that a version 4 signature has a final trailer of 6 octets, being:

0x04 or 0xFF, a four octet big endian number

This is only 5 octets...does anybody know what the 6th octet is? ...or is a V4 signature final trailer only 5 octets?

TIA for the clarification.

PS: Can anyone please confirm the following (hashed data is appended by the | symbol)

1) V4 Sig., type 0x10. Hash then concatenate the following for feeding into the DSA (assuming DSA sig):

public DSA keys (this line not hashed)

0x99                                    |
2 octet length                          |
MPI of DSA prime p                      |
MPI of DSA grooup order q               |
MPI of DSA group generator g            |
MPI of DSA public key value y           |

+

user id (this line not hashed)

0xb4                                    |
4 octet length                          |
username data                   |

version field to end of hashable data   |

0x04                                    |
4 octet length                          |
? (see previous question re 5.4)        |


2) V4 Sig., type 0x18. Hash then concatenate the following for feeding into the DSA (assuming DSA signature keys and ElGamal encryption keys):

public DSA keys (this line not hashed)

0x99                                    |
2 octet length                          |
MPI of DSA prime p                      |
MPI of DSA grooup order q               |
MPI of DSA group generator g            |
MPI of DSA public key value y           |

+

public ElGamal keys (this line not hashed)

0x99                                    |
2 octet length                          |
MPI of ElGamal prime p          |
MPI of ElGamal grooup order q           |
MPI of ElGamal public key value y       |

version field to end of hashable data   |

0x04                                    |
4 octet length                          |
? (see previous question re 5.4)        |

Once again, thanks for any clarification.

Regards


Erron Criddle
Comasp Ltd.
Level 2, 45 Stirling Hwy
NEDLANDS  WA  6009

Fax: 08 9386 9473
Tel: 08 9386 9534

http://www.comasp.com
ejc(_at_)comasp(_dot_)com












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