File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,11 @@ where:
77
77
78
78
### Steps
79
79
80
+ Out of band:
81
+
82
+ - Agree on a PAYLOAD_TYPE and cryptographic details.
83
+ - Decide if [backwards compatible signature] mode should be allowed.
84
+
80
85
To sign:
81
86
82
87
- Serialize BODY according to PAYLOAD_TYPE. Call the result SERIALIZED_BODY.
@@ -91,6 +96,7 @@ To verify:
91
96
fails.
92
97
- Base64-decode `sig` and verify PAE(UTF8(PAYLOAD_TYPE), SERIALIZED_BODY).
93
98
Reject if either the decoding or the signature verification fails.
99
+ - Reject if PAYLOAD_TYPE is not a supported type.
94
100
- Parse SERIALIZED_BODY according to PAYLOAD_TYPE. Reject if the parsing
95
101
fails.
96
102
@@ -356,6 +362,7 @@ Signed wrapper:
356
362
- [ JWS]
357
363
- [ PASETO]
358
364
365
+ [ backwards compatible signature ] : #backwards-compatible-signatures
359
366
[ Canonical JSON ] : http://wiki.laptop.org/go/Canonical_JSON
360
367
[ JWS ] : https://tools.ietf.org/html/rfc7515
361
368
[ PASETO ] : https://github.com/paragonie/paseto/blob/master/docs/01-Protocol-Versions/Version2.md#sig
You can’t perform that action at this time.
0 commit comments