docs.rs failed to build rustls-jls-1.3.2
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
rustls-jls-1.3.1
Rustls-jls
This is a fork of Rustls which implements the JLS protocol.
Implementation detail
- Use JLS v3 protocol to authenticate clienthello and servehello
- The authentication result is stored in
jls_authedvariable.Some(true)for a successful authentication andSome(false)for a failed authentication.Nonefor not handshaking. - For a client, a successful authentication will skip certificates verification. A failed one will not and it degenerate to be a normal tls connection.
- For a server, authentication result makes no difference except
jls_authedvariable - No port forward is implemented since rustls makes no IO operation. It's better to implement in tokio-rustls.
Example
client
see client.
RUST_LOG=debug cargo run --bin simplejlsclient
server
see server.
RUST_LOG=debug cargo run --bin jlsserver-mio -- --certs ./test-ca/ecdsa/end.cert --key ./test-ca/ecdsa/end.key --port 4443 echo