Skip to content

minor code cleanups#429

Merged
hannesm merged 3 commits into
mirleft:mainfrom
hannesm:utils-rev
Apr 14, 2021
Merged

minor code cleanups#429
hannesm merged 3 commits into
mirleft:mainfrom
hannesm:utils-rev

Conversation

@hannesm
Copy link
Copy Markdown
Member

@hannesm hannesm commented Apr 13, 2021

this is on top of #428, and does some code cleanups (using result).

@hannesm hannesm merged commit f9dd61f into mirleft:main Apr 14, 2021
hannesm added a commit to hannesm/opam-repository that referenced this pull request Apr 14, 2021
CHANGES:

* Remove static RSA and CBC ciphersuites from default configuration. The
  default configuration now includes FFDHE and ECDHE key exchanges with RSA or
  ECDSA/EdDSA certificates, and AEAD ciphers
  (AES-GCM, AES-CCM, ChaCha20-Poly1305) (mirleft/ocaml-tls#429 by @hannesm)
* Remove SHA1 from signature_algorithms in the default configuration
  (mirleft/ocaml-tls#429 by @hannesm)
* Support ECDSA and EdDSA certificates and private keys via x509 0.12.0 and
  mirage-crypto-ec (mirleft/ocaml-tls#428 by @hannesm)
  Breaking changes:
  - the second part of type Tls.Config.certchain is now a X509.Private_key.t
    (previously Mirage_crypto_pk.Rsa.priv)
  - the type aliases X509_lwt.priv and X509_lwt.authenticator have been removed
* Use mirage-crypto-ec instead of fiat-p256 and hacl_x25519 for elliptic curve
  support - this adds P384 and P521 ECDH support (mirleft/ocaml-tls#428 by @hannesm)
* Remove custom Monad implementation, use Result and Rresult instead
  (mirleft/ocaml-tls#429 by @hannesm)
* Remove Utils.Cs submodule, use Cstruct API instead (mirleft/ocaml-tls#429 by @hannesm)
* Breaking: Tls.Engine.ret type is now a result instead of a custom variant type
  (mirleft/ocaml-tls#429 by @hannesm)
* Breaking: Tls_lwt.Unix.epoch results in (Tls.Core.epoch_data, unit) result -
  it was a custom error type previously (mirleft/ocaml-tls#429 by @hannesm)
@hannesm hannesm deleted the utils-rev branch April 14, 2021 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant