Skip to content

Commit

Permalink
fix: condition-version example
Browse files Browse the repository at this point in the history
  • Loading branch information
kentakayama committed Nov 21, 2024
1 parent 4a87d8e commit 2a4269d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
Binary file modified testfiles/suit_manifest_expU0.cbor
Binary file not shown.
26 changes: 13 additions & 13 deletions testfiles/suit_manifest_expU0.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
/ authentication-wrapper / 2: << [
<< [
/ digest-algorithm-id: / -16 / SHA256 /,
/ digest-bytes: / h'3E4334BE58525756989101480CA8642B13536E4E5BEBB488527744475B41F5FD'
/ digest-bytes: / h'01FCD9F6EBC2FB0CC68FF58488D3C9FF304BBB2DF5E5AF820DE1976FB73F155A'
] >>,
<< / COSE_Sign1_Tagged / 18([
/ protected: / << {
/ algorithm-id / 1: -7 / ES256 /
} >>,
/ unprotected: / {},
/ payload: / null,
/ signature: / h'E3D6E28AADDB5E84EF5B55A0B95AD3ACB90BE4C9E3DCBE9026C2586243BA806053C9369B52D8308AED9447A2EB12E47C0646FD8DFA3C24934C20D53785983885'
/ signature: / h'CC307FB0147A53F7C734DF0F2C110772241BECF14EC17D8FA1402E044DC65AD077A0DD4A14A551D140FF797FE40C57A570827435127706AF64C46AD8593FE3EE'
]) >>
] >>,
/ manifest / 3: << {
Expand All @@ -41,21 +41,21 @@
/ parameter-use-before / 4: 1696291200 / Tue 03 Oct 2023 12:00:00AM /,
/ parameter-minimum-battery / 26: 10 / 10% /,
/ parameter-update-priority / 27: -1 / 'critical' /,
/ parameter-version / 28: [
/ parameter-version / 28: << [
/ comparison-type: / 4 / lesser-equal /,
/ comparison-value: / [ 1, 0 ]
]
] >>
},
/ directive-set-component-index / 12, 1,
/ directive-copy-params / 35, {
/ src-index / 0: [ 4, 26, 27 ] / use-before, minimum-battery, update-priority /
},
/ directive-override-parameters / 20, {
/ parameter-version / 28: [
/ parameter-version / 28: << [
/ comparison-type: / 5 / lesser /,
/ comparison-value: / [ 1, 0, 2 ]
]
] >>
},
/ directive-set-component-index / 12, true,
Expand All @@ -75,11 +75,11 @@
{: numbered='no'}

~~~~
D86BA2025873825824822F58203E4334BE58525756989101480CA8642B13
536E4E5BEBB488527744475B41F5FD584AD28443A10126A0F65840E3D6E2
8AADDB5E84EF5B55A0B95AD3ACB90BE4C9E3DCBE9026C2586243BA806053
C9369B52D8308AED9447A2EB12E47C0646FD8DFA3C24934C20D537859838
85035852A4010102000349A1028281410081410114583F8E0C0014A4041A
651B5980181A0A181B20181C82048201000C011823A1008304181A181B14
A1181C8205830100020CF518204C88040F181A0F181C0F181B0F
D86BA2025873825824822F582001FCD9F6EBC2FB0CC68FF58488D3C9FF30
4BBB2DF5E5AF820DE1976FB73F155A584AD28443A10126A0F65840CC307F
B0147A53F7C734DF0F2C110772241BECF14EC17D8FA1402E044DC65AD077
A0DD4A14A551D140FF797FE40C57A570827435127706AF64C46AD8593FE3
EE035854A4010102000349A102828141008141011458418E0C0014A4041A
651B5980181A0A181B20181C4582048201000C011823A1008304181A181B
14A1181C468205830100020CF518204C88040F181A0F181C0F181B0F
~~~~

0 comments on commit 2a4269d

Please sign in to comment.