Skip to content

Commit b07ac8f

Browse files
committed
docs: follow the encrypted_key / encrypted_signature rename from #2631
Rename encrypted_submission bytes fields to encrypted_key and encrypted_signature Both fields are proto bytes, so they hold raw bytes, not base64 text; the base64_ prefix was misleading. Field numbers are unchanged (wire-compatible). Review: #2631 (comment) and #discussion_r4316641039.
1 parent c55ed9a commit b07ac8f

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎docs/technical/model/forms/16-encryption.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ message EncryptedSubmissionManifest {
5252
string instance_id = 3;
5353
5454
// Ephemeral 256-bit AES symmetric key encrypted with the recipient's RSA public key.
55-
bytes base64_encrypted_key = 4;
55+
bytes encrypted_key = 4;
5656
5757
// Encrypted primary ProtoForms record payload (or reference to uploaded encrypted binary).
5858
EncryptedFile primary_record = 5;
@@ -61,7 +61,7 @@ message EncryptedSubmissionManifest {
6161
repeated EncryptedFile media_attachments = 6;
6262
6363
// Cryptographic signature verifying manifest integrity and non-tampering.
64-
bytes base64_encrypted_signature = 7;
64+
bytes encrypted_signature = 7;
6565
}
6666
6767
message EncryptedFile {
@@ -85,7 +85,7 @@ message EncryptedFile {
8585
form_id: "myform"
8686
version: "2026090901"
8787
instance_id: "uuid:5b9cf8d1-106f-4004-844f-c072d76762ed"
88-
base64_encrypted_key: "sHXUut13/res3S3uJkwgfhABOc74aXGnCTxTcRTplS9k..."
88+
encrypted_key: "sHXUut13/res3S3uJkwgfhABOc74aXGnCTxTcRTplS9k..."
8989
primary_record {
9090
filename: "submission.pb.enc"
9191
content_type: "application/x-protobuf"
@@ -98,7 +98,7 @@ media_attachments {
9898
filename: "myaudio.mp3.enc"
9999
content_type: "audio/mp3"
100100
}
101-
base64_encrypted_signature: "OU7rbZl0uFy7xv/HnSl1juVrdf2fQpzcfjwetgl+wse..."
101+
encrypted_signature: "OU7rbZl0uFy7xv/HnSl1juVrdf2fQpzcfjwetgl+wse..."
102102
```
103103

104104
## Cryptographic Algorithms
@@ -132,7 +132,7 @@ transit:
132132
concatenate lines separated by newline ("\n"):
133133
- form_id
134134
- version
135-
- base64_encrypted_key
135+
- encrypted_key
136136
- instance_id
137137
- for every media attachment and primary record in sequence:
138138
filename + "::" + hex_md5(unencrypted_bytes)

0 commit comments

Comments
 (0)