[openpgp] Re: AD review of draft-ietf-openpgp-pqc-12
Falko Strenzke <[email protected]>
| Newsgroups | gmane.ietf.openpgp |
|---|---|
| Organization | MTG AG |
| Message-ID | <[email protected]> |
Hi Paul, thank you for your review comments. Here I am addressing one that can be easily answered. Am 12.09.25 um 22:22 schrieb Paul Wouters: > The value domSep is a constant set to the UTF-8 encoding of the > string "OpenPGPCompositeKDFv1", that is: > > domSep = 4F 70 65 6E 50 47 50 43 6F 6D 70 6F 73 69 74 65 4B 44 46 > 76 31 > > > $ echo -n OpenPGPCompositeKDFv1| hexdump > 0000000 704f 6e65 4750 4350 6d6f 6f70 6973 6574 > 0000010 444b 7646 0031 > > Should a note be added about the byte string being network/host order ? Byte order doesn't come into play in the encoding of the string. "OpenPGPCompositeKDFv1" is a string of characters, when encoded into ASCII that happens byte by byte so naturally in the same order. The command output you posted is itself an artifact, as hexdump by default groups the bytes into sets of two and then inverts the order. Use echo -n OpenPGPCompositeKDFv1| hexdump -C to get byte wise output and you will see that it matches the byte string in the draft. Best regards, Falko -- *MTG AG* Dr. Falko Strenzke Phone: +49 6151 8000 24 E-Mail: [email protected] Web: mtg.de <https://www.mtg.de> ------------------------------------------------------------------------ MTG AG - Dolivostr. 11 - 64293 Darmstadt, Germany Commercial register: HRB 8901 Register Court: Amtsgericht Darmstadt Management Board: Jürgen Ruf (CEO), Tamer Kemeröz Chairman of the Supervisory Board: Dr. Thomas Milde This email may contain confidential and/or privileged information. If you are not the correct recipient or have received this email in error, please inform the sender immediately and delete this email.Unauthorised copying or distribution of this email is not permitted. Data protection information: Privacy policy <https://www.mtg.de/en/privacy-policy> _______________________________________________ openpgp mailing list -- [email protected] To unsubscribe send an email to [email protected]
smime.p7s
(application/pkcs7-signature, 4.9 KB) - not displayed