Context
PR #108 merged draft WireGuard (wg) support with multibase base64url (u prefix). Library behavior is correct; this tracks non-blocking improvements identified in review (including the fable pass on 8be3a8b / post-merge head).
Upstream spec registration stays in #123 — this issue is code/tests only.
Suggested scope
References
Notes
None of the above blocked merge; tackle as a small follow-up PR when convenient.
Context
PR #108 merged draft WireGuard (
wg) support with multibase base64url (uprefix). Library behavior is correct; this tracks non-blocking improvements identified in review (including the fable pass on8be3a8b/ post-merge head).Upstream spec registration stays in #123 — this issue is code/tests only.
Suggested scope
wg(8)keys — std-base64 that starts withu, paddedu…=, etc. should hint at the docstring conversion path (base64→multibase.encode('base64url', …)) instead of opaque multibase decode failures.certhashvalidation pattern — route length checks throughself.validate(); useValueErrorfromto_stringwhere appropriate to avoid double-wrappedBinaryParseErroron edge calls.u!!!,u-prefixed body containing+; optional invalidMultiaddrvector with+in the wg segment.certhash(dedup + narrower exception handling).os.urandomin length/validate tests; docstringasciivsutf-8align.References
wg(WireGuard) protocol support #108 (merged)wg(WireGuard) protocol support #108 (comment)wg(WireGuard) protocol support #108 (comment)Notes
None of the above blocked merge; tackle as a small follow-up PR when convenient.