07 — PIPs · PIP-0028
Resolving an alias at its holder
The holding member answers RESOLVER for an alias with the PATH address the alias designates. The alias travels in the body of a signed request.
- Number
- PIP-0028
- Status
- implemented
- Type
- Core
- Author
- PATH
- Date
- 2026-11-21
- Source
- On the register
Why
PIP-0017 resolves an alias through PATH FINDER: SONAR names the member that holds it, then RESOLVER at that member says what the destination accepts. GET /resolver/{key} is keyed by a PATH address. This PIP gives RESOLVER its form for an alias, and the PATH address the alias designates.
The lookup
POST /api/path/v1/resolver, at the holding member: the endpoint of the SONAR answer. Member credential required: the request is signed as every member request is (Security).
{
"key": "alias:openconnect:awa.diop",
"nonce": "b0b5c4e2a9d14f6e"
}| Field | Rule |
|---|---|
| `key` | An alias, `alias:<network>:<name>` ([PIP-0017](/pips/0017)) |
| `nonce` | 8 to 128 characters, chosen by the requester |
The body holds these two members and no other.
The answer
A signed resolver_answer, in the shape of GET /resolver/{key}, with three more members inside the signature: key, requester set to the member of the credential, and nonce.
{
"kind": "resolver_answer",
"key": "alias:openconnect:awadiop",
"address": "path:4a91c2f7e8d3",
"requester": "member-a",
"nonce": "b0b5c4e2a9d14f6e",
"standing": "holder",
"valid": true,
"grammar": 2,
"accepts": [
{ "rail": "sepa-inst", "asset_type": "fiat", "asset_code": "EUR" }
],
"limits": {},
"commitment": "8f29c41a…",
"commitment_version": 3,
"protocol_version": "0.2.0",
"signed_at": "2026-11-21T10:00:00Z",
"kid": "op_member_b_2026_01",
"signature": "…"
}| Member | Value |
|---|---|
| `key` | The alias in its normalised form: lower case, separators removed ([PIP-0017](/pips/0017#normalisation)) |
| `address` | The PATH address the alias designates |
| `requester` | The member whose credential signed the request |
| `nonce` | The `nonce` of the request |
| `accepts`, `limits`, `commitment`, `commitment_version`, `standing`, `valid`, `grammar` | Those of `address`, as `GET /resolver/{address}` states them |
The requester checks the signature against the holder's keys, nonce, requester, and key against the alias it asked, by network and name with separators removed.
Rules
addressis an active address of the subject that holds the alias, chosen by the holding member.- The alias travels in the body. It is never placed in a URL.
- An alias that is unknown, not held by this member, released, or not discoverable to the requester answers
404 path.core.not_found. One answer for all of them. - A
keyoutside the alias form, or a body with other members, answers400 path.core.malformed_requestwithdetail.field. - The commitment of
addressis read atGET /commitments/{address}, and the instruction is asked withaddress(PIP-0009). GET /resolver/{key}takes a PATH address. An alias there answers400 path.core.malformed_requestwithdetail.field: "key".
Interface
| Call | Credential | Effect |
|---|---|---|
| `POST /resolver` | Member | RESOLVER for an alias: the answer above |
| `GET /resolver/{key}` | None | RESOLVER for a PATH address. Unchanged, except for an alias |
| Code | Status | When |
|---|---|---|
| `path.auth.unauthenticated` | 401 | `POST /resolver` without a valid credential |
| `path.core.not_found` | 404 | The alias designates no address for this requester |
| `path.core.malformed_request` | 400 | A malformed body, or an alias at `GET /resolver/{key}` |
No new code. The SDK calls the lookup with resolveAlias(alias, { endpointBase }), and finder runs it as step 2 for an alias given in the clear.
Conformance
Part of PATH-FINDER.Directory, on a network that issues aliases. The conformance suite checks that POST to endpoints.resolver without a credential answers 401 (resolver.alias_lookup_signed, PIP-0026).
Compatibility
Additive, except GET /resolver/{alias}, which answers 400 where it answered 404. No signed object changes shape for an address: key and nonce appear only in the answer to an alias lookup.
Implementation
The reference implementation reads the alias among its subjects' identifiers by its hash, and answers the most recent active address of the directory profile of that subject. It keeps no alias in the clear.