From 0a21e3e25c6496513ebb254e9299046a43ca7695 Mon Sep 17 00:00:00 2001 From: Vaughn Dice Date: Fri, 4 Feb 2022 16:05:17 -0700 Subject: [PATCH 1/2] docs(*): fix erroneous code comment and docs typo Signed-off-by: Vaughn Dice --- docs/README.md | 2 +- src/authn/http_basic.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/README.md b/docs/README.md index 790d0f8..53f7d57 100644 --- a/docs/README.md +++ b/docs/README.md @@ -208,7 +208,7 @@ keypair = "KEYDATA_GOES_IN_HERE" roles = ["creator"] ``` -A user only needs on such keypair (though a user is free to have more). +A user only needs one such keypair (though a user is free to have more). This file can be moved from system to system, just like OpenPGP or SSH key sets. - To create a signing key for a client, use `bindle create-key` diff --git a/src/authn/http_basic.rs b/src/authn/http_basic.rs index 833cc0c..0ac47ce 100644 --- a/src/authn/http_basic.rs +++ b/src/authn/http_basic.rs @@ -21,7 +21,7 @@ pub struct HttpBasic { impl HttpBasic { /// Read an htpasswd-formatted file. /// - /// This only supports SHA1, though we should switch to bcrypt if there is a good lib. + /// This only supports bcrypt. /// /// Example htpassword entry for a bcrypt hash: /// From d483d916ea9ef5bf9eddfab89c77e159537299ae Mon Sep 17 00:00:00 2001 From: Vaughn Dice Date: Sat, 5 Feb 2022 08:47:52 -0700 Subject: [PATCH 2/2] fix(bin/client/main.rs): fix typo in println Signed-off-by: Vaughn Dice --- bin/client/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/client/main.rs b/bin/client/main.rs index 09dc208..a5046b9 100644 --- a/bin/client/main.rs +++ b/bin/client/main.rs @@ -259,7 +259,7 @@ async fn run() -> std::result::Result<(), ClientError> { .unwrap_or_else(|| format!("./invoice-{}.toml", inv.canonical_name())); println!( - "Signed as {} with role {} and wrote to {}", + "Signed {} with role {} and wrote to {}", sign_opts.invoice, role, outfile ); tokio::fs::write(outfile, toml::to_string(&inv)?).await?;