Skip to content

Commit

Permalink
fix(pwgen): Replace some special characters in the password generator…
Browse files Browse the repository at this point in the history
… to not include special shell globs
  • Loading branch information
korewaChino committed Jul 27, 2024
1 parent 8beccda commit ae887e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cloud/pwgen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pub const DEFAULT_USERNAME: &str = "chisel";

const CHARSET: &[u8] = b"ABCDEFGHIJKLMNOPQRSTUVWXYZ\
abcdefghijklmnopqrstuvwxyz\
0123456789)(*&^%#@!~";
0123456789-_/()*&#@";
/// Generates a random password of the specified length.
///
/// # Arguments
Expand Down

0 comments on commit ae887e9

Please sign in to comment.