Skip to content

Commit d9780e7

Browse files
committed
Fix Markdown syntax for link references.
Also hyperlink Canonical JSON in a few areas where it would be useful.
1 parent 828795f commit d9780e7

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

specification.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ either, and verifiers must accept either.
8383
To convert existing signatures from the current format to the new format,
8484
`"backwards-compatible-json"` must be added to the payload type URI to indicate
8585
that the signature is over the raw payload. This allows the signatures to remain
86-
valid while avoiding the verifier from having to use CanonicalJson.
86+
valid while avoiding the verifier from having to use [Canonical JSON].
8787

8888
```json
8989
{
@@ -101,7 +101,7 @@ Support for this backwards compatibility mode is optional.
101101
To sign:
102102

103103
- BODY **must** be an object type (`{...}`).
104-
- Serialize BODY as Canonical JSON; call this SERIALIZED_BODY.
104+
- Serialize BODY as [Canonical JSON]; call this SERIALIZED_BODY.
105105
- Sign SERIALIZED_BODY, base64-encode the result, and store it in `sig`.
106106
- Base64-encode SERIALIZED_BODY and store it in `payload`.
107107
- Store `"<URI>/backwards-compatible-json"` in `payloadType`.
@@ -333,7 +333,10 @@ Signed wrapper:
333333

334334
## References
335335

336-
- [Canonical JSON](http://wiki.laptop.org/go/Canonical_JSON)
337-
- [JWS](https://tools.ietf.org/html/rfc7515)
338-
- [PASETO](https://github.com/paragonie/paseto/blob/master/docs/01-Protocol-Versions/Version2.md#sig)
336+
- [Canonical JSON]
337+
- [JWS]
338+
- [PASETO]
339339

340+
[Canonical JSON]: http://wiki.laptop.org/go/Canonical_JSON
341+
[JWS]: https://tools.ietf.org/html/rfc7515
342+
[PASETO]: https://github.com/paragonie/paseto/blob/master/docs/01-Protocol-Versions/Version2.md#sig

0 commit comments

Comments
 (0)