NL

← All specifications · Markdown

vDNS: Verifiable Domain Holder and DNS State Assurance

Documentdraft-esreal-vdns-00
StatusDraft for public comment. Not an IETF document.
CategorySpecification (normative where marked)
Date12 November 2026
EditorEsReal BV
Reference implementationvproof-js (MIT), see Appendix C

Abstract

A visitor on a website cannot tell from the address bar whether the domain belongs to the organisation it appears to belong to, nor whether the domain's DNS is still in the state its holder set up. Existing mechanisms either warn after harm has been reported (blocklists), or establish control of a name without establishing who holds it (domain-validated certificates).

vDNS specifies a way for a domain holder to publish evidence about its own domain that any party can recompute without trusting the publisher, the issuer of the evidence, or the operator of this specification. The evidence binds four things to one 32-byte value: the identity of the holder, checked against an official register; the state of the domain's DNS at a moment; that moment, attested by a time-stamping authority; and the holder's endorsement, published in the domain's own DNS zone. The value is additionally recorded in a public blockchain.

This document defines the register of verified domain holders (vDOMAIN), the proof bundle, the minimum of the vURL format a verifier needs, the anchoring, the holder's DNS endorsement, the verification procedure, and the rules for presenting a result to a person.

Status of this document

This is a first public draft. Formats marked frozen are already in production use: their values are recorded on public blockchains and inside time-stamped data, and they cannot change without invalidating evidence that has been issued. Everything else may change before a final version. Comments are welcome; see Section 17.

"EsReal" is a registered word mark of EsReal BV. vDNS, vDOMAIN and vURL are used in this document as the names of the mechanisms it specifies.

Table of contents

  1. Introduction
  2. Conventions and terminology
  3. What vDNS asserts, and what it does not
  4. Roles
  5. The vDOMAIN register
  6. The proof payload
  7. The vURL, as far as vDNS needs it
  8. Anchoring
  9. The holder's endorsement: the _etip record
  10. Discovery and the proof bundle
  11. Verification
  12. Assurance levels
  13. Presenting a result
  14. Security considerations
  15. Privacy considerations
  16. Versioning and frozen formats
  17. Implementation status and contact
  18. References

Appendix A. Test vectors Appendix B. Payload construction rules Appendix C. Reference implementation Appendix D. Open issues

1. Introduction

1.1 The problem

The most effective attack on a website's visitors is not on the website. It is a copy of it, on a domain that reads almost the same, where the visitor enters credentials or confirms a payment. The copy has a valid certificate, because a domain-validated certificate only establishes that someone controls the copied name. Blocklists catch it only after someone has seen it, reported it, and the list has propagated; the attack lives in that window.

1.2 The inversion

vDNS does not try to recognise the copy. It lets the original prove that it is the original. A visitor, a browser extension, an agent or a service can then confirm a participating domain positively, with evidence it recomputes itself, instead of waiting for a warning about the domain it is not on.

A copy cannot reproduce that evidence. To do so it would have to control, at the same time, the DNS of the original domain, the time-stamping authority, a public blockchain, and the original domain's DNS zone. It controls none of them.

1.3 Design rule

Only what is hashed is evidence. Everything else is a report.

Every field this document calls evidence is inside bytes that are hashed into the value that is time-stamped and anchored. Every other field is a convenience assembled by an issuer when it is read, and a verifier MUST NOT rely on it as evidence.

2. Conventions and terminology

The key words MUST, MUST NOT, REQUIRED, SHALL, SHALL NOT, SHOULD, SHOULD NOT, RECOMMENDED, MAY and OPTIONAL are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals.

TermMeaning
domaina fully qualified domain name, compared in lowercase, without trailing dot, in its A-label (punycode) form
holderthe legal entity that holds a domain
vDOMAINa domain whose holder has been checked against an official register and recorded as verified in a vDOMAIN register (Section 5)
vDNS proofa published, verifiable record of a domain's DNS at one moment, bound to its holder, to that moment and to a public blockchain (Sections 6 to 10)
payloadthe JSON object that carries the evidence of a vDNS proof
canonical JSONthe serialisation in Section 6.3
datahashSHA-256 over the canonical JSON of the payload
vURLthe link that identifies a proof and carries datahash (Section 7)
url_hashSHA-256 over the canonical vURL string. The value everything else binds to
issuerthe service that creates a proof and its vURL
TSAa time-stamping authority as defined in [RFC3161]
anchorthe record of a value in a public blockchain transaction (Section 8)
_etip recordthe TXT record by which the holder endorses one proof in the domain's own zone (Section 9)
verifierany party that checks a proof: a person, a browser extension, an agent, a service
subject domainthe domain a proof is about (payload.domain)
look-alikea domain resembling a real one, intended to make someone act on the wrong site

All hashes are SHA-256 [FIPS180-4]. Where a hash is written as text it is lowercase hexadecimal. Where hashes are combined, the raw 32-byte values are combined, never their hexadecimal text.

3. What vDNS asserts, and what it does not

3.1 The question

vDNS answers exactly one question:

Is this domain still the domain that was recorded, and is there a verified legal entity behind it?

That is a question about integrity and identity. It exists because of one attack: the look-alike.

3.2 What it does not answer

vDNS makes no statement about:

Implementations MUST NOT present a vDNS result as a judgement about any of the above.

3.3 Relation to existing mechanisms

MechanismWhat it establishesWhat vDNS adds
DNSSEC [RFC4033]DNS answers were not altered in transitwhich legal entity holds the zone, and what the zone contained at a moment
Domain-validated certificatecontrol of a name at issuancethe identity of the holder, checked against an official register
Organisation/extended validation certificatean identity at issuance, no longer shown by browsersthe DNS state over time, and a holder endorsement outside the web server
Certificate Transparency [RFC9162]a certificate was loggedevidence about the domain's DNS and holder, not about certificates
Blocklists and reputationreports about known-bad URLspositive confirmation of a participating domain, before any harm
Trust seals on a pagethat an image is on a pageevidence that is not on the page and cannot be copied to another domain

vDNS is complementary to all of them. It does not replace DNSSEC, TLS or certificate validation.

4. Roles

RoleHoldsTrusted by a verifier for
Holderthe domain and its DNS zonethe _etip endorsement, which only the zone can publish
Validatorthe identity check of a holder against an official registernothing beyond what is anchored; see Section 5.4
Register operatorthe vDOMAIN registernothing beyond what is anchored and recomputable
Issuerthe creation of proofs and vURLsone named check only (Section 11.10); everything else is recomputable
TSAits signing keythe time in its token, under its own certificate chain
Public blockchainits ledgerthat a value existed no later than a block
Verifiernothing—

One organisation MAY act in several roles. A verifier MUST NOT need to trust the issuer, the register operator or the validator for any check except the one named in Section 11.10.

The four parties a forger would have to control at once are the holder's DNS zone, the TSA, the blockchain and, for the live comparison, the DNS itself as seen through independent resolvers. None of them is the issuer.

5. The vDOMAIN register

5.1 Purpose

A vDOMAIN register records that the holder of a domain has been identified against an official register, and with what result. It is the identity leg of a vDNS proof.

Being in the register addresses the look-alike at the root: whoever impersonates an organisation does not get entered in the register under the name of the organisation it impersonates. It does not cover the live website; that is the task of the proof (Section 6).

5.2 What is published

A register MUST NOT publish domain names in clear in its anchored data. Each entry is identified by

domain_hash = sha256( domain )

over the UTF-8 bytes of the domain in the form defined in Section 2.

An entry carries at least:

FieldMeaning
domain_hashas above
statuspending, verified or revoked
org_namethe name of the legal entity, as on the official register
validationthe register's validation flags. A register MUST document the flags it uses
anchorchain, root, txid of the anchoring of the batch containing this entry

A register MUST NOT publish the names of natural persons in an entry.

5.3 Status values

statusMeaning
pendingthe holder applied; the identity check is not complete. A verifier MUST NOT treat it as verified
verifiedthe identity check succeeded and is recorded
revokeda previously verified entry is no longer in use or no longer valid. The history remains

A register MUST NOT delete an entry that has been anchored. A change is a new state of the entry, anchored again.

5.4 The identity check

A validator MUST check the holder against an official register of legal entities in the holder's jurisdiction (for Belgium, the Crossroads Bank for Enterprises), and SHOULD check the VAT number where one exists. The validator records the registration number and the country.

The quality of a vDOMAIN entry is the quality of that check. A verifier cannot recompute it; what a verifier can recompute is that the entry exists, has not been rewritten since it was anchored, and what it said at the moment a proof was issued (Section 6.4).

5.5 Lifecycle

EventEffect
createa new entry, pending, then verified after the check
stopthe entry becomes revoked. Proofs issued while it was verified remain valid for that period
restarta revoked entry becomes verified again, after a new check

A domain used by a holder on a third-party platform (for example holder.platform.example) MAY be registered as its own vDOMAIN entry for that holder, with the same check. The registrable domain of the platform does not thereby become a vDOMAIN.

5.6 Inclusion proof

A register MUST provide, without authentication, an inclusion path from domain_hash to the anchored root of the batch that contains it, in the form of Section 8.3. It MUST refuse to return a path it cannot itself fold to the stored root.

6. The proof payload

6.1 Structure

The payload is a JSON object [RFC8259]. For a vDNS proof it contains:

FieldReq.Meaning
domainMUSTthe subject domain
taken_atMUSTwhen the snapshot was taken, ISO 8601 in UTC
dns_versionMUSTthe format version of records
recordsMUSTthe DNS snapshot, Section 6.2
resolverMUSTwhich resolvers were queried
dnssecMUSTwhether the zone was DNSSEC-signed: true, false or "unknown"
vdomainMUSTthe vDOMAIN under which the issuer issues
vdomain_attestationMUSTwhat the register said at issuance, Section 6.4
parent_vurlMAYthe vURL of the previous proof for this domain, making a series into a timeline
descriptionMAYfree text

dns_version MUST be present from the first issuance: the payload cannot be extended later without changing its hash.

6.2 The DNS snapshot

records is a list of objects {name, type, values}. values is a list of strings. An empty list means queried, nothing found, and is itself a recorded fact.

The CNAME rule. If a name has a CNAME, the snapshot records the CNAME and MUST NOT record the addresses it resolves to. Those are not in the holder's zone and change by region and by hour; a verifier comparing them would report a difference on every check. A name with a CNAME and no address record is correct, not incomplete.

6.3 Canonical JSON (frozen)

The canonical form of a JSON value is:

For every payload an issuer accepts (Appendix B), this produces the same bytes as the JSON Canonicalization Scheme [RFC8785]. This document does not claim more than that.

datahash = sha256( canonical(payload) )

6.4 The identity attestation

vdomain_attestation records what the register said when the proof was issued. Because it is inside the payload, it cannot be altered afterwards, and a later change in the register does not change what a proof issued earlier says.

FieldMeaning
sourcethe register endpoint consulted
checked_atUnix time of that consultation
vdomain.domainthe vDOMAIN, as registered
vdomain.domain_hashSHA-256 of that domain
vdomain.org_namethe legal entity on record
vdomain.statusthe status at issuance
vdomain.validationthe register's flags at issuance
vdomain.anchorchain, root, txid of the register's anchoring
vdomain.cache_age_secondshow old the consulted answer was

The attested vDOMAIN is not necessarily the subject domain. An issuer operating under example.org may record the DNS of customer.example. A verifier MUST NOT require a relation between payload.vdomain_attestation.vdomain.domain and payload.domain. What the holder of the subject domain says about the proof is Section 9.

7. The vURL, as far as vDNS needs it

The vURL is a general format for referencing time-stamped, anchored data; vDNS is one type of it. This section defines only what a vDNS verifier needs. The full vURL format is specified separately [VURL].

7.1 Form (frozen)

https://<gateway>/v/<type>/?obj=<id>&datahash=<sha256>&ts=<unix>&sig=<mac>
ParameterMeaning
typethe proof type; dnsproof for a vDNS proof
objthe object identifier
datahashSection 6.3
tsthe moment of issuance, Unix time
sigthe issuer's MAC over `typeobjts` (Section 11.10)

7.2 The canonical string and url_hash (frozen)

A verifier does not read the vURL; it rebuilds it: the four query parameters in the order obj, datahash, ts, sig, each value percent-encoded per [RFC3986], with a space as %20 and never +.

url_hash = sha256( canonical vURL string )

url_hash is the hinge of the construction. It is the value the TSA stamps, the leaf that is anchored, and half of the holder's endorsement. A verifier MUST compute it and MUST NOT take it from the bundle.

8. Anchoring

8.1 Time stamp

The issuer MUST obtain an [RFC3161] time-stamp token whose messageImprint is url_hash, with SHA-256 as hash algorithm. The token is self-contained: it carries the TSA's certificate chain.

A valid token is not by itself a qualified electronic time stamp in the sense of [eIDAS] Article 42. A time stamp is qualified only if the TSA's chain resolves to a qualified trust service on the EU Trusted Lists. An issuer MUST NOT claim qualified status on its own authority; it MAY state what its operator declared, marked as a declaration (Section 10.3).

8.2 Merkle construction sha256-pairwise-dup-last-v1 (frozen)

Leaves are paired in order. With an odd number of nodes at a level, the last is duplicated. Each pair is hashed as

parent = sha256( left_bytes || right_bytes )

over the raw 32-byte values. The construction identifier and the leaf order MUST be recorded with each anchored root, so that a later change of construction cannot reinterpret earlier roots.

8.3 Inclusion path

A path is a list of steps {hash, side}, where side is the position of the sibling:

side = "left"   ->  acc = sha256( sibling_bytes || acc_bytes )
side = "right"  ->  acc = sha256( acc_bytes || sibling_bytes )

Folding starts with acc = the leaf and ends with the root.

8.4 Layers

LayerValueScope
0url_hashthe leaf, per proof
1issuer rootper issuer, per time window
2global rootover the issuer roots of a window; this is written to the blockchain
3day rootover the global roots of a day; this is time-stamped

The global root MUST be written to a public blockchain in a transaction output that any explorer for that chain displays (for example an OP_RETURN output). The issuer MUST make available, without authentication, the path from the leaf to the issuer root and from the issuer root to the global root.

8.5 What anchoring proves, and what it does not

A transaction proves that a value existed no later than its block. It does not attest a specific moment; the time stamp does. A Merkle path proves inclusion, never completeness.

The blockchain leg is the least durable part of a proof, not the most: a chain must still exist and be queryable decades later, while a time-stamp token carries its own chain of trust.

9. The holder's endorsement: the _etip record

9.1 Format (frozen)

The holder publishes in the subject domain's own zone:

_etip.<domain>.  IN  TXT  "v=etip1; vhash=<64 lowercase hex>"

vhash = sha256( url_hash_bytes || sha256(payload.domain)_bytes )

The domain hashed into vhash is the subject domain, payload.domain. It is not the attested vDOMAIN of Section 6.4. For a proof about www.example.com issued under example.com, only the first matches.

9.2 Why it carries weight

The zone is a different control plane than the web server. An attacker who copies a bundle to a look-alike cannot publish the record in the original zone. An attacker who takes over the original web server can serve a different bundle, but then bundle and record contradict each other, which a verifier detects.

9.3 Semantics

SituationMeaning
no _etip recordnot endorsed by the holder. Not invalid
a record whose vhash matchesthe party controlling the zone endorses this proof, for this domain, now
a record whose vhash differsfailure: the site serves a different proof than its DNS endorses

A holder that issues a new proof MUST update the record. DNS has no signed history: the record proves endorsement now, not when it was published; the time stamp covers when.

10. Discovery and the proof bundle

10.1 Location (frozen)

A holder publishes the current proof for a domain at

https://<domain>/.well-known/vproof.json

served over HTTPS with media type application/json. A bundle MAY also be handed over as a file; everything in Section 11 except steps 7, 8 and 9 works on a stored copy.

10.2 Two halves

A bundle is one JSON document with two halves:

HalfWeight
payloadevidence: hashed into datahash, which is in the vURL, which is time-stamped and anchored
everything elsereport: assembled by the issuer when read. Useful, dated, and not covered by any hash

10.3 Report fields a verifier uses

FieldUse
typethe vURL type; input to the issuer's MAC
url_integrity.vurlthe vURL. Rebuild and hash it yourself
qualified_timestamp.token_b64the [RFC3161] token, base64 of DER
qualified_timestamp.providerwho issued the token
qualified_timestamp.qualified.declared_by_node_operatorthe operator's declaration about qualified status. A declaration, not a finding
qualified_timestamp.qualified.verified_by_this_nodealways false: the issuer does not validate its own TSA chain
anchorstate (none, pending, anchored, confirmed), leaf_hash, root, chain, txid, merkle_proof
evidence.depends_on_esrealthe checks a verifier cannot reproduce without the issuer. Currently ["hmac"]
validthe issuer's own verdict. A verifier MUST NOT rely on it

The anchor block is assembled at read time, after issuance. Its txid and root are a pointer, not evidence, until the verifier has looked at the chain. A bundle fetched while anchor.state is pending has no blockchain leg; fetching the same vURL later yields the same payload, datahash and url_hash.

11. Verification

11.1 Requirements

A verifier needs SHA-256, a JSON parser, HTTPS and DNS. No account and no key.

A verifier MUST report per step, with the status of each step, and not only an overall verdict. Step statuses are:

StatusMeaning
passthe check succeeded
failthe check was performed and did not succeed
absentthe evidence for this check is not published. Not a failure
not_establishedthe verifier did not establish this (for example qualified status)
skippednot performed, because an earlier step failed
unknownthe check could not be completed (network error, resolver failure)

11.2 Step 0: fetch

Fetch the bundle (Section 10.1). HTTP 404 or 410 means absent: no proof is published. That is not a failed verification and MUST NOT be reported as one.

sha256( canonical(payload) ) == datahash in the vURL

On failure, stop: the payload and the link do not belong together.

A verifier MUST be able to canonicalise every payload, including payloads that the construction rules of Appendix B would refuse today. A verifier that rejects them declares valid evidence invalid.

Rebuild the canonical vURL string (Section 7.2) and compute url_hash. Compare with url_integrity.url_hash. On failure, stop.

11.5 Step 3: the proof belongs to the domain it was fetched from

payload.domain == the host requested, or the host is a subdomain of payload.domain

Reject everything else. This step is what makes the others meaningful. A copied bundle is cryptographically perfect and belongs to another domain; without this comparison a look-alike passes every other check.

11.6 Steps 4 and 5: the time stamp

Decode the token and read its messageImprint. It MUST equal url_hash. Then verify the token's signature and certificate chain, for example:

openssl ts -verify -in token.tsr -token_in -digest <url_hash> -CAfile <roots>

Implementers note: TSTInfo sits inside the eContent OCTET STRING of the CMS envelope [RFC5652]. A DER walk that only descends into constructed elements finds the message-digest attribute instead of the imprint.

11.7 Step 6: qualified or merely valid

Qualified status is established only by resolving the TSA's chain to a qualified trust service on the EU Trusted Lists. Without that lookup the status is not_established, which is different from "not qualified".

11.8 Step 7: the identity at issuance

sha256( payload.vdomain_attestation.vdomain.domain ) == ...vdomain.domain_hash

Then fold domain_hash to vdomain.anchor.root: if they are equal, the root is the leaf itself; otherwise fetch the inclusion path from the register (Section 5.6) and fold it (Section 8.3). A verifier MUST NOT assume that a batch contains a single entry.

11.9 Step 8: the live DNS, and the holder's endorsement

8a, the DNS today. Query every {name, type} in payload.records and compare the values. Before comparing, normalise both sides: names lowercase, no trailing dot, A-labels; values sorted as strings; AAAA lowercase; CNAME and NS lowercase without trailing dot.

A difference is a fail, reported with the records that differ and how. The check cannot tell a takeover from a holder who changed records without issuing a new proof, and it MUST NOT report a cause.

A verifier SHOULD query at least two independent resolvers. Because UDP port 53 is intercepted on many networks, a verifier SHOULD test whether its resolver choice is honoured (for example by querying an address from [RFC5737] that cannot answer) and SHOULD use DNS over HTTPS [RFC8484] otherwise. NXDOMAIN is an answer (an empty set); SERVFAIL, REFUSED and time-outs are unknown.

8b, the endorsement. Fetch _etip.<payload.domain> TXT and apply Section 9.3.

11.10 Step 9: the blockchain

Fold url_hash through anchor.merkle_proof to the issuer root, and through the issuer-to-global path to the global root. Then find the global root in the output of transaction anchor.txid on anchor.chain, using any explorer for that chain.

The one check that needs the issuer. The bundle carries the issuer's MAC (hmac, and sig in the vURL) over type|obj|ts, with a key only the issuer holds. A verifier cannot check it and does not need to: the anchored url_hash covers the whole vURL including sig, so any altered character breaks both the time stamp and the inclusion. What the MAC adds is proof of authorship before the proof is anchored. A symmetric MAC gives no non-repudiation; that is why the load-bearing attestations are the two that are not the issuer's to write.

11.11 What a complete pass establishes

EstablishedBy
the payload has not changed since issuancesteps 1, 2
the proof was issued for this domainstep 3
these bytes existed no later than the token's timesteps 4, 5
that time carries the legal presumption of [eIDAS] Art. 41step 6, only if qualified
the proof was issued under a registered, verified vDOMAINstep 7
the DNS is unchanged since the snapshotstep 8a
the holder's zone endorses this proof, nowstep 8b
a public blockchain recorded the valuestep 9

It does not establish that the recorded data was true, that nothing was left out, or authorship in the window before anchoring.

12. Assurance levels

12.1 The levels (stable codes)

An answer is given at the level that is established, never at a lower one.

LevelWhat can be statedWhat is not covered
nonenothing: there is no register entry and no proofeverything. This is not an indication in either direction
identitythe domain is linked to a legal entity checked against an official registerthe live website and its DNS
identity_anchoredas identity, and the entry is in a public blockchain transaction, so it cannot be rewritten unnoticedas identity
published_proofa proof is published for this domain, but not every link is confirmedthe unconfirmed links, which MUST be named
vdnsidentity, anchoring, the published proof, the live DNS and the _etip endorsement all agree, nowwhat is offered on the site, and whether the recorded facts were true
contradictionsources contradict each otherthe cause, which is unknown by construction

12.2 Derivation

LevelCondition
nonestep 0 absent, and no verified register entry for the domain
identitya verified register entry, without a confirmed anchor; no proof
identity_anchoreda verified register entry whose inclusion folds to an anchored root; no proof
published_proofsteps 1 to 3 pass, no step fail, at least one of steps 4 to 9 not pass
vdnssteps 1 to 5, 7, 8a, 8b and 9 pass
contradictionany step fail

Step 6 does not affect the level; it is reported separately.

13. Presenting a result

These rules apply to any interface that shows a vDNS result to a person, including an AI agent. They are normative because a result presented wrongly does more harm than no result.

  1. none MUST NOT be presented as a warning, a failure, a risk or a suspicion. Most domains do not participate, and absence of evidence points nowhere.
  2. contradiction MUST be reported in full, with the steps that failed, and MUST NOT be presented as a finding of fraud or of deliberate alteration.
  3. An interface MUST NOT call a website "safe", "secure", "verified" or "100%". It MAY state that the holder is verified, and what each link establishes.
  4. At vdns, every link MAY be stated and passed on: the vURL, url_hash, datahash, the DNS snapshot, the time stamp and its TSA, the transaction, and the endorsement. The receiver can recompute them.
  5. Recognising a well-known organisation is not checking its domain. A known name is the kind most worth copying.
  6. A missing score is not a zero.
  7. An interface MUST NOT state that a time stamp is qualified unless step 6 established it, or unless it clearly presents the issuer's declaration as a declaration.

14. Security considerations

14.1 Threat model

An attacker may: register look-alike domains (C1); copy any published bundle (C2); intercept or answer DNS on the visitor's network (C3); take over the holder's web server (C4); operate as or compromise the issuer (C5). The attacker cannot: publish records in the original domain's zone (C6), make a TSA sign a past time for its value, or rewrite a public blockchain.

14.2 What each capability achieves

CapabilityResult
C1 + C2: copy to a look-alikestep 3 fails; the _etip record cannot be published in the original zone
C3: answer DNS locallystep 8a is affected; mitigated by resolver testing and DNS over HTTPS (11.9)
C4: serve another bundle on the real sitestep 8b fails: bundle and zone contradict
C5: a dishonest issuercannot back-date a time stamp or an anchor; cannot publish in the holder's zone. Can issue proofs for false data, which the holder's endorsement and the register check constrain
control of the holder's zonethe attacker is then the holder for DNS purposes; vDNS reports a contradiction with the earlier snapshot until a new proof is issued

14.3 Residual risks

15. Privacy considerations

16. Versioning and frozen formats

The following are frozen. A correction can only appear as a new definition with its own identifier; the existing one remains valid for evidence issued under it.

ItemValue
hashSHA-256
canonical JSONSection 6.3
vURL query orderobj, datahash, ts, sig
url_hashSection 7.2
Merkle constructionsha256-pairwise-dup-last-v1
time stamp[RFC3161], imprint url_hash
holder endorsement_etip TXT, v=etip1, Section 9.1
discovery/.well-known/vproof.json
payload formatdns_version inside the payload

17. Implementation status and contact

This section records the state of implementations at the date of this draft, in the manner of [RFC7942]. It will be removed from a final version.

ItemState
issuer and registerin production, operated by EsReal BV
current blockchainDigiByte, Litecoin as second chain where configured
register inclusion pathGET https://anchor.esreal.org/api/anchor/v1/vdomain/proof?domain=<domain>
reference verifiervproof-js, MIT licence, Appendix C
public checkhttps://esreal.org/tools/check.html?domain=<domain>

Comments on this draft: EsReal BV, via the contact details at https://esreal.be.

18. References

18.1 Normative

18.2 Informative

Appendix A. Test vectors

A.1 Merkle. The root over exactly two leaves, 32 bytes of 0x00 and 32 bytes of 0x11:

8878b15a7d6a3a4f464e8f9f42591dbc0cf4bedea0ec309003d2b2ee53655ef8

Another result almost always means the hexadecimal text was hashed instead of the raw bytes.

A.2 Endorsement. vhash combines raw bytes, in the order url_hash then sha256(domain). Hashing the hexadecimal text, or swapping the order, gives a different value. A full vector with a published proof is listed in Appendix D.

Appendix B. Payload construction rules

An issuer MUST refuse a payload that breaks one of these rules, at creation. A verifier MUST NOT apply them.

#RuleReason
1no empty object; an empty list is alloweddata loss
2no keys consisting only of digitsdata loss
3integers within ±9 007 199 254 740 991hash divergence
4no exponent notation with an integer mantissahash divergence
5no keys containing a character above U+FFFFhash divergence
6no negative zerohash divergence

These rules make byte-exact reimplementation possible: UTF-8 byte order and UTF-16 code-unit order differ only above U+FFFF, and the number forms on which common serialisers disagree are excluded.

Appendix C. Reference implementation

vproof-js implements Section 11 in full and reports per step. It is published under the MIT licence as a library, a command-line tool and a browser demonstration, together with the tests that map each attack in Section 14 to an executable case.

Appendix D. Open issues

To be resolved before a final version.

  1. Full test vectors. A complete worked example: a published payload, its canonical bytes, datahash, the vURL, url_hash, vhash, and a token, so that an implementer can test every step offline.
  2. Several _etip records. Whether a zone may publish more than one v=etip1 record (for example during a change-over), and how a verifier treats them.
  3. Register validation flags. Which flags a register publishes in validation, with their meaning, so that they are interoperable between registers.
  4. More than one register. How a verifier discovers which register vouches for a domain when several registers exist.
  5. Assurance derivation. Confirm Section 12.2 against the reference implementation for each combination, in particular a revoked register entry and a pending anchor.
  6. The vURL specification [VURL], to which Section 7 refers.
  7. Media type for the bundle, and a registration of the .well-known suffix vproof.json and of the _etip underscored name [RFC8552].