这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@AGWA
Copy link
Contributor

@AGWA AGWA commented Mar 15, 2021

Closes: #43

RFC 6376 is inconsistent about whether RSA public keys should be
formatted as RSAPublicKey or SubjectPublicKeyInfo.  Erratum 3017
(https://www.rfc-editor.org/errata/eid3017) proposes allowing both.

This commit changes the verifier to accept both formats, and changes
dkim-keygen to generate keys in SubjectPublicKeyInfo format for
consistency with other implementations including opendkim, Gmail,
and Fastmail.

Closes: emersion#43
Copy link
Owner

@emersion emersion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks a lot!

@emersion emersion merged commit 4ecd9a7 into emersion:master Mar 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RSA Public Key Format Inconsistency

2 participants