package asn1-combinators
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=fa2984c6ea6e1e1c4fe2033f0165af611963c2400ce2ba051004b77dfc557c4e
sha512=710f6916e792d4134bf72cc1aa4696e1ba63cf472177439dfc17cee840f11c541287c00f923e9235c9c93825ca5570807ddd0b725738a657c4d5f2c230692c30
CHANGES.md.html
v0.3.1 (2024-05-08)
Introduce Asn.S.unsigned_integer - useful for e.g. ECDSA signatures where the user code expects an unsigned integer and shouldn't worry about the ASN.1 encoding (#44 @reynir @hannesm)
Provide custom random generators for int and unsigned_integer (#44 @hannesm @reynir)
v0.3.0 (2024-03-14)
BUGFIX: utctime 50 should be 1950 (not 2050) (#39 @reynir)
drop zarith dependency, Asn.S.integer is now a Cstruct.t (#42 @hannesm)
drop cstruct dependency, use string instead (#43 @hannesm) this changes the allocation discipline, and while benchmarking the decoding of certificates takes less time now, there may be performance differences (since now String.sub is used which allocates and copies data)
v0.2.6 (2021-08-04)
Use Cstruct.length instead of Cstruct.len, drop OCaml <4.08 support, remove bigarray-compat and stdlib-shims dependencies (#37 by @hannesm)
v0.2.5 (2021-03-05)
Fix an integer overflow in the length field on 32 bit architectures (#36 by @hannesm)
v0.2.4 (2020-11-05)
OCaml 4.12 support (#35 by @kit-ty-kate, @hannesm)
v0.2.3 (2020-09-28)
adapt to cstruct 6.0.0 API changes (#34 by @dinosaure)
v0.2.2 (2020-01-29)
packaging improvements: add lower bound to dune dependency, improve test invocation, remove version from dune-project (reported by @kit-ty-kate in ocaml/opam-repository#15757 fixed by @hannesm)
v0.2.1 (2020-01-28)
disallow various constructs as suggested by ITU-T Rec X.690 (by @pqwy)
redundant OID component forms (X.690 8.20.2)
redundant integer forms (X.690 8.3.2)
empty integer (X.690 8.3.1, reported in #23 by @emillon)
constructed strings in DER
deeper implict -> explicit over choice (follow-up to v0.2.0 entry, by @pqwy)
handle long-form length overflow (reported in #24 by @emillon, fixed by @pqwy)
disallow primitive with indefinite length (introduced in the bugfix above, reported by @emillon, fixed in #32 by @hannesm)
disallow nonsensical bitstring unused values (X690 8.6.2, reported in #26 by @NathanReb, fixed by @pqwy)
fix non-continuous bit_string_flags (X680 22.6, reported in #25 by @wiml, fixed by @pqwy)
use Alcotest instead of oUnit for unit tests (by @pqwy)
use dune as build system (by @pqwy, superseeds #22)
use bigarray-compat (#27 by @TheLortex) and stdlib-shims (#29 by @XVilka)
raise lower bound to OCaml 4.05.0 (#31 by @hannesm)
v0.2.0 (2017-11-13)
OID
s are now fully abstract, with a simpler interface.OID
s have custom comparison and hasing.Time
is gone in favor ofPtime
.IMPLICIT
silently becomesEXPLICIT
when necessary.Parse errors are reported through
Result
.Syntaxes now live in their own module,
Asn.S
.Rewrote the parser; no new features, but looks nicer from a distance.
Various performance improvements.
Documented the interface.
v0.1.3 (2016-11-12)
relicense to ISC
drop oasis
fix a bug in tests on 32 bit
v0.1.2 (2015-05-02)
cstruct-1.6.0 compatibility
v0.1.1 (2014-10-30)
stricter decoding of ints in BER/DER tags and OIDs
performance improvements
v0.1.0 (2014-07-08):
initial (beta) release