passwords icon indicating copy to clipboard operation
passwords copied to clipboard

symbols that are safe to use inside unix shell

Open dilawar opened this issue 1 year ago • 0 comments

For example, in the current list static SYMBOLS_EXCLUDE_SIMILAR: [char; 28] = [ '!', '#', '$', '%', '&', '(', ')', '*', '+', ',', '-', '.', '/', ':', ';', '<', '=', '>', '?', '@', '[', '\\', ']', '^', '_', '{', '}', '~', ]; , many symbols such as {, ``(, ']' etc. can't be used in the command line without escaoing even when the password is surrounded by ' or ".

Maybe this crate can provide a restricted set of symbols that do not cause any issues inside common Unix shells. E.g., ^%$#@!-+= etc.

dilawar avatar Mar 09 '24 10:03 dilawar