Skip to content

Commit ae887e9

Browse files
committed
fix(pwgen): Replace some special characters in the password generator to not include special shell globs
1 parent 8beccda commit ae887e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cloud/pwgen.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ pub const DEFAULT_USERNAME: &str = "chisel";
44

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

0 commit comments

Comments
 (0)