aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenauxg <19689618+Henauxg@users.noreply.github.com>2022-11-15 23:45:15 +0100
committerHenauxg <19689618+Henauxg@users.noreply.github.com>2022-11-15 23:45:15 +0100
commitcc1eb6bbbf1744b6d5f012a2c807992db226d971 (patch)
tree95efd7beb67a3fcf80a056b70b1d0451a7c910ca
parent014f791900e70240504ca36878c3bcbc15c41f56 (diff)
[docs] Small update to certificates.md
-rw-r--r--docs/Certificates.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/Certificates.md b/docs/Certificates.md
index 13b724c..8c61082 100644
--- a/docs/Certificates.md
+++ b/docs/Certificates.md
@@ -4,7 +4,7 @@
### Default configuration
-Use it like this:
+Use the default configuration like this:
```rust
client.connect(/*...*/, CertificateVerificationMode::TrustOnFirstUse(TrustOnFirstUseConfig {
..Default::default()
@@ -15,7 +15,7 @@ client.connect(/*...*/, CertificateVerificationMode::TrustOnFirstUse(TrustOnFirs
With the default configuration, known hosts and their fingerprints are stored in a file, which defaults to `quinnet/known_hosts`.
The defaults verifier behaviours are:
-- For an `unknwon` certificate (first time this server is encountered) => the client trusts this certificate, stores its fingerprint and continue the connection;
+- For an `unknown` certificate (first time this server is encountered) => the client trusts this certificate, stores its fingerprint and continue the connection;
- For a `trusted` certificate (the fingerprint matches the one stored for this server) => the client trusts this certificate and continue the connection;
- For an `untrusted` certificate (the certificate's fingerprint does not match the one in the store) => the client raises an event to the Bevy app and waits for an action to apply.