Commit 150a476
Fix key parameters in authorization list (#176)
Previous commit 57b92ab wrongly encoded the key parameter `PADDING`, which should be a single SET OF INTEGER (like PURPOSE and DIGEST).
Moreover, we now include the key parameter BLOCK_MODE in KeyEntryResponse with correct order (found in key generation of `mobstore_encrypt` by GMS).
Co-authored-by: Mohammed Riad <1@mhmrdd.me>
Co-authored-by: Enginex0 <enginex0@users.noreply.github.com>1 parent 7209171 commit 150a476
2 files changed
Lines changed: 9 additions & 2 deletions
File tree
- app/src/main/java/org/matrix/TEESimulator
- attestation
- interception/keystore/shim
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
196 | | - | |
| 196 | + | |
197 | 197 | | |
198 | | - | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
199 | 203 | | |
200 | 204 | | |
201 | 205 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
452 | 452 | | |
453 | 453 | | |
454 | 454 | | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
455 | 458 | | |
456 | 459 | | |
457 | 460 | | |
| |||
0 commit comments