Scott Kitterman wrote in
 <761f8d9b-0fcf-4274-8b07-a53d29521...@kitterman.com>:
 |On May 8, 2024 11:25:11 PM UTC, Steffen Nurpmeso <stef...@sdaoden.eu> \
 |wrote:
 ...
 |>Therefore i took RFC 8032 from Simon Josefsson[.]
 ...
 |>[.]and it occurred to me that my sofware generates
 |>correct signatures.[.]
 |>
 |>I come here because alongside the above i had a look at RFC 8463
 |>again, and its example in "A.3.  Signed Message".
 |>And if i use its "A.1.  Secret Keys", and (manually) normalize the
 |>example message header of A.3 via "relaxed" from/to 
 ...
 |>[.]and pass that through RFC 8032 code:
 |>
 |>  privkey: b'nWGxne/9WmC6hEr0kuwsxERJxWl7MmkZcDusAxyuf2A=\n'
 |>  pubkey : b'11qYAYKxCrfVS/7TyWQHOg7hcvPapiMlrwIaaPcHURo=\n'
 |>  The message is:
 |>>>>b'from:Joe SixPack <j...@football.example.com>\r\nto:Suzie Q <suzie@shop\
 |>>>>ping.example.net>\r\nsubject:Is dinner ready?\r\ndate:Fri, 11 Jul \
 |>>>>2003 21:00:37 -0700 (PDT)\r\nmessage-id:<20030712040037.46341.5F8J@foot\
 |>>>>ball.example.com>\r\ndkim-signature:v=1; a=ed25519-sha256; c=relaxed/re\
 |>>>>laxed; d=football.example.com; i=@football.example.com; q=dns/txt; \
 |>>>>s=brisbane; t=1528637909; h=from : to : subject : date : message-id \
 |>>>>: from : subject : date; bh=2jUSOH9NhtVGCQWNr9BrIAPreKQjO6Sn7XIkfJVOzv8\
 |>>>>=; b='<<<
 |>
 |>then i get
 |>
 |>  Signature: b'QGeDV9CRdXSybek0z54GoycZ4/kl1PsNnGoOsCZ0ZOOwiGYFE8Ft0SZpy1X\
 |>  LW/fwlwNFC1k6VaxsnQAH8+9cAA==\n'
 |>  Signature verifies: True
 |>
 |>instead of the
 |>
 |>  /gCrinpcQOoIfuHNQIbq4pgh9kyIK3AQUdt9OdqQehSwhEIug4D11BusFa3bT3FY5OsU7Zbn\
 |>  KELq+eXdp1Q1Dw==
 |>
 |>of RFC 8463.[.]
 ...
 |There are multiple implementations that are interoperable with each \
 |other and match the values in the RFC.  My first guess would not be \
 |a specification error.

I created an errata.  (I have not verified the body hash first.)

P.S.: btw this terrible page now uses two captchas, but since
i have turned on umatrix for IETF the world has seen me passing
by.  What a terrible technology.

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)

_______________________________________________
Ietf-dkim mailing list -- ietf-dkim@ietf.org
To unsubscribe send an email to ietf-dkim-le...@ietf.org

Reply via email to