Skip to content

Commit 4cbb8d5

Browse files
committed
(WIP) Add POUF-2 pointing to DSSE
Signed-off-by: Aditya Sirish <[email protected]>
1 parent 80a0909 commit 4cbb8d5

File tree

1 file changed

+66
-0
lines changed

1 file changed

+66
-0
lines changed

POUFs/pouf2.md

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
* POUF: 2
2+
* Title: Reference Implementation Using DSSE
3+
* Version: 1
4+
* Last-Modified: 09-Jun-2021
5+
* Author: Aditya Sirish A Yelgundhalli
6+
* Status: Draft
7+
* TUF Version Implemented:
8+
* Implementation Version(s) Covered:
9+
* Content-Type: text/markdown
10+
* Created: 09-Jun-2021
11+
12+
# Abstract
13+
14+
This POUF describes a proposal to switch the TUF reference implementation maintained by NYU to using Dead Simple Signing Envelope (DSSE).
15+
16+
# Protocol
17+
18+
Refer to POUF-1.
19+
20+
# Operations
21+
22+
Refer to POUF-1.
23+
24+
# Usage
25+
26+
Refer to POUF-1.
27+
28+
# Formats
29+
30+
## General Principals
31+
32+
All signed metadata objects have the format defined in DSSE v1:
33+
34+
{
35+
"payload": "<Base64(SERIALIZED_BODY)>",
36+
"payloadType": "<PAYLOAD_TYPE>",
37+
"signatures": [{
38+
"keyid": "<KEYID>",
39+
"sig": "<Base64(SIGNATURE)>"
40+
}]
41+
}
42+
43+
where:
44+
45+
* SERIALIZED_BODY is a dictionary whose "_type" field describes the role type.
46+
47+
* PAYLOAD_TYPE is a fixed as "application/vnd.tuf+json identifying it as TUF metadata.
48+
49+
* KEYID is the identifier of the key signing the ROLE dictionary.
50+
51+
* SIGNATURE is a hex-encoded signature of the canonical JSON form of ROLE.
52+
53+
For key formats, refer to POUF-1.
54+
55+
56+
## File Formats
57+
58+
Refer to POUF-1.
59+
60+
# Security Audit
61+
62+
The parts of this profile borrowed from POUF-1 were included in TUF security audits available at https://theupdateframework.github.io/audits.html. The new signature wrapper has not yet been audited.
63+
64+
# Version History
65+
66+
N/A

0 commit comments

Comments
 (0)