MCPcopy Create free account
hub / github.com/Keeper-Security/Commander / _normalize_passphrase_separator

Function _normalize_passphrase_separator

keepercommander/generator.py:197–203  ·  view source on GitHub ↗
(separator)

Source from the content-addressed store, hash-verified

195
196
197def _normalize_passphrase_separator(separator):
198 # type: (Optional[str]) -> str
199 if not separator:
200 return DEFAULT_PASSPHRASE_SEPARATOR
201 if separator == '\u2423': # OPEN BOX (Vault UI glyph for space)
202 return ' '
203 return separator[0]
204
205
206def _passphrase_separators_from_policy(policy_sep):

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected