Skip to content

Commit

Permalink
[new release] x509 (0.8.0)
Browse files Browse the repository at this point in the history
CHANGES:

* export X509.Distinguished_name.common_name : t -> string option, which
  extracts the common name of a distinguished name
* Distinguished_name.t is now a Relative_distinguished_name.t list, a
  Relative_distinguished_name is a Set.S with element type attribute, a variant.
  It used to be an attribute (expressed as GADT) Gmap.t, but this representation
  did not conform to RFC 5280, reported by @paurkedal (mirleft/ocaml-x509#117, fixed by mirleft/ocaml-x509#118)
* Now using Set.find_first_opt, which bumps lower OCaml bound to 4.05.0
* Improved pretty-printing for DNs including RFC 4514 conformance (@paurkedal, mirleft/ocaml-x509#119).
* Extension.pp now outputs extension key and its value (mirleft/ocaml-x509#120)
* rename Distinguished_name.SP constructor (stateOrProvince) to ST, as widely used (mirleft/ocaml-x509#121)
* support Street and UID in Distinguished_name to satisfy RFC 4514 demands (mirleft/ocaml-x509#121)
  • Loading branch information
hannesm committed Oct 10, 2019
1 parent 7a9bb23 commit c68066d
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions packages/x509/x509.0.8.0/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
opam-version: "2.0"
maintainer: [
"Hannes Mehnert <hannes@mehnert.org>"
]
authors: [
"Hannes Mehnert <hannes@mehnert.org>"
"David Kaloper <dk505@cam.ac.uk>"
]
license: "BSD2"
tags: "org:mirage"
homepage: "https://github.com/mirleft/ocaml-x509"
doc: "https://mirleft.github.io/ocaml-x509/doc"
bug-reports: "https://github.com/mirleft/ocaml-x509/issues"
depends: [
"ocaml" {>= "4.05.0"}
"dune" {>= "1.2"}
"cstruct" {>= "4.0.0"}
"asn1-combinators" {>= "0.2.0"}
"ptime"
"nocrypto" {>= "0.5.3"}
"rresult"
"fmt"
"alcotest" {with-test}
"cstruct-unix" {with-test & >= "3.0.0"}
"gmap" {>= "0.3.0"}
"domain-name" {>= "0.3.0"}
]
build: [
["dune" "subst"] {pinned}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
dev-repo: "git+https://github.com/mirleft/ocaml-x509.git"
synopsis: "Public Key Infrastructure (RFC 5280, PKCS) purely in OCaml"
description: """
X.509 is a public key infrastructure used mostly on the Internet. It consists
of certificates which include public keys and identifiers, signed by an
authority. Authorities must be exchanged over a second channel to establish the
trust relationship. This library implements most parts of RFC5280 and RFC6125.
The Public Key Cryptography Standards (PKCS) defines encoding and decoding
(in ASN.1 DER and PEM format), which is also implemented by this library -
namely PKCS 1, PKCS 7, PKCS 8, PKCS 9 and PKCS 10.
"""
url {
src:
"https://github.com/mirleft/ocaml-x509/releases/download/v0.8.0/x509-v0.8.0.tbz"
checksum: [
"sha256=f9bf0b8a4392486f055b97860aeff8ef11fe0fade6ab23dc7bf5a7ebf1b8eb96"
"sha512=487121d9d4cf64de3dab5cf5379a5d7b8d38f959d9daddb1431a309ec4ea09212892490802255b7d49dd89f4c8513aade06f89f2fd912c468746234c04ae3f80"
]
}

0 comments on commit c68066d

Please sign in to comment.