-
CDDL RFC 8610 section 3.7. Unwrapping defines the use of the tilde (~) character operator for unwrapping a map. When zcbor encounters a tilda in the CDDL it throws an exception.
import zcbor
cdd…
-
Eg, https://github.com/IntersectMBO/cardano-ledger/blob/master/eras/conway/impl/cddl-files/conway.cddl
Defines the root type as `$hash28`.
The [RFC](https://datatracker.ietf.org/doc/rfc8610/) in…
-
Based on [this](https://github.com/IntersectMBO/cardano-ledger/blob/master/eras/conway/impl/cddl-files/conway.cddl), quite a few types make a lot of assumptions (`ChangedParameters` especially) which …
-
The current version of the text contains the following EDITOR NOTE:
> EDITOR NOTE: Specify the CDDL structure of /csrattrs and point to appropriate document for its semantics.
This issue aims at…
-
```
SD-Capable-Claim-Value = Array-Value / Map-Value / Scalar-Value
Array-Value = [
*(Redacted-Element / any)
]
Map-Value = {
? blinded-hash-claim, ; only one blinded-hash-claim allowed per …
OR13 updated
3 months ago
-
Please provide more comments explaining the semantics, and avoid magic constants
E.g. for https://github.com/IntersectMBO/cardano-ledger/blob/411054e40b4e08350049e4eaffdf0cc5f73e9d91/eras/conway/im…
-
In draft -09, name allows `RelativeDistinguishedName`with more than one `Attribute`. In the practice, it is rare to have such cases. If we exclude such cases, the CDDL of `Name` can be simplified:
…
xipki updated
2 months ago
-
RFC 8610 defines the CDDL standard prelude in appendix D. This defines tdate.
zcbor yields an exception: KeyError: 'tdate' when is is reference in CDDL.
import zcbor
cddl_str = """
date_type =…
-
We routinely run Black Duck scans on our product to identify vulnerabilities or issues, whether they originate from third-party components or our own codebase. After upgrading to .NET 8 and using the …
-
I have some CDDL that successfully runs through zcbor, but I have now been trying to use cddl-rs (https://docs.rs/cddl/latest/cddl/ and https://github.com/anweiss/cddl) which uses cddl-codegen (https:…