<?xml version="1.0" encoding="UTF-8"?>
  <?xml-stylesheet type="text/xsl" href="rfc2629.xslt" ?>
  <!-- based on the kramdown-rfc output of -00; -01 edited by hand -->


<!DOCTYPE rfc  [
  <!ENTITY nbsp    "&#160;">
  <!ENTITY zwsp   "&#8203;">
  <!ENTITY nbhy   "&#8209;">
  <!ENTITY wj     "&#8288;">

]>


<rfc ipr="trust200902" docName="draft-oga-audit-witness-answer-01" category="exp" submissionType="IETF" tocInclude="true" sortRefs="true" symRefs="true">
  <front>
    <title abbrev="Witness Answers">Witness Answers: Signed Recomputation of a Published Record, Filed Beside It</title>

    <author fullname="Toshikatsu Oga">
      <organization>The HORIZONs Co., Ltd.</organization>
      <address>
        <postal>
          <country>Japan</country>
        </postal>
        <email>thehorizon.nnovation@icloud.com</email>
      </address>
    </author>

    <date year="2026" month="December" day="4"/>

    
    
    <keyword>witness</keyword> <keyword>recomputation</keyword> <keyword>Ed25519</keyword> <keyword>canonical JSON</keyword> <keyword>Merkle tree</keyword>

    <abstract>


<?line 88?>

<t>This document defines a witness answer: a signed statement by a party other than the operator that it recomputed a published record from public endpoints, naming the digests it obtained, the steps it recomputed, and the limits of what it checked.
It defines how the answer is filed beside the record it witnesses and anchored in time.
An informative section describes version 0.1 of the answer, which adds a kind for records published by others.
Another informative section relates the answer to questions raised for the AUDIT effort: how a verifier shows what it checked, where the trust boundary lies, how alterations, omissions and unchecked steps show, and whether a second party reaches the same answer.
A verified answer does not show that the content of the record is right.</t>



    </abstract>



  </front>

  <middle>


<?line 95?>

<section anchor="intro"><name>Introduction</name>

<t>Operators publish records and anchor them in time, but a reader who did not run the operator's process has only the operator's word for what the record contains.
There is no common form in which a party that is not the operator can recompute a published record, sign what it obtained, and have that signed answer stored beside the record so that any later reader can check it offline.
This document fixes that form: the record being witnessed (<xref target="record"/>), the answer (<xref target="answer"/>), the witness key (<xref target="keys"/>), and filing (<xref target="filing"/>).
The normative part covers version 0 of the answer (schema "witness-answer-v0"); version 0.1 is described for information in <xref target="v01"/>.
It defines no new hash, signature, Merkle tree or timestamp mechanism.</t>

</section>
<section anchor="conventions"><name>Conventions and Terminology</name>

<t>The key words "<bcp14>MUST</bcp14>", "<bcp14>MUST NOT</bcp14>", "<bcp14>REQUIRED</bcp14>", "<bcp14>SHALL</bcp14>", "<bcp14>SHALL
NOT</bcp14>", "<bcp14>SHOULD</bcp14>", "<bcp14>SHOULD NOT</bcp14>", "<bcp14>RECOMMENDED</bcp14>", "<bcp14>NOT RECOMMENDED</bcp14>",
"<bcp14>MAY</bcp14>", and "<bcp14>OPTIONAL</bcp14>" in this document are to be interpreted as
described in BCP 14 <xref target="RFC2119"/> <xref target="RFC8174"/> when, and only when, they
appear in all capitals, as shown here.</t>

<?line -18?>

<dl>
  <dt>Operator:</dt>
  <dd>
    <t>The party that publishes the record being witnessed and runs the intake.</t>
  </dd>
  <dt>Witness:</dt>
  <dd>
    <t>A party other than the operator that recomputes a record and signs an answer with an Ed25519 key it serves at its key URL. Its identity is the identity of the key URL (<xref target="keyurl"/>).</t>
  </dd>
  <dt>Answer:</dt>
  <dd>
    <t>A JSON object of the closed shape in <xref target="answer"/>, signed by a witness.</t>
  </dd>
  <dt>Day record:</dt>
  <dd>
    <t>A record the operator publishes for one UTC day (<xref target="record"/>).</t>
  </dd>
  <dt>Leaf:</dt>
  <dd>
    <t>One entry of a furui-day day record, included under its root by an audit path as in <xref target="RFC9162"/>, Section 2.1.</t>
  </dd>
  <dt>Intake:</dt>
  <dd>
    <t>The operator's endpoint that accepts signed records and bundles them into a ledger entry (<xref target="filing"/>).</t>
  </dd>
</dl>

</section>
<section anchor="record"><name>The Record Being Witnessed</name>

<t>A witness answer names its record by kind and by the SHA-256 <xref target="FIPS180-4"/> of the record's bytes.
"furui-day": a day record listing n leaves under a Merkle root (the tree of <xref target="RFC9162"/>, which replaces <xref target="RFC6962"/>); its digest is the SHA-256 of the record's canonical bytes as the ledger serves them.
"tooshi-day": the canonical day view of a set of daily checks, computed by a published script; its digest is the SHA-256 of that view, which the witness rebuilds by running the script after 03:47 UTC on the day.
Version 0.1 adds a kind for records published by others; it is described in <xref target="v01"/> and is not part of the normative definition.</t>

</section>
<section anchor="answer"><name>The Witness Answer</name>

<section anchor="members"><name>Members</name>

<t>An answer is a JSON object <xref target="RFC8259"/> with exactly the members in the table below and no others; a verifier <bcp14>MUST</bcp14> reject an answer with a missing or an additional member.</t>

<texttable title="Members of an answer">
      <ttcol align='left'>Member</ttcol>
      <ttcol align='left'>furui-day</ttcol>
      <ttcol align='left'>tooshi-day</ttcol>
      <c>schema</c>
      <c>"witness-answer-v0"</c>
      <c>"witness-answer-v0"</c>
      <c>kind</c>
      <c>"furui-day"</c>
      <c>"tooshi-day"</c>
      <c>day</c>
      <c>YYYY-MM-DD (UTC)</c>
      <c>YYYY-MM-DD (UTC)</c>
      <c>day_sha256</c>
      <c>SHA-256 of the day record's canonical bytes as served</c>
      <c>SHA-256 of the canonical day view</c>
      <c>n</c>
      <c>integer, number of leaves, at least 1</c>
      <c>null</c>
      <c>root</c>
      <c>64 lower-case hex, the root the day record names</c>
      <c>null</c>
      <c>leaf_index</c>
      <c>leaves checked, strictly increasing, each below n</c>
      <c>[]</c>
      <c>recomputed</c>
      <c>see <xref target="recomputed"/></c>
      <c>see <xref target="recomputed"/></c>
      <c>tool</c>
      <c>one line, at most 200 characters</c>
      <c>same</c>
      <c>observed_at</c>
      <c>YYYY-MM-DDTHH:MM:SSZ (an RFC 3339 date-time in UTC <xref target="RFC3339"/>), not before day</c>
      <c>same</c>
      <c>limits</c>
      <c>see <xref target="limitsmember"/></c>
      <c>same</c>
      <c>witness</c>
      <c>{name, key_id, key_url}</c>
      <c>same</c>
      <c>signature</c>
      <c>{alg: "ed25519", key_id, sig}</c>
      <c>same</c>
</texttable>

</section>
<section anchor="recomputed"><name>recomputed</name>

<t>recomputed lists only what the witness recomputed itself, without duplicates, and is never empty.
For furui-day it holds the step names that were ok for every listed leaf, in this order: envelope_shape, leaf_sha256, audit_path, signature, runner_key, bitcoin_anchor; a step not yet possible (for example the Bitcoin anchor) is left out, and a second answer <bcp14>MAY</bcp14> be signed later.
For tooshi-day it holds "day_view" first, then the ids of the checks the run made (state ok, red or notice), sorted.
A step that is not in recomputed was not checked by this answer, for whatever reason: not yet possible, not attempted, or attempted without success. A verifier <bcp14>MUST NOT</bcp14> treat a step that is absent from recomputed as checked, and <bcp14>MUST NOT</bcp14> treat it as failed. Version 0 has no member that says which of these applies; the witness says it in limits.</t>

</section>
<section anchor="limitsmember"><name>limits and tool</name>

<t>limits holds 1 to 20 lines, each at most 500 characters, written by the witness in its own words, saying what the answer does not establish; they are signed and travel with the answer.
tool is one line naming the tool and its version or the SHA-256 of the script that was run.
Every line is non-empty, has no control characters and no leading or trailing space.</t>

</section>
<section anchor="preimage"><name>Canonical Form and Signature</name>

<t>The canonical form is JCS <xref target="RFC8785"/>; an answer carries no floating point numbers, integers only within plus or minus 2^53 - 1, printable ASCII member names and no lone surrogates, and a verifier <bcp14>MUST</bcp14> reject other values.
The preimage is the UTF-8 bytes of "witness-answer-v0" and one line feed (0x0A), followed by the canonical form of the answer without "signature"; "sig" is the base64 <xref target="RFC4648"/> of the 64-byte Ed25519 <xref target="RFC8032"/> signature over the preimage.
A verifier checks shape, the key served at key_url, key_id, and signature, in that order, and reports the first step that fails.</t>

</section>
</section>
<section anchor="keys"><name>Keys</name>

<section anchor="keyid"><name>key_id</name>

<t>key_id is "ed25519:" followed by the first 16 lower-case hex characters of the SHA-256 of the raw 32-byte public key; witness.key_id and signature.key_id <bcp14>MUST</bcp14> be equal.
A verifier <bcp14>MUST</bcp14> reject a public key that is not the canonical encoding of a point of the prime-order subgroup.</t>

</section>
<section anchor="keyurl"><name>key_url and Identity</name>

<t>The witness serves its key from its own domain at key_url, an https URL answered directly with status 200 and no redirect <xref target="RFC9110"/>; the intake fetches it on every submission and never answers from a cached key.
The identity is the host of key_url; for raw.githubusercontent.com it is "github.com/" plus the owner, the path <bcp14>MUST</bcp14> name a branch or tag (optionally as refs/heads/ or refs/tags/), and a commit hash as the ref is refused.
A host where many unrelated people publish files is refused as an identity; the intake keeps the list and states it.</t>

</section>
<section anchor="self"><name>Refusing self_witness</name>

<t>The intake refuses, as self_witness, a key served from a host the record walked (its base or endpoint), from the intake's own host, or from the operator's own GitHub account, whatever the record is about.
The intake also refuses an answer about the operator's own records whose key is served by the operator: a key served from horizonshield.dev, the-horizons-innovation.com, ogasurfproject-jpg.github.io or oga-surf-project.workers.dev, or from any name under them, is refused as self_witness when the record's base or endpoint is under one of those names or is the intake's own host, before the key is fetched, and nothing is stored or counted.
An answer the operator signs with such a key about someone else's record is kept and batched, but it is stored with counted false and count_reason "operator": it is not counted as an outside witness and does not take the place of an outside witness of the same endpoint on the same day.
It refuses a record whose signing key differs from the key served at key_url (key_url_mismatch), and a key_url on a record without a signature.
Because the base of a tooshi-day record is on raw.githubusercontent.com, a key served there is refused for every tooshi-day record; a tooshi-day record signed with a key on the operator's domains is kept uncounted ("operator"), and the helper refuses to build it.</t>

</section>
<section anchor="keydoc"><name>The Key Document</name>

<t>The document at key_url is either the JSON object {"public_key_ed25519_b64": B}, B being the exact base64 of the 32 key bytes, or one OpenSSH line "ssh-ed25519 BASE64 [comment]" with at most one final line ending.
In the OpenSSH form BASE64 decodes to the SSH wire form (<xref target="RFC4253"/>, Section 6.6; <xref target="RFC8709"/>, Section 4): a 4-byte length 11, "ssh-ed25519", a 4-byte length 32, the 32 key bytes, and nothing after; any other content is rejected.</t>

</section>
</section>
<section anchor="filing"><name>Filing</name>

<t>A witness <bcp14>MAY</bcp14> file its answer at the intake inside a commitment record whose commitment is day_sha256, whose base is the URL of the day record, and which carries the answer; the record bytes are signed with the same key.
Per witness identity, base and UTC day, the first accepted record is counted and later ones are stored but not counted; daily caps per identity and in total are stated at the intake.
Accepted records are bundled into a ledger entry daily at 00:30 UTC, and that entry is timestamped in Bitcoin <xref target="OPENTIMESTAMPS"/>, which fixes a time by which the answer existed.</t>

</section>
<section anchor="limits"><name>What an Answer Does and Does Not Establish</name>

<t>A verified answer shows that the holder of the key served at key_url signed these digests, this list of recomputed steps and these limits, and a filed answer shows that it existed by the time of its anchor.
It does not show that the holder ran the steps, that the content checked is right, that the record is complete, what the record's URL served to anyone else, or who the holder is beyond the domain that serves the key.</t>

</section>
<section anchor="auditq"><name>Questions Raised for AUDIT (Informative)</name>

<t>This section is informative. It answers, for this format only, questions raised on the AUDIT mailing list and at the BoF. It does not propose scope for any working group.</t>

<section anchor="auditq-integrity"><name>How a Verifier Shows What It Checked</name>

<t>An answer names the record by its SHA-256, lists the steps the witness recomputed and the limits of its check, and is signed over a canonical form (<xref target="preimage"/>). Any reader can verify the signature offline from the key document (<xref target="keydoc"/>) and the preimage rule. A reader who wants more than the signature can repeat the listed steps on the same bytes: the record's digest, the Merkle root of a furui-day record and the canonical day view of a tooshi-day record are fixed by the bytes, so a correct repetition yields the same values. The test vector of <xref target="vectors"/> lets an implementer check its own verifier before checking anyone's answer.</t>

</section>
<section anchor="auditq-boundary"><name>Trust Boundary</name>

<t>A witness relies on the bytes it fetched from the published endpoints at observed_at and on its own tool, which it names in tool. It does not rely on the operator's database, internal logs or unpublished code. The intake refuses, as self_witness, a key served by the operator or from a host the record walked (<xref target="self"/>), so an answer that is counted as an outside witness cannot be signed with a key the operator serves.</t>

</section>
<section anchor="auditq-omissions"><name>Alterations, Omissions and Steps Not Checked</name>

<t>An alteration of a witnessed record after the answer changes its SHA-256, so the answer no longer names the record's digest. For a furui-day record, a leaf added, removed or changed after the answer also changes the root that the answer names.</t>

<t>An answer does not show that a record is complete (<xref target="limits"/>). What it does show is bounded by the digests it names: an omission made before the record was published is outside what a witness of that record can see.</t>

<t>A step that the witness did not check is absent from recomputed (<xref target="recomputed"/>). Absence is neither a pass nor a fail, and the reason is stated in limits. A witness that finds a mismatch does not list that step; it can report the mismatch through its own channel or file an answer that lists only the steps that held. A later version could give each step an explicit state (checked, failed, not checked); comments are welcome.</t>

<t>Answers themselves can go missing. The intake bundles accepted records into a ledger entry each day, which lists the SHA-256 of every record it bundles and is timestamped in Bitcoin (<xref target="filing"/>). A witness that keeps the SHA-256 of the record it filed can look for it in the batch entries that follow its submission. A missing answer is then visible to the witness, though not to a reader who never saw the answer.</t>

</section>
<section anchor="auditq-refusals"><name>Refusals</name>

<t>A refused submission is not stored and not counted (<xref target="self"/>), so a refusal at the intake never becomes a counted answer. The intake answers a refused submission with status 422 and a reason code, for example self_witness.</t>

</section>
<section anchor="auditq-second"><name>Whether a Second Party Reaches the Same Answer</name>

<t>Two witnesses that recompute the same furui-day record obtain the same day_sha256, n and root, and the same result for each leaf that both of them check. Their answers can differ in the leaves they check (leaf_index) and the steps they list, and they differ in witness, observed_at, tool, limits and signature. Comparing two answers about one record therefore reduces to comparing the digests they name and the steps they list. The answers cited in <xref target="impl"/> were made by two parties for two different days; they are not two answers about the same record.</t>

</section>
<section anchor="auditq-withheld"><name>Records Whose Content Is Withheld</name>

<t>A witness can recompute only bytes it can fetch. This document does not cover records whose content is withheld from the witness. A commitment to a withheld record can be witnessed for its digest and its time, but not for its content.</t>

</section>
</section>
<section anchor="related"><name>Related Work (Informative)</name>

<t>A transparency service as in <xref target="RFC9943"/> registers signed statements and returns receipts that show a statement was registered. A witness answer is a signed statement about a published record, and the intake files it beside that record; this document does not define a profile of that architecture, and a filed answer carries a timestamp proof to a Bitcoin block <xref target="OPENTIMESTAMPS"/> rather than a receipt from a service.</t>

<t>Signed permissions and receipts for each action of an agent, chained and logged, are specified in <xref target="I-D.izmaylov-agent-permission-receipts"/>; receipts for approvals, declined actions and executed actions in audit records are specified in <xref target="I-D.gruszka-audit-decision-receipts"/>. A witness answer is not a receipt for an action: it is a statement, by a party other than the operator, about a record that is already published, and it names that record by digest.</t>

<t>Verdict records <xref target="I-D.wright-verdict-record"/> cite evidence by digest and carry a rule from which the result can be derived again; a witness answer likewise names its record by digest and lists the steps the witness recomputed. Like <xref target="I-D.pidlisnyi-aps"/>, this document states what a verified record does and does not show (<xref target="limits"/>).</t>

<t>The word witness is used in <xref target="NOTARIZED-AGENTS"/> for a party that countersigns the checkpoints of a log. In this document a witness recomputes steps of a published record and signs what it recomputed; it does not countersign the ledger.</t>

</section>
<section anchor="v01"><name>Version 0.1 of the Answer (Informative)</name>

<t>This section is informative. Version 0.1 uses the schema "witness-answer-v0.1" and the preimage prefix "witness-answer-v0.1" followed by one line feed; otherwise the canonical form and signature are those of <xref target="preimage"/>. The different prefix keeps a version 0 signature from being read as a version 0.1 signature and the other way round.
A version 0 verifier rejects a version 0.1 answer, because its schema value and its members are outside the closed shape of <xref target="members"/>.</t>

<section anchor="v01outside"><name>The outside-record Kind</name>

<t>An answer of kind "outside-record" names a record published by a party other than the witness by subject_domain, record_url, record_sha256 and record_kind (for example "bytes", any published byte string), lists the steps recomputed, and carries anchor, the Bitcoin block checked, or null. A reference tool exists <xref target="WITNESS-ANSWER-V01"/>.</t>

</section>
</section>
<section anchor="security"><name>Security Considerations</name>

<t>Identity rests on control of the host serving key_url; a party that controls the host can sign as the witness.
The intake fetches key_url on every submission, so a rotated key takes effect at once and a removed key stops being accepted.
The reference Ed25519 code is not constant time; a witness can sign the preimage with its own tool and attach the signature.</t>

</section>
<section anchor="privacy"><name>Privacy Considerations</name>

<t>An answer carries the witness's handle, key URL and free-text limits, and a filed record adds a free-text vantage; these are published, timestamped and cannot be withdrawn <xref target="RFC6973"/>.</t>

</section>
<section anchor="iana"><name>IANA Considerations</name>

<t>This document has no IANA actions.</t>

</section>


  </middle>

  <back>


<references title='References' anchor="sec-combined-references">

    <references title='Normative References' anchor="sec-normative-references">




<reference anchor="RFC8259">
  <front>
    <title>The JavaScript Object Notation (JSON) Data Interchange Format</title>
    <author fullname="T. Bray" initials="T." role="editor" surname="Bray"/>
    <date month="December" year="2017"/>
  </front>
  <seriesInfo name="STD" value="90"/>
  <seriesInfo name="RFC" value="8259"/>
  <seriesInfo name="DOI" value="10.17487/RFC8259"/>
</reference>

<reference anchor="RFC8785">
  <front>
    <title>JSON Canonicalization Scheme (JCS)</title>
    <author fullname="A. Rundgren" initials="A." surname="Rundgren"/>
    <author fullname="B. Jordan" initials="B." surname="Jordan"/>
    <author fullname="S. Erdtman" initials="S." surname="Erdtman"/>
    <date month="June" year="2020"/>
  </front>
  <seriesInfo name="RFC" value="8785"/>
  <seriesInfo name="DOI" value="10.17487/RFC8785"/>
</reference>

<reference anchor="RFC8032">
  <front>
    <title>Edwards-Curve Digital Signature Algorithm (EdDSA)</title>
    <author fullname="S. Josefsson" initials="S." surname="Josefsson"/>
    <author fullname="I. Liusvaara" initials="I." surname="Liusvaara"/>
    <date month="January" year="2017"/>
  </front>
  <seriesInfo name="RFC" value="8032"/>
  <seriesInfo name="DOI" value="10.17487/RFC8032"/>
</reference>

<reference anchor="RFC4648">
  <front>
    <title>The Base16, Base32, and Base64 Data Encodings</title>
    <author fullname="S. Josefsson" initials="S." surname="Josefsson"/>
    <date month="October" year="2006"/>
  </front>
  <seriesInfo name="RFC" value="4648"/>
  <seriesInfo name="DOI" value="10.17487/RFC4648"/>
</reference>

<reference anchor="RFC3339">
  <front>
    <title>Date and Time on the Internet: Timestamps</title>
    <author fullname="G. Klyne" initials="G." surname="Klyne"/>
    <author fullname="C. Newman" initials="C." surname="Newman"/>
    <date month="July" year="2002"/>
  </front>
  <seriesInfo name="RFC" value="3339"/>
  <seriesInfo name="DOI" value="10.17487/RFC3339"/>
</reference>

<reference anchor="RFC9162">
  <front>
    <title>Certificate Transparency Version 2.0</title>
    <author fullname="B. Laurie" initials="B." surname="Laurie"/>
    <author fullname="E. Messeri" initials="E." surname="Messeri"/>
    <author fullname="R. Stradling" initials="R." surname="Stradling"/>
    <date month="December" year="2021"/>
  </front>
  <seriesInfo name="RFC" value="9162"/>
  <seriesInfo name="DOI" value="10.17487/RFC9162"/>
</reference>

<reference anchor="RFC4253">
  <front>
    <title>The Secure Shell (SSH) Transport Layer Protocol</title>
    <author fullname="T. Ylonen" initials="T." surname="Ylonen"/>
    <author fullname="C. Lonvick" initials="C." role="editor" surname="Lonvick"/>
    <date month="January" year="2006"/>
  </front>
  <seriesInfo name="RFC" value="4253"/>
  <seriesInfo name="DOI" value="10.17487/RFC4253"/>
</reference>

<reference anchor="RFC8709">
  <front>
    <title>Ed25519 and Ed448 Public Key Algorithms for the Secure Shell (SSH) Protocol</title>
    <author fullname="B. Harris" initials="B." surname="Harris"/>
    <author fullname="L. Velvindron" initials="L." surname="Velvindron"/>
    <date month="February" year="2020"/>
  </front>
  <seriesInfo name="RFC" value="8709"/>
  <seriesInfo name="DOI" value="10.17487/RFC8709"/>
</reference>

<reference anchor="FIPS180-4" >
  <front>
    <title>Secure Hash Standard (SHS)</title>
    <author >
      <organization>National Institute of Standards and Technology</organization>
    </author>
    <date year="2015" month="August"/>
  </front>
  <seriesInfo name="FIPS" value="PUB 180-4"/>
  <seriesInfo name="DOI" value="10.6028/NIST.FIPS.180-4"/>
</reference>



<reference anchor="RFC2119">
  <front>
    <title>Key words for use in RFCs to Indicate Requirement Levels</title>
    <author fullname="S. Bradner" initials="S." surname="Bradner"/>
    <date month="March" year="1997"/>
  </front>
  <seriesInfo name="BCP" value="14"/>
  <seriesInfo name="RFC" value="2119"/>
  <seriesInfo name="DOI" value="10.17487/RFC2119"/>
</reference>

<reference anchor="RFC8174">
  <front>
    <title>Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words</title>
    <author fullname="B. Leiba" initials="B." surname="Leiba"/>
    <date month="May" year="2017"/>
  </front>
  <seriesInfo name="BCP" value="14"/>
  <seriesInfo name="RFC" value="8174"/>
  <seriesInfo name="DOI" value="10.17487/RFC8174"/>
</reference>



    </references>

    <references title='Informative References' anchor="sec-informative-references">




<reference anchor="RFC6962">
  <front>
    <title>Certificate Transparency</title>
    <author fullname="B. Laurie" initials="B." surname="Laurie"/>
    <author fullname="A. Langley" initials="A." surname="Langley"/>
    <author fullname="E. Kasper" initials="E." surname="Kasper"/>
    <date month="June" year="2013"/>
  </front>
  <seriesInfo name="RFC" value="6962"/>
  <seriesInfo name="DOI" value="10.17487/RFC6962"/>
</reference>

<reference anchor="RFC8792">
  <front>
    <title>Handling Long Lines in Content of Internet-Drafts and RFCs</title>
    <author fullname="K. Watsen" initials="K." surname="Watsen"/>
    <author fullname="E. Auerswald" initials="E." surname="Auerswald"/>
    <author fullname="A. Farrel" initials="A." surname="Farrel"/>
    <author fullname="Q. Wu" initials="Q." surname="Wu"/>
    <date month="June" year="2020"/>
  </front>
  <seriesInfo name="RFC" value="8792"/>
  <seriesInfo name="DOI" value="10.17487/RFC8792"/>
</reference>

<reference anchor="RFC9110">
  <front>
    <title>HTTP Semantics</title>
    <author fullname="R. Fielding" initials="R." role="editor" surname="Fielding"/>
    <author fullname="M. Nottingham" initials="M." role="editor" surname="Nottingham"/>
    <author fullname="J. Reschke" initials="J." role="editor" surname="Reschke"/>
    <date month="June" year="2022"/>
  </front>
  <seriesInfo name="STD" value="97"/>
  <seriesInfo name="RFC" value="9110"/>
  <seriesInfo name="DOI" value="10.17487/RFC9110"/>
</reference>

<reference anchor="RFC6973">
  <front>
    <title>Privacy Considerations for Internet Protocols</title>
    <author fullname="A. Cooper" initials="A." surname="Cooper"/>
    <author fullname="H. Tschofenig" initials="H." surname="Tschofenig"/>
    <author fullname="B. Aboba" initials="B." surname="Aboba"/>
    <author fullname="J. Peterson" initials="J." surname="Peterson"/>
    <author fullname="J. Morris" initials="J." surname="Morris"/>
    <author fullname="M. Hansen" initials="M." surname="Hansen"/>
    <author fullname="R. Smith" initials="R." surname="Smith"/>
    <date month="July" year="2013"/>
  </front>
  <seriesInfo name="RFC" value="6973"/>
  <seriesInfo name="DOI" value="10.17487/RFC6973"/>
</reference>

<reference anchor="RFC7942">
  <front>
    <title>Improving Awareness of Running Code: The Implementation Status Section</title>
    <author fullname="Y. Sheffer" initials="Y." surname="Sheffer"/>
    <author fullname="A. Farrel" initials="A." surname="Farrel"/>
    <date month="July" year="2016"/>
  </front>
  <seriesInfo name="BCP" value="205"/>
  <seriesInfo name="RFC" value="7942"/>
  <seriesInfo name="DOI" value="10.17487/RFC7942"/>
</reference>

<reference anchor="RFC9943">
  <front>
    <title>An Architecture for Trustworthy and Transparent Digital Supply Chains</title>
    <author fullname="H. Birkholz" initials="H." surname="Birkholz"/>
    <author fullname="A. Delignat-Lavaud" initials="A." surname="Delignat-Lavaud"/>
    <author fullname="C. Fournet" initials="C." surname="Fournet"/>
    <author fullname="Y. Deshpande" initials="Y." surname="Deshpande"/>
    <author fullname="S. Lasker" initials="S." surname="Lasker"/>
    <date month="June" year="2026"/>
  </front>
  <seriesInfo name="RFC" value="9943"/>
  <seriesInfo name="DOI" value="10.17487/RFC9943"/>
</reference>

<reference anchor="I-D.izmaylov-agent-permission-receipts">
   <front>
      <title>Signed Permissions and Action Receipts for Automated Agents</title>
      <author fullname="Pavel Izmaylov" initials="P." surname="Izmaylov">
         </author>
      <date day="2" month="November" year="2026"/>
   </front>
   <seriesInfo name="Internet-Draft" value="draft-izmaylov-agent-permission-receipts-02"/>
   
</reference>

<reference anchor="I-D.gruszka-audit-decision-receipts">
   <front>
      <title>Decision Receipts for Approvals, Declined Actions and Executed Actions in Agent Audit Records</title>
      <author fullname="Konrad Gruszka" initials="K." surname="Gruszka">
         <organization>b7n0de</organization>
      </author>
      <date day="2" month="November" year="2026"/>
   </front>
   <seriesInfo name="Internet-Draft" value="draft-gruszka-audit-decision-receipts-05"/>
   
</reference>

<reference anchor="I-D.wright-verdict-record">
   <front>
      <title>Verdict Records: Results on Claims that Cite Receipts as Evidence</title>
      <author fullname="Darren Wright" initials="D." surname="Wright">
         <organization>Sencor AI S.L.</organization>
      </author>
      <date day="2" month="November" year="2026"/>
   </front>
   <seriesInfo name="Internet-Draft" value="draft-wright-verdict-record-02"/>
   
</reference>

<reference anchor="I-D.pidlisnyi-aps">
   <front>
      <title>Agent Passport System (APS): Verifiable Authority, Lifecycle, Enforcement, and Evidence for AI Agents</title>
      <author fullname="Tymofii Pidlisnyi" initials="T." surname="Pidlisnyi">
         <organization>Agent Passport System</organization>
      </author>
      <date day="28" month="September" year="2026"/>
   </front>
   <seriesInfo name="Internet-Draft" value="draft-pidlisnyi-aps-04"/>
   
</reference>

<reference anchor="NOTARIZED-AGENTS" target="https://arxiv.org/abs/2606.04193">
  <front>
    <title>Notarized Agents: Receiver-Attested Confidential Receipts for AI Agent Actions</title>
    <author fullname="Juan Figuera">
      <organization></organization>
    </author>
    <date year="2026" month="June"/>
  </front>
  <seriesInfo name="arXiv" value="2606.04193"/>
</reference>
<reference anchor="OPENTIMESTAMPS" target="https://petertodd.org/2016/opentimestamps-announcement">
  <front>
    <title>OpenTimestamps: Scalable, Trust-Minimized, Distributed Timestamping with Bitcoin</title>
    <author fullname="Peter Todd">
      <organization></organization>
    </author>
    <date year="2016" month="September"/>
  </front>
</reference>
<reference anchor="WITNESS-ANSWER-V0" target="https://github.com/ogasurfproject-jpg/horizon-shield/tree/e41715d75704e92455400707df895efd82bf4ecf/workers/hs-ledger/nenrin/witness-answer-v0">
  <front>
    <title>Signed witness answers for a TOOSHI day and a FURUI day record (PROCEDURE.md, witness_answer_v0.py, vectors.json)</title>
    <author fullname="Toshikatsu Oga">
      <organization>The HORIZONs Co., Ltd.</organization>
    </author>
    <date year="2026" month="November" day="04"/>
  </front>
</reference>
<reference anchor="WITNESS-ANSWER-V01" target="https://github.com/ogasurfproject-jpg/horizon-shield/tree/e41715d75704e92455400707df895efd82bf4ecf/tools/outward">
  <front>
    <title>Outward witness answers (witness-answer-v0.1, outside-record)</title>
    <author fullname="Toshikatsu Oga">
      <organization>The HORIZONs Co., Ltd.</organization>
    </author>
    <date year="2026" month="November" day="06"/>
  </front>
</reference>
<reference anchor="WITNESS-ENROLL-V0" target="https://github.com/ogasurfproject-jpg/horizon-shield/tree/e41715d75704e92455400707df895efd82bf4ecf/workers/hs-ledger/nenrin/witness-enroll-v0">
  <front>
    <title>The pool of day witnesses and the daily draw (PROCEDURE.md, witness_enroll_v0.py)</title>
    <author fullname="Toshikatsu Oga">
      <organization>The HORIZONs Co., Ltd.</organization>
    </author>
    <date year="2026" month="November" day="05"/>
  </front>
</reference>


    </references>

</references>


<?line 263?>

<section anchor="examples"><name>Examples</name>

<section anchor="vectors"><name>Test Vector</name>

<t>Vectors are published with the reference helper <xref target="WITNESS-ANSWER-V0"/>, signed with the public test key of <xref target="RFC8032"/>, Section 7.1, TEST 1 (key_id ed25519:21fe31dfa154a261). The case furui_day_ok, whose preimage has SHA-256 b65826e8b091f646f1c6c8d2ffa81e7b243d8a2454f70d4940108bc4ece84b70, shown with long lines folded as in <xref target="RFC8792"/>:</t>

<figure><artwork><![CDATA[
=============== NOTE: '\' line wrapping per RFC 8792 ================

{
  "day": "2026-11-03",
  "day_sha256": "cb41b38387d6fca01272be03380f63568fccbd724c299ae58e8\
d548d91b67a58",
  "kind": "furui-day",
  "leaf_index": [0, 1],
  "limits": [
    "digest and inclusion checks only; not the correctness of the co\
ntent",
    "not the completeness of the day's log",
    "the runner key was taken from the key list the ledger serves; i\
ts history was not authenticated separately"
  ],
  "n": 2,
  "observed_at": "2026-11-04T02:36:00Z",
  "recomputed": ["envelope_shape", "leaf_sha256", "audit_path", "sig\
nature", "runner_key"],
  "root": "4813494d137e1631bba301d5acab6e7bb7aa74ce1185d456565ef51d7\
37677b2",
  "schema": "witness-answer-v0",
  "signature": {
    "alg": "ed25519",
    "key_id": "ed25519:21fe31dfa154a261",
    "sig": "zyIyKbpxFynB5CJz7THEH9mCBOlTCNcaLTPM/iZJsi6JsqMmzk1GWTvh\
NLD4lIDCqICJX0DbwBH/l1KYMr4PAg=="
  },
  "tool": "nenrin-verify 0.8.1 furui-day",
  "witness": {
    "key_id": "ed25519:21fe31dfa154a261",
    "key_url": "https://witness.example/keys/witness.json",
    "name": "pipavlo82"
  }
}
]]></artwork></figure>

</section>
</section>
<section anchor="impl"><name>Implementation Status</name>

<t>A reference helper in Python (standard library only) builds, signs and verifies answers, with tests that block every socket <xref target="WITNESS-ANSWER-V0"/>; the outside-record kind of version 0.1 has its own tool <xref target="WITNESS-ANSWER-V01"/>; a pool and daily draw that name a witness and leaves are described in <xref target="WITNESS-ENROLL-V0"/>. This section follows <xref target="RFC7942"/> and is to be removed before publication.</t>

<t>Two answers filed by parties other than the operator are cited here with their permission:</t>

<t><list style="symbols">
  <t>invinoveritas.dev: one signed witness answer for the FURUI day record of 2026-11-06, intake record SHA-256 25814b7219f82583c31a39d047d3b3874d5d56baa1505cf94f963a7733a11ab5 (filed at the operator's intake). This cites that one answer only. It does not imply endorsement of this format or verification of the production system, and the scope and limits stated in the record apply unchanged.</t>
  <t>pipavlo82.github.io: one signed witness answer for the FURUI day record of 2026-11-03, witness record SHA-256 afe669a3aec8fb039304530ad320a77417735f749406ee2a31903ccfce49fdcc (ledger entry 256). This cites that one answer only. It does not imply endorsement of this format or verification of the production system, and the scope and limits stated in the record apply unchanged.</t>
</list></t>

</section>
<section numbered="false" anchor="changes"><name>Changes from -00</name>

<t>This section is to be removed before publication.</t>

<t><list style="symbols">
  <t>Added <xref target="auditq"/>, relating the answer to questions raised for the AUDIT effort.</t>
  <t><xref target="recomputed"/>: a step absent from recomputed is neither checked nor failed, and a verifier treats it so.</t>
  <t>Abstract: one sentence on <xref target="auditq"/>.</t>
</list></t>

</section>
<section numbered="false" anchor="ack"><name>Acknowledgments</name>

<t>The operators of invinoveritas.dev and pipavlo82.github.io filed the answers cited in <xref target="impl"/>.
The questions answered in <xref target="auditq"/> were raised on the AUDIT mailing list and at the BoF, among others by Chris Inacio, Stephen D. Smith, Staford Titus Selvaraj and Gareth Wong.</t>

</section>


  </back>



</rfc>

