DKIM Signing Algorithm AdaEd25519-SHA256
draft-nurpmeso-dkim-algo-adaed25519-00
This document is an Internet-Draft (I-D).
Anyone may submit an I-D to the IETF.
This I-D is not endorsed by the IETF and has no formal standing in the
IETF standards process.
The information below is for an old version of the document.
| Document | Type |
This is an older version of an Internet-Draft whose latest revision state is "Expired".
|
|
|---|---|---|---|
| Author | Steffen Nurpmeso | ||
| Last updated | 2024-10-04 | ||
| RFC stream | (None) | ||
| Formats | |||
| Stream | Stream state | (No stream defined) | |
| Consensus boilerplate | Unknown | ||
| RFC Editor Note | (None) | ||
| IESG | IESG state | I-D Exists | |
| Telechat date | (None) | ||
| Responsible AD | (None) | ||
| Send notices to | (None) |
draft-nurpmeso-dkim-algo-adaed25519-00
Internet Engineering Task Force S. Nurpmeso, Ed.
Internet-Draft 5 October 2024
Updates: 6376 (if approved)
Intended status: Informational
Expires: 8 April 2025
DKIM Signing Algorithm AdaEd25519-SHA256
draft-nurpmeso-dkim-algo-adaed25519-00
Abstract
This memo adds the DKIM (RFC 6376) signing algorithm
AdaEd25519-SHA256. It is identical to Ed25519-SHA256 (RFC 8463)
except for its use of DKIM hash algorithm adaptivity (draft-nurpmeso-
dkim-hash-adaptivity-00). Private and public keys are identical, and
can be used interchangeably.
Status of This Memo
This Internet-Draft is submitted in full conformance with the
provisions of BCP 78 and BCP 79.
Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF). Note that other groups may also distribute
working documents as Internet-Drafts. The list of current Internet-
Drafts is at https://datatracker.ietf.org/drafts/current/.
Internet-Drafts are draft documents valid for a maximum of six months
and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress."
This Internet-Draft will expire on 8 April 2025.
Copyright Notice
Copyright (c) 2024 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents (https://trustee.ietf.org/
license-info) in effect on the date of publication of this document.
Please review these documents carefully, as they describe your rights
and restrictions with respect to this document. Code Components
extracted from this document must include Revised BSD License text as
described in Section 4.e of the Trust Legal Provisions and are
provided without warranty as described in the Revised BSD License.
Nurpmeso Expires 8 April 2025 [Page 1]
Internet-Draft DKIM Signing Algorithm AdaEd25519-SHA256 October 2024
Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2
2. AdaEd25519-SHA256 . . . . . . . . . . . . . . . . . . . . . . 2
2.1. Syntax . . . . . . . . . . . . . . . . . . . . . . . . . 2
3. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 3
4. Security Considerations . . . . . . . . . . . . . . . . . . . 3
5. References . . . . . . . . . . . . . . . . . . . . . . . . . 3
5.1. Informative References . . . . . . . . . . . . . . . . . 3
Author's Address . . . . . . . . . . . . . . . . . . . . . . . . 4
1. Introduction
Ed25519-SHA256[RFC8463], which defines a DKIM key type for
Ed25519[RFC8032], became standardized in 2018, but has not gained
much traction in the six years since its introduction. A survey of
DKIM implementations revealed necessity for error prone extra code
paths to implement it with existing APIs. In addition the
DKIM[RFC6376] algorithm of how "Computing the Message Hashes" for
IMF[RFC5322] messages causes Ed25519-SHA256 to create a 64-byte SHA-
256[RFC6234] "data-hash" input for Ed25519, which is then "prehashed"
with the stronger SHA-512[RFC6234] that expands to 128 bytes.
AdaEd25519-SHA256 bases upon DKIM Hash Algorithm
Adaptivity[I-D.nurpmeso-dkim-hash-adaptivity] that takes advantage of
algorithm progress and digital signature API reality.
2. AdaEd25519-SHA256
AdaEd25519-SHA256 is identical to Ed25519-SHA256[RFC8463] except that
it uses DKIM Hash Algorithm
Adaptivity[I-D.nurpmeso-dkim-hash-adaptivity]: the DKIM[RFC6376]
(section 3.7) "hash-alg" SHA-256[RFC6234] is only used to produce the
"body-hash", and "sig-alg" is fed in all the input used to create the
"data-hash". Private and public keys are identical, and can be used
interchangeably.
| INFORMATIVE NOTE: Even though [RFC8410] defined ASN.1 Object
| Identifiers (OIDs) for Ed25519, it was considered more important
| to keep compatibility with actively used Ed25519-SHA256 keys, than
| to support ASN.1 standard means of inspecting key data blobs.
2.1. Syntax
The "sig-a-tag-k" ABNF definition of DKIM[RFC6376] (section 3.5), as
well as the "key-k-tag-type" ABNF definition of DKIM[RFC6376]
(section 3.6.1) are both extended by an entry "adaed25519".
Nurpmeso Expires 8 April 2025 [Page 2]
Internet-Draft DKIM Signing Algorithm AdaEd25519-SHA256 October 2024
3. IANA Considerations
This memo requests adding the new key type "adaed25519" to the "DKIM
Key Type" registry.
4. Security Considerations
This specification should reduce implementation burden and
complexity, aids hash hardening of affected algorithms to a certain
extend, and potentially increases, dependent upon algorithm, data
volume and API optimization efforts, processing performance.
5. References
5.1. Informative References
[RFC5322] Resnick, P., Ed., "Internet Message Format", RFC 5322,
DOI 10.17487/RFC5322, October 2008,
<https://www.rfc-editor.org/info/rfc5322>.
[RFC6234] Eastlake 3rd, D. and T. Hansen, "US Secure Hash Algorithms
(SHA and SHA-based HMAC and HKDF)", RFC 6234,
DOI 10.17487/RFC6234, May 2011,
<https://www.rfc-editor.org/info/rfc6234>.
[RFC6376] Crocker, D., Ed., Hansen, T., Ed., and M. Kucherawy, Ed.,
"DomainKeys Identified Mail (DKIM) Signatures", STD 76,
RFC 6376, DOI 10.17487/RFC6376, September 2011,
<https://www.rfc-editor.org/info/rfc6376>.
[RFC8032] Josefsson, S. and I. Liusvaara, "Edwards-Curve Digital
Signature Algorithm (EdDSA)", RFC 8032,
DOI 10.17487/RFC8032, January 2017,
<https://www.rfc-editor.org/info/rfc8032>.
[RFC8410] Josefsson, S. and J. Schaad, "Algorithm Identifiers for
Ed25519, Ed448, X25519, and X448 for Use in the Internet
X.509 Public Key Infrastructure", RFC 8410,
DOI 10.17487/RFC8410, August 2018,
<https://www.rfc-editor.org/info/rfc8410>.
[RFC8463] Levine, J., "A New Cryptographic Signature Method for
DomainKeys Identified Mail (DKIM)", RFC 8463,
DOI 10.17487/RFC8463, September 2018,
<https://www.rfc-editor.org/info/rfc8463>.
Nurpmeso Expires 8 April 2025 [Page 3]
Internet-Draft DKIM Signing Algorithm AdaEd25519-SHA256 October 2024
[I-D.nurpmeso-dkim-hash-adaptivity]
Nurpmeso, S., "DKIM Hash Algorithm Adaptivity", Work in
Progress, Internet-Draft, draft-nurpmeso-dkim-hash-
adaptivity-00, 4 October 2024,
<https://datatracker.ietf.org/api/v1/doc/document/draft-
nurpmeso-dkim-hash-adaptivity/>.
Author's Address
Steffen Nurpmeso (editor)
Email: steffen@sdaoden.eu
Nurpmeso Expires 8 April 2025 [Page 4]