Skip to content

Commit fba2968

Browse files
committed
Replace obsolete "backwards-compatible-json".
This was cruft from an earlier revision. It should have been "raw-json-no-payload-type".
1 parent c52e587 commit fba2968

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

specification.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ either, and verifiers **MUST** accept either.
126126
### Backwards compatible signatures
127127
128128
To convert existing signatures from the current format to the new format,
129-
`"backwards-compatible-json"` is added to the payload type URI to indicate that
129+
`"raw-json-no-payload-type"` is added to the payload type URI to indicate that
130130
the signature is over the raw payload. This allows the signatures to remain
131131
valid while avoiding the verifier from having to use [Canonical JSON].
132132
@@ -163,8 +163,8 @@ To verify:
163163
decoding or the signature verification fails.
164164
- Parse SERIALIZED_BODY as a JSON object. Reject if the parsing fails or if
165165
the result is not a JSON object. In particular, the first byte of
166-
SERIALIZED_BODY **MUST** be `{`. Verifiers **MUST NOT** require SERIALIZED_BODY
167-
to be Canonical JSON.
166+
SERIALIZED_BODY **MUST** be `{`. Verifiers **MUST NOT** require
167+
SERIALIZED_BODY to be Canonical JSON.
168168
- Discard `payloadType` if present.
169169

170170
Backwards compatible signatures are not recommended because they lack the
@@ -289,8 +289,8 @@ Rationales for specific decisions:
289289
payloadType were not signed.
290290
- Also, URIs don't need to be registered while Media Types do.
291291

292-
- Why use payloadType "backwards-compatible-json" instead of assuming
293-
backwards compatible mode if payloadType is absent?
292+
- Why use payloadType "raw-json-no-payload-type" instead of assuming backwards
293+
compatible mode if payloadType is absent?
294294

295295
- We wanted to leave open the possibility of having an
296296
application-specific "default" value if payloadType is unspecified,

0 commit comments

Comments
 (0)