From c1673543355441380e2336ff687754fc680556e2 Mon Sep 17 00:00:00 2001 From: EAimTY Date: Sun, 5 Feb 2023 18:03:33 +0900 Subject: [PATCH] fix the description of command `Authenticate` --- tuic/Cargo.toml | 4 ++-- tuic/src/protocol/authenticate.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tuic/Cargo.toml b/tuic/Cargo.toml index 86587fa..92f686a 100644 --- a/tuic/Cargo.toml +++ b/tuic/Cargo.toml @@ -1,10 +1,10 @@ [package] name = "tuic" -version = "5.0.0-pre-alpha3" +version = "5.0.0-pre-alpha4" authors = ["EAimTY "] description = "Delicately-TUICed 0-RTT proxy protocol" categories = ["network-programming"] -keywords = ["network", "proxy", "tuic"] +keywords = ["network", "proxy", "quic", "tuic"] edition = "2021" rust-version = "1.65.0" readme = "README.md" diff --git a/tuic/src/protocol/authenticate.rs b/tuic/src/protocol/authenticate.rs index 67400d1..74539f1 100644 --- a/tuic/src/protocol/authenticate.rs +++ b/tuic/src/protocol/authenticate.rs @@ -12,7 +12,7 @@ use uuid::Uuid; /// where: /// /// - `UUID` - client UUID -/// - `TOKEN` - client token. The client UUID is hashed into a 256-bit long token using [TLS Keying Material Exporter](https://www.rfc-editor.org/rfc/rfc5705) on current TLS session. While exporting, both the `label` and `context` should be the client UUID +/// - `TOKEN` - client token. The client raw password is hashed into a 256-bit long token using [TLS Keying Material Exporter](https://www.rfc-editor.org/rfc/rfc5705) on current TLS session. While exporting, the `label` should be the client UUID and the `context` should be the raw password. #[derive(Clone, Debug)] pub struct Authenticate { uuid: Uuid,