package noise
All checked builds passInstall
dune-project
Dependency
Authors
Maintainers
Sources
sha256=3970103d44c960cd97a44f571079d0b04c170874a89f8fb1c9cd94ff912952db
sha512=fb5ffc7e3156532444556caf702d14180c94b08f12bd1b7db9febee4a16100868b73b31ff668f09bcfae5de04e973ecc1c4e83cf7630eaa4fd19afecebe5333b
Description
noise implements the Noise Protocol Framework (https://noiseprotocol.org/) in OCaml. It supports Curve25519 DH, AES-256-GCM and ChaCha20-Poly1305 ciphers, SHA-256, SHA-512, BLAKE2s and BLAKE2b hashes, all fundamental and deferred handshake patterns, and PSK modifiers.
README
ocaml-noise
ocaml-noise is an OCaml implementation of the Noise Protocol Framework, revision 34.
Supported algorithms
Component | Supported |
|---|---|
DH | Curve25519 (X25519) |
AEAD ciphers | AES-256-GCM, ChaCha20-Poly1305 |
Hashes | SHA-256, SHA-512, BLAKE2s, BLAKE2b |
Patterns | all one-way (N, K, X), all 12 fundamental interactive, all 23 deferred |
Modifiers | single |
Testing
nix develop
dune runtest --forceRuns three tests:
test_vectors: 472 externally generated vectors from cacophony that cover each pattern * suite combination.test_negative: tests for malformed protocol names, truncated/corrupted/replayed messages, prologue and PSK mismatches, oversized messages, and state-machine misuse.test_roundtrip: full handshakes with freshly generated keys.
Dependencies (5)
-
digestif
>= "1.3" -
mirage-crypto-ec
>= "2.0" -
mirage-crypto
>= "2.0" -
ocaml
>= "5.0" -
dune
>= "3.17"
Dev Dependencies (5)
-
odoc
with-doc -
ohex
with-test & >= "0.2" -
yojson
with-test & >= "2.0" -
alcotest
with-test & >= "1.0" -
mirage-crypto-rng
with-test & >= "2.0"
Optional Dependencies
None
Used by
None
Conflicts
None
Build status
Results of building noise with each compiler on check.ci.ocaml.org, run of against opam-repository 8a77e58. All results for this package.
Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.
| Version | OCaml 4.11 | OCaml 4.14 | OCaml 5.2 | OCaml 5.4 | OCaml 5.5 |
|---|---|---|---|---|---|
| 0.2.0 (this version) | n/a | n/a | good | good | good |
- good Package successfully built
- partial One of the dependencies failed to build
- bad Package failed to build
- n/a Package is not available in this environment
- internal Internal failure