Skip to content

Releases: mirleft/ocaml-asn1-combinators

0.3.1

08 May 10:15
Compare
Choose a tag to compare

CHANGES:

  • 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)

0.3.0

14 Mar 09:31
Compare
Choose a tag to compare

CHANGES:

  • 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)

0.2.6

04 Aug 06:32
Compare
Choose a tag to compare

CHANGES:

  • 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

05 Mar 09:33
Compare
Choose a tag to compare

CHANGES:

  • Fix an integer overflow in the length field on 32 bit architectures
    (#36 by @hannesm)

v0.2.4

05 Nov 20:53
Compare
Choose a tag to compare

CHANGES:

v0.2.3

28 Sep 10:23
c32e3df
Compare
Choose a tag to compare

CHANGES:

v0.2.2

29 Jan 18:22
Compare
Choose a tag to compare

CHANGES:

v0.2.1

28 Jan 17:32
Compare
Choose a tag to compare

CHANGES:

  • 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

24 Nov 09:13
Compare
Choose a tag to compare

v0.2.0 (2017-11-13)

  • OIDs are now fully abstract, with a simpler interface.
  • OIDs have custom comparison and hasing.
  • Time is gone in favor of Ptime.
  • IMPLICIT silently becomes EXPLICIT 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

12 Nov 18:28
Compare
Choose a tag to compare

v0.1.3 (2016-11-12)

  • relicense to ISC
  • drop oasis
  • fix a bug in tests on 32 bit