From 48066d79e074992cdff15cfae358c444b112417e Mon Sep 17 00:00:00 2001 From: sigoden Date: Fri, 8 Mar 2024 00:46:35 +0000 Subject: [PATCH] chore: fix typo --- CHANGELOG.md | 2 +- README.md | 4 ++-- src/main.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fb1b5a6..1158a30 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -85,7 +85,7 @@ All notable changes to this project will be documented in this file. - Remove one clone on `assets_prefix` ([#270](https://github.com/sigoden/dufs/issues/270)) - Optimize tests -- Improve code quanity ([#282](https://github.com/sigoden/dufs/issues/282)) +- Improve code quality ([#282](https://github.com/sigoden/dufs/issues/282)) ## [0.36.0] - 2023-08-24 diff --git a/README.md b/README.md index 3e1a847..1d67b97 100644 --- a/README.md +++ b/README.md @@ -247,12 +247,12 @@ Create hashed password ``` $ mkpasswd -m sha-512 -s Password: 123456 -$6$qCAVUG7yn7t/hH4d$BWm8r5MoDywNmDP/J3V2S2a6flmKHC1IpblfoqZfuK.LtLBZ0KFXP9QIfJP8RqL8MCw4isdheoAMTuwOz.pAO/ +$6$tWMB51u6Kb2ui3wd$5gVHP92V9kZcMwQeKTjyTRgySsYJu471Jb1I6iHQ8iZ6s07GgCIO69KcPBRuwPE5tDq05xMAzye0NxVKuJdYs/ ``` Use hashed password ``` -dufs -a 'admin:$6$qCAVUG7yn7t/hH4d$BWm8r5MoDywNmDP/J3V2S2a6flmKHC1IpblfoqZfuK.LtLBZ0KFXP9QIfJP8RqL8MCw4isdheoAMTuwOz.pAO/@/:rw' +dufs -a 'admin:$6$tWMB51u6Kb2ui3wd$5gVHP92V9kZcMwQeKTjyTRgySsYJu471Jb1I6iHQ8iZ6s07GgCIO69KcPBRuwPE5tDq05xMAzye0NxVKuJdYs/@/:rw' ``` Two important things for hashed passwords: diff --git a/src/main.rs b/src/main.rs index 92bfea0..6d669f6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -96,7 +96,7 @@ fn serve(args: Args, running: Arc) -> Result>> { loop { let (cnx, addr) = listener.accept().await.unwrap(); let Ok(stream) = tls_accepter.accept(cnx).await else { - warn!("During cls handshake connection from {}", addr); + warn!("During tls handshake connection from {}", addr); continue; }; let stream = TokioIo::new(stream);