rustls-pin 0.1.1

Server certificate pinning with `rustls`
Documentation

crates.io version license: Apache 2.0 unsafe forbidden pipeline status

rustls-pin

Server certificate pinning with rustls.

Features

  • Make a TLS connection to a server
  • Check that the server is using an allowed certificate
  • forbid(unsafe_code)
  • 100% test coverage

Alternatives

Example

let mut stream = rustls_pin::connect_pinned(
    addr,
    vec![server_cert1, server_cert2],
).unwrap();

Changelog

  • v0.1.1 - Increase test coverage
  • v0.1.0 - Initial version

Happy Contributors 🙂

Fixing bugs and adding features is easy and fast. Send us a pull request and we intend to:

  • Always respond within 24 hours
  • Provide clear & concrete feedback
  • Immediately make a new release for your accepted change

License: Apache-2.0