HIP: Named Service Authority for Handshake - #79
Draft
denuoweb wants to merge 3 commits into
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
hsa1TXT root key and epoch, root-signed named service authorizations, and service-signed endpoint delegationsMotivation
Handshake authenticates names and DNS resource data but does not provide an implementation-independent format for delegating named application services. Applications otherwise need to expose a name wallet key, invent separate TXT key formats, trust a directory or relay endpoint, or define the same authority chain inside every transport proposal.
HNSA keeps the HNS name as the root of identity while allowing service operators, providers, and devices to use independently scoped and replaceable keys.
User-facing cases
web,chat, andfilesbeneath one HNS name with independent keysAuthority chain
The current HNS record provides root replacement and global epoch revocation. Finite service and endpoint authorizations limit stale authority, while separate service keys prevent compromise of one application from affecting unrelated services or name custody.
Scope
This HIP defines service identity, canonical service names, root and endpoint delegation objects, signature domains, replacement and expiry rules, validation, implementation limits, browser-origin requirements, and the interface required from service profiles.
It does not define relay routing, endpoint discovery, HTTP or TLS behavior, IP allocation, ASNs, RPKI, BGP, ports, protocol numbers, link-layer identifiers, or a generic Internet resource registry. Version 1 uses existing HNS version
0TXT data and requests no consensus change or permanent wire assignment.Relationship to HNSR
HNSA extracts named-service authority from the transport-specific HNSR design. HNSA authorizes the service and endpoint keys; HNSR may separately discover a currently online endpoint and relay its traffic.
The current HNSR draft uses
hnsr1and HNSR-specific signature domains. The HIP requires a separate HNSR revision or explicit transition before claiming wire compatibility, while unnamed HNSR node rendezvous remains independent.Implementation path
hsa1root recordValidation
markdownlint-cli2 HIP-xxxx-HNSA.mdgit diff --check origin/master...HEAD