Hi,
corim-tool already supports verifying a signed CoRIM via the embedded COSE x5chain header and optional --root (README). cocli corim verify currently only documents --key (JWK).
I'm working on adding the same x5chain-based verification to cocli:
cocli corim verify --file signed-corim.cbor --root root-ca.der
--key would remain supported as an alternative, as in corim-tool.
Before I open a PR, I'd like to confirm:
- Is this the expected direction for CLI parity with
corim-tool?
- For x5chain validation, is full PKIX path validation the expected approach (validity, CA/basic constraints, key usage, chain building to trusted roots)? Or should a lighter check (e.g. signature chain only) be sufficient?
- Any preferences on
--root flag naming or trust-store behavior (system roots + explicit --root)?
- Should optional
--crl support be included? (corim-tool does not have this yet.)
Happy to contribute if this aligns with the project's roadmap.
Hi,
corim-toolalready supports verifying a signed CoRIM via the embedded COSEx5chainheader and optional--root(README).cocli corim verifycurrently only documents--key(JWK).I'm working on adding the same x5chain-based verification to
cocli:--keywould remain supported as an alternative, as incorim-tool.Before I open a PR, I'd like to confirm:
corim-tool?--rootflag naming or trust-store behavior (system roots + explicit--root)?--crlsupport be included? (corim-tooldoes not have this yet.)Happy to contribute if this aligns with the project's roadmap.