Improve StringGen to allow creating file name-safe complex strings; remove in-code references to future additions

This commit is contained in:
2024-07-18 17:04:48 -04:00
parent ba197006a5
commit cdf554179a
6 changed files with 8 additions and 9 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ func GenUpdate(targetLocation string, hideSecrets bool) {
unencryptedEntry := backend.GetOldEntryData(targetLocation, 0)
// generate a new password
unencryptedEntry[0] = backend.StringGen(inputInt("Password length:", -1), inputBinary("Generate a complex (special characters) password?"), 0.2)
unencryptedEntry[0] = backend.StringGen(inputInt("Password length:", -1), inputBinary("Generate a complex (special characters) password?"), 0.2, false)
// write and preview the modified entry
writeEntryCLI(targetLocation, unencryptedEntry, hideSecrets)