Skip to content

Commit e6264ee

Browse files
authored
Merge pull request #84 from cryptomator/feature/12-fix
2 parents 8fb8e9b + ca68079 commit e6264ee

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/security/architecture.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,10 @@ The wrapped keys and the parameters needed to derive the KEK are then stored as
139139
}
140140
```
141141

142+
:::note
143+
When calculating the `versionMac`, the `version` value must be converted to a 32-bit unsigned integer and then encoded as a 4-byte big-endian representation before computing the HMAC-SHA256, regardless of the system's native byte order.
144+
:::
145+
142146
When unlocking a vault the KEK is used to unwrap (i.e. decrypt) the stored masterkeys.
143147

144148
<WhiteBox>

0 commit comments

Comments
 (0)