Network Working Group V. Jones Internet-Draft Entercation Info Inc. Intended status: Informational 28 November 2026 Expires: 1 June 2027 Paper API: Detached Binding of Printed Evidence to a Digital Source draft-jones-outerprise-paper-api-00 Abstract This document specifies two machine-readable markings for a printed evidence package, a relationship reference and an assertion about the exact digital source. A relying party can verify an authorized signature and source digest offline. The profile describes the limits of verification when the relying party has only paper. Status of This Memo This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet- Drafts is at https://datatracker.ietf.org/drafts/current/. Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress." This Internet-Draft will expire on 1 June 2027. Copyright Notice Copyright (c) 2026 IETF Trust and the persons identified as the document authors. All rights reserved. This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/ license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License. Jones Expires 1 June 2027 [Page 1] Internet-Draft Paper API November 2026 Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 2. Physical Topology . . . . . . . . . . . . . . . . . . . . . . 2 3. Machine-Readable Payload . . . . . . . . . . . . . . . . . . 3 4. Issuer Procedure . . . . . . . . . . . . . . . . . . . . . . 4 5. Verification Procedure . . . . . . . . . . . . . . . . . . . 5 6. Security and Privacy Considerations . . . . . . . . . . . . . 6 7. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 7 8. Normative References . . . . . . . . . . . . . . . . . . . . 7 9. Informative References . . . . . . . . . . . . . . . . . . . 8 Appendix A. Synthetic Test Vectors . . . . . . . . . . . . . . . 8 Author's Address . . . . . . . . . . . . . . . . . . . . . . . . 10 1. Introduction This is an individual Internet-Draft and a work in progress. This profile specifies an offline check for the digital source of a printed evidence package. A scan recovers a claim about a digital artifact. The origin or integrity of a particular sheet requires additional evidence. Aoki’s Object Binding draft [AOKI] Sections 5, 6, 8, and 17 describes generic bindings and leaves domain semantics to profiles. This profile supplies a payload and verifier for a print rendition of a PDF. A signed payload can describe the digital source in a SCITT Signed Statement [RFC9943]. Registration and receipt evaluation are separate operations. The keywords MUST, MUST NOT, SHOULD, and MAY are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals. 2. Physical Topology The issuer is the party that asserts the binding. The relying party supplies trusted issuer keys and policy. The source object is an exact digital PDF byte string. The print rendition is paper derived from that object plus verification markings. The Pair Key is an opaque relationship reference, separate from a signing key. The payload is a signed assertion about the source, the relationship reference, and optional context. The front cover SHOULD carry a QR code encoding a JCS object with exactly entity and pair_key. A print rendition conforming to this profile MUST carry a last-page QR code containing the complete COSE_Sign1 envelope in QR Byte mode, as raw octets without an ECI designator, text conversion, or base64. The scanner MUST expose the Jones Expires 1 June 2027 [Page 2] Internet-Draft Paper API November 2026 original octets. The issuer MUST ensure the envelope fits one symbol at the chosen error correction level. Compare both front fields with the signed payload if the front is present. A recipient can obtain the exact source PDF separately. The baseline verification requires no online lookup or standing connection. Freeze the source PDF before generating the payload. Preserve the exact source as a detached file or an attachment to the distribution PDF. The front overlay and verification page in that distribution PDF are outside the source digest. A separate manifest MAY bind the final distribution PDF after all marks are added. A source digest embedded in a wrapper is never computed over that same wrapper. In Aoki Section 8 terms, an illustrative projection for the digital source uses object_type "pdf-source" (local to this example), object_id "sha256:" followed by source_pdf_sha256, and object_digest with alg "sha-256" and value equal to the decoded 32 octets. The source object identity is scoped by the verifier policy. The Pair Key identifies a relationship and does not serve as object_id. Leave object_instance_id absent. The live status endpoint is not a locator for source bytes unless a separate profile explicitly defines that relation. This profile places the authoritative binding in the signed payload under Aoki Section 17. The issuer-to-source check corresponds to Aoki Section 18, step 5. The expected object and intended issuer are selected by the relying party. This projection is informative and introduces no dependency on a graph manifest or global object registry. 3. Machine-Readable Payload The payload MUST be an RFC 8785 [RFC8785] JSON object with exactly the members below. Producers MUST emit the canonical UTF-8 bytes without BOM or trailing newline. Verifiers MUST reject duplicate names, unexpected fields, invalid types, and noncanonical bytes. JSON member names and all string values are ASCII in this profile. Each object has exactly the named members. schema is the string outerprise.paper_api.v1. identity_anchor contains entity and pair_key. entity is 1 to 64 characters from A-Z, 0-9 and underscore. pair_key is exactly 64 lowercase hexadecimal characters. physical_object contains source_pdf_sha256, pages, and printed_at. The digest is exactly 64 lowercase hexadecimal characters representing SHA-256 of the exact source PDF byte string [FIPS180]. pages is a JSON integer from 1 to 1000000 counting source PDF pages. Jones Expires 1 June 2027 [Page 3] Internet-Draft Paper API November 2026 printed_at is null or a valid UTC Gregorian date and time in YYYY-MM- DDThh:mm:ssZ format, years 0001 through 9999 and seconds 00 through 59. It is an issuer assertion. A marker prepared before printing MUST use null unless a prior print event is the explicitly scoped subject. context_and_state contains tal_sequence_pointer and live_verifier_url. The pointer is null or 1 to 64 characters from A-Z, a-z, 0-9, underscore, hyphen and period. It has meaning only within the issuer ledger context. The URL is null or an absolute HTTPS URI [RFC3986] of at most 512 ASCII characters, with a nonempty host and without userinfo or fragment. Neither field constitutes a verification result or a freshness proof. JCS applies to the assertion. SHA-256 applies directly to the source PDF bytes. A Merkle root would require separately specified leaves, ordering, and tree construction, such as the algorithm in [RFC9162] Section 2.1.1. This profile defines no Merkle tree. 4. Issuer Procedure For newly generated profile-specific references when both 32-octet inputs are available, the ordered inputs relationship_input_a and relationship_input_b are independently provisioned relationship identifiers from the issuer’s namespace. Compute lowercase hex of SHA-256(ASCII("OUTERPRISE_PAIR_KEY_V1") || relationship_input_a || relationship_input_b), with no delimiter or newline and with raw input octets. Use independent high-entropy values for new relationships. An existing public opaque 32-octet relationship reference MAY be carried without asserting this derivation. A verifier never infers identity or authority from knowledge of the reference. Compute the source digest and place it in the payload. Freeze the canonical payload bytes. The base offline signature MUST be a CBOR tag 18 COSE_Sign1 [RFC9052] object with protected bytes a10132 (algorithm Ed25519, -19 [RFC9864]), empty unprotected map, embedded payload, and a 64-octet Ed25519 signature [RFC8032]. The signer MUST use deterministic CBOR [RFC8949] Section 4.2.1 and empty external AAD. Sign the deterministic CBOR array ["Signature1", h'a10132', h'', payload-bytes], with each of the last three entries a byte string. Jones Expires 1 June 2027 [Page 4] Internet-Draft Paper API November 2026 A distribution can carry a separate SCITT Signed Statement containing the identical payload. That statement MUST satisfy RFC 9943 independently, including its protected-header requirements. The base offline COSE envelope alone does not assert SCITT registration. Verify an optional SCITT Receipt using the applicable proof profile and trusted log configuration [RFC9942]. This is a proposed issuance procedure. Production equivalence with the Entercation app requires a deployed implementation and an export demonstrating byte-for-byte agreement under this profile. 5. Verification Procedure Apply local resource limits to the scan, signature, and PDF. Decode the back QR to raw envelope octets and extract its embedded payload. Strictly validate the payload schema and canonical encoding. If a front code is provided, validate its schema and test exact equality of both identity fields. Report absent front evidence separately. Validate the COSE structure and exact protected bytes. Verify the payload exactly as carried in the scanned envelope. Reconstruct the signing input and verify the signature with an independently trusted and authorized issuer key. A missing envelope or absence of any policy-authorized candidate key yields UNAVAILABLE unless a mandatory check independently fails. A present envelope with missing or malformed signature data is FAIL. If at least one authorized key is evaluated and every authorized candidate is conclusively rejected, report FAIL. If a candidate cannot be evaluated and no candidate passes, report UNAVAILABLE for signature verification. A malformed payload, conflicting front when supplied, or failed cryptographic check yields FAIL. Obtain the exact digital source independently of the scan transport, hash its bytes, and compare all 32 digest octets. Treat pages as a signed issuer assertion and report any independent page-count review separately. Report source integrity as MATCH, MISMATCH, or UNAVAILABLE when required evidence is missing or cannot be processed. Report the front comparison, issuer authority, SCITT registration, live state, and physical-copy authenticity separately. A successful issuer and source check supports the issuer-to-digital-source binding. For paper review, compare the printed content and ordering against a rendition of the verified source using a stated review procedure. Report the observed scope of that comparison. A phone image or photocopy does not reconstruct the exact PDF bytes. An optional live status result should be evaluated under separate issuer, scope, and freshness policy. Jones Expires 1 June 2027 [Page 5] Internet-Draft Paper API November 2026 Authorized binding MUST be FAIL if any evaluated mandatory check fails. Otherwise it MUST be UNAVAILABLE when required evidence is missing or no issuer key is authorized by the locally selected policy. It MUST be PASS only when the payload, signature, authorized key, and source digest pass. A supplied front code also MUST pass schema and equality checks for PASS. Absence of an optional front code is reported separately. An unsupported parser or exhausted local resource limit MUST be reported as UNAVAILABLE for the affected check. The verifier MUST consume exactly one COSE item and reject trailing bytes, alternate CBOR encodings, or an unprotected map with entries in the base envelope. The protected header is compared as bytes. When multiple issuer keys exist, the relying party MUST select the expected issuer and authorized candidate keys from its policy before evaluating signatures. A QR value cannot itself install a trust anchor or select a new institution. If both codes from one issue are presented with a different digital source, the digest check reports MISMATCH. If those same codes and the correct digital source accompany substitute paper, digital checks can still pass and physical-copy authenticity remains unavailable from this profile. 6. Security and Privacy Considerations Both QR codes can be copied. A copied authentic pair can appear on substituted pages. Cryptographic success over the source remains possible in that case. A relying party requiring unique physical- instance assurance needs a separately validated per-instance mechanism and custody assumptions. Public relationship references can enable correlation and MUST NOT be used as credentials, secrets, or proof of signer identity. Treat URLs as untrusted until the signed payload and issuer authority have been checked. Apply destination and redirection policy before any connection. A signature authenticates the issuer’s stated context at issuance. It conveys no current status by itself. Freshness or transactional acceptance requires an independent policy input, such as a signed timely status response or a recipient-bound challenge. Keep sensitive source material and locator metadata out of public QR codes. Jones Expires 1 June 2027 [Page 6] Internet-Draft Paper API November 2026 Report PDF byte integrity separately from safe rendering, print correspondence, factual accuracy, and institutional disposition. An optional receipt establishes only what its applicable proof and trust policy support. TEVV exercises can use the test vectors as component evidence. This profile makes no NIST assessment or certification claim. 7. IANA Considerations This document requests no IANA actions. The schema string is local to this profile. 8. Normative References [FIPS180] "Secure Hash Standard", FIPS 180-4, 2015, . [RFC2119] "Key words for use in RFCs to Indicate Requirement Levels", RFC 2119, 1997, . [RFC8174] "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", RFC 8174, 2017, . [RFC3986] "Uniform Resource Identifier (URI): Generic Syntax", RFC 3986, 2005, . [RFC8032] "Edwards-Curve Digital Signature Algorithm (EdDSA)", RFC 8032, 2017, . [RFC8785] "JSON Canonicalization Scheme (JCS)", RFC 8785, 2020, . [RFC8949] "Concise Binary Object Representation (CBOR)", RFC 8949, 2020, . [RFC9052] "CBOR Object Signing and Encryption (COSE): Structures and Process", RFC 9052, 2022, . [RFC9864] "Fully-Specified Algorithms for JSON Object Signing and Encryption (JOSE) and CBOR Object Signing and Encryption (COSE)", RFC 9864, 2025, . [RFC9942] "CBOR Object Signing and Encryption (COSE) Receipts", RFC 9942, 2026, . Jones Expires 1 June 2027 [Page 7] Internet-Draft Paper API November 2026 [RFC9943] "An Architecture for Trustworthy and Transparent Digital Supply Chains", RFC 9943, 2026, . 9. Informative References [AOKI] "SCITT Statement Relationship and Protected Object Binding", Work in Progress, Internet-Draft, draft-nobuo- scitt-protected-object-binding-00, 2026, . Work in Progress. [RFC9162] "Certificate Transparency Version 2.0", RFC 9162, 2021, . Appendix A. Synthetic Test Vectors The source octets are ASCII abc (hex 616263). This fixture isolates the digest and signature operations. These bytes are not a PDF, so a complete document-format check is outside this vector. The page count and entity are synthetic. The seed is for testing only. Concatenate lines within each value with no added bytes. 0000000000000000000000000000000000000000000000000000000000000000 Figure 1: relationship input a hex 0101010101010101010101010101010101010101010101010101010101010101 Figure 2: relationship input b hex dea13a6dbb463e311f41ff7aba889b2b1142ca5a96020a1dc4889f0071c6fcac Figure 3: pair key 616263 Figure 4: source octets hex ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad Figure 5: source pdf sha256 Jones Expires 1 June 2027 [Page 8] Internet-Draft Paper API November 2026 {"context_and_state":{"live_verifier_url":null,"tal_sequence_poi nter":null},"identity_anchor":{"entity":"EXAMPLE","pair_key":"de a13a6dbb463e311f41ff7aba889b2b1142ca5a96020a1dc4889f0071c6fcac"} ,"physical_object":{"pages":1,"printed_at":null,"source_pdf_sha2 56":"ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20 015ad"},"schema":"outerprise.paper_api.v1"} Figure 6: jcs utf8 515347301d6c6b7109d23391d1c8ef41e2b5108d68c4a7c3735afbfc5ba44fbb Figure 7: jcs sha256 0303030303030303030303030303030303030303030303030303030303030303 Figure 8: test seed hex ed4928c628d1c2c6eae90338905995612959273a5c63f93636c14614ac8737d1 Figure 9: public key hex 846a5369676e61747572653143a101324059016b7b22636f6e746578745f616e 645f7374617465223a7b226c6976655f76657269666965725f75726c223a6e75 6c6c2c2274616c5f73657175656e63655f706f696e746572223a6e756c6c7d2c 226964656e746974795f616e63686f72223a7b22656e74697479223a22455841 4d504c45222c22706169725f6b6579223a226465613133613664626234363365 3331316634316666376162613838396232623131343263613561393630323061 316463343838396630303731633666636163227d2c22706879736963616c5f6f 626a656374223a7b227061676573223a312c227072696e7465645f6174223a6e 756c6c2c22736f757263655f7064665f736861323536223a2262613738313662 6638663031636665613431343134306465356461653232323362303033363161 33393631373761396362343130666636316632303031356164227d2c22736368 656d61223a226f7574657270726973652e70617065725f6170692e7631227d Figure 10: sig structure hex ffe204423b5a20ec62ea62fd7dbd6947970539a01b81a6a34876254607f9982e 34c3ffe77e1756170d5ab28b63900dc608e89b1a5a260de6dac1bcc5d4a9c10f Figure 11: signature hex Jones Expires 1 June 2027 [Page 9] Internet-Draft Paper API November 2026 d28443a10132a059016b7b22636f6e746578745f616e645f7374617465223a7b 226c6976655f76657269666965725f75726c223a6e756c6c2c2274616c5f7365 7175656e63655f706f696e746572223a6e756c6c7d2c226964656e746974795f 616e63686f72223a7b22656e74697479223a224558414d504c45222c22706169 725f6b6579223a22646561313361366462623436336533313166343166663761 6261383839623262313134326361356139363032306131646334383839663030 3731633666636163227d2c22706879736963616c5f6f626a656374223a7b2270 61676573223a312c227072696e7465645f6174223a6e756c6c2c22736f757263 655f7064665f736861323536223a226261373831366266386630316366656134 3134313430646535646165323232336230303336316133393631373761396362 343130666636316632303031356164227d2c22736368656d61223a226f757465 7270726973652e70617065725f6170692e7631227d5840ffe204423b5a20ec62 ea62fd7dbd6947970539a01b81a6a34876254607f9982e34c3ffe77e1756170d 5ab28b63900dc608e89b1a5a260de6dac1bcc5d4a9c10f Figure 12: cose sign1 hex Author's Address Vince Jones Entercation Info Inc. Email: vince@entercation.info Jones Expires 1 June 2027 [Page 10]