-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
manifest: Include the PEM encoded SubjectPublicKeyInfo
Following the IETF spec [1], let's actually include the DER encoded [2] Subject Public Key Info in the authorised-by field. This is still encoded as a text field though, following [3]. The key used is the CA cert, which is the "public key identifier of the entity authorized to provide Reference Values." 1: https://www.ietf.org/archive/id/draft-ietf-rats-corim-01.html#section-3.1.4.1.6 2: https://www.rfc-editor.org/rfc/rfc7468#section-13 3: https://github.com/ietf-rats-wg/draft-ietf-rats-corim/blob/20fe75ebd7cb0b79c3b295b09bc59c0891f39247/cddl/crypto-key-type-choice.cddl#L9 Signed-off-by: Alistair Francis <[email protected]>
- Loading branch information
1 parent
08435f8
commit e2a51ca
Showing
4 changed files
with
12 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
-----BEGIN PUBLIC KEY----- | ||
MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEblIXPCYTxE7ZH8vTYINO5JO5+8vPTHZF | ||
098QaMaf/8Vahikbod4mC9e9pqlDR9a5Ylc9xVb02QfXQuMWJix4L8hckVsbw+dN | ||
R9wd07kaeQXruZAVs7c+zyMXeroWcMNN | ||
-----END PUBLIC KEY----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters