package key-parsers

  1. Overview
  2. Docs
Parsers for multiple key formats

Install

Dune Dependency

Authors

Maintainers

Sources

key-parsers-1.0.1.tbz
sha256=118ec499fc624579fade9c50a1e04b02604602a26239e1f1dcc7c11940668ca6
sha512=9cd19fba4bc353785cb4da1ae0a4e9025faa2543ca9c2f0ae8533c15367c3cbd2d2cf7d7e0aad6009b347991c1fdedf9e29a9c58a30bdcf400ad0aa91a562f06

CHANGES.md.html

Changelog

1.0.1

2021-04-28

Fixed

  • Detect malformed RSA keys and return an error

1.0.0

2020-12-03

Changed

  • Correct spelling 'alogrithm' -> 'algorithm' in some labels

Removed

  • Remove dependency on ppx_deriving_yojson and ppx_bin_prot, and associated deprecated serialization values (bin_t, bin_size_t, to_yojson, etc).

  • Remove deprecated uppercase module aliases RSA, DSA, EC and DH in Asn1, Cvc and Ltpa.

0.10.1

2018-10-31

Fixed

  • Allow RSA parameters to be absent form the AlgorithmIdentifier Sequence

0.10.0

2018-08-27

Added

  • Lowercase aliases for uppercase modules RSA, DSA, EC and DH in Asn1, Cvc and Ltpa

Deprecated

  • Yojson and Bin_prot (de)serializers are deprecated ahead of their removal in 1.0.0.

  • Uppercase modules such as Asn1.RSA in favor of their lowercase counterparts

Changed

  • Use dune instead of ocamlbuild and topkg

  • Rename uppercase private variants and modules to lowercase ones

0.9.2

2017-12-12

  • Switch to asn1-combinators >= 0.2.0

  • Refactor Kp_asn1

  • Add documentation and README

0.9.1

2017-08-30

  • remove @tailcall annotations to allow ppx_deriving > 4.2

0.9.0

2017-06-21

  • encode Cstruct as 0x prefixed hex string (breaks json compatibility)

0.8.1

2017-05-03

  • ppx_bin_prot 0.9.0 compatibility

0.8.0

2016-12-27

  • Add an equal function for all exposed types

  • Add bin_prot serializer and deserializer for all exposed types

0.7.0

2016-11-28

(This release contains breaking changes)

  • Fixes CVC EC keys representation (Breaking change)

  • Accept a range of rsa and ecdsa oids for CVC keys

v0.6.1

2016-11-15

  • Fixes install

v0.6.0

2016-11-14

  • Build using topkg

  • Add ppx_deriving.runtime to META

  • Add support for parsing CVC keys

v0.5.0

2016-08-10

  • Explicitly define ocaml version

  • Widen dependencies version ranges

  • add ppx_deriving annotations for ord and yojson to most of the exposed types in Asn1 and Ltpa

v0.4.0

2016-07-25

  • Accept ECDH and ECMQV OIDs for EC keys AlorithmIdentifier

  • Add support for encoding/decoding Diffie-Hellman keys

  • Use ppx_deriving_yojson 3.0

v0.3.0

2016-03-10

  • Add converters and compare functions to Asn1.EC

  • Split Key_parsers content between Asn1 and Ltpa submodules. Breaks compatibility with previous versions.

  • Add some tests

  • Decode functions now return ('a, string) Result.result. Breaks compatibility with previous versions.

  • Add LTPA RSA parsers

v0.2.0

2016-02-15

  • Add EC keys and parameters parsers

  • Compile with -safe-string

v0.1.0

2015-11-27

  • Initial release

OCaml

Innovation. Community. Security.