feat: Add hexadecimal secret generation

Closes #695
This commit is contained in:
3wc
2025-10-18 15:03:02 -04:00
parent 5b504a1550
commit fc5855ff28
4 changed files with 13 additions and 0 deletions

View File

@ -188,6 +188,8 @@ func ReadSecretsConfig(appEnvPath string, composeFiles []string, stackName strin
// resolveCharset sets the passgen Alphabet required for a secret
func resolveCharset(input string) string {
switch strings.ToLower(input) {
case "hex":
return passgen.AlphabetNumericAmbiguous + "abcdef"
case "special":
return passgen.AlphabetSpecial
case "safespecial":