package key-parsers

  1. Overview
  2. Docs
Parsers for multiple key formats

Install

Dune Dependency

Authors

Maintainers

Sources

key-parsers-1.5.0.tbz
sha256=89d0453c28c2b17b6f04f92bee6e23e49b6a506c4b20368ca74cbd16b6543889
sha512=4efcf68cfc6b6d16a91f73efbb5fba68f55b449a6b5e8b47d2e0e7105fd48092d079920b6abf3f06d5c965da6bcd573800fe99a96ccacbdc31ace6d483044775

CHANGES.md.html

Unreleased

2022-12-05

  • Add alternative algorithm identifier for DSA keys

  • Improve reporting of unknown algorithm identifiers

1.4.0

2021-09-14

Changed

  • Parse Signature packets/Marker packets in the PGP module

1.3.0

2021-08-05

Changed

  • Change the way ID packets are represented in the PGP module

1.2.1

2021-07-30

Changed

  • Update the minimal Cstruct version to 6.0.0 and Dune to 2.0

1.2.0

2021-07-27

Added

  • Added the possibility of parsing PGP files to the library

1.1.0

2021-05-10

Added

  • Add non-pkcs8 (OpenSSL) DSA private keys

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.