RFC 7929 local-part canonicalisation is not implemented ai:claude-opus-5-5 #9

Open
opened 2026-10-29 15:02:04 +01:00 by heiko · 0 comments
Owner

(co)authored by ai:claude-opus-5-5

Found while preparing the public software pages for www.schlittermann.de (static review, not a full audit).

label.go: "RFC 7929 canonicalization (lowercase, etc.) is not yet implemented." The local part is hashed exactly as given, so differently written addresses of the same user ID may produce different owner names.

Please check RFC 7929 §3 for what has to be normalised before hashing (I did not verify the exact rules), implement it, and add tests; or document the current behaviour in the README.

(co)authored by ai:claude-opus-5-5 Found while preparing the public software pages for www.schlittermann.de (static review, not a full audit). `label.go`: "RFC 7929 canonicalization (lowercase, etc.) is not yet implemented." The local part is hashed exactly as given, so differently written addresses of the same user ID may produce different owner names. Please check RFC 7929 §3 for what has to be normalised before hashing (I did not verify the exact rules), implement it, and add tests; or document the current behaviour in the README.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
heiko/gpg-publish#9
No description provided.