From ae887e9aab71129323fcfbde1646bedbe7d7791a Mon Sep 17 00:00:00 2001 From: Cappy Ishihara Date: Sat, 27 Jul 2024 16:46:32 +0700 Subject: [PATCH] fix(pwgen): Replace some special characters in the password generator to not include special shell globs --- src/cloud/pwgen.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cloud/pwgen.rs b/src/cloud/pwgen.rs index c244b8b..69e6133 100644 --- a/src/cloud/pwgen.rs +++ b/src/cloud/pwgen.rs @@ -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