Skip to content

Commit

Permalink
docs(*): fix erroneous code comment and docs typo (#305)
Browse files Browse the repository at this point in the history
Signed-off-by: Vaughn Dice <[email protected]>
  • Loading branch information
vdice authored Feb 7, 2022
1 parent ede79d1 commit bf8809b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/client/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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?;
Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion src/authn/http_basic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
///
Expand Down

0 comments on commit bf8809b

Please sign in to comment.