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

Function get_security_score

keepercommander/security_audit.py:22–25  ·  view source on GitHub ↗
(record)

Source from the content-addressed store, hash-verified

20 return BreachWatch.extract_password(record) or None
21
22def get_security_score(record): # type: (KeeperRecord) -> Union[int, None]
23 password = _get_pass(record)
24 return None if not password \
25 else utils.password_score(password) or has_passkey(record) and 100 or 0
26
27def encrypt_security_data(params, data):
28 if params.forbid_rsa and not params.enterprise_ec_key:

Callers 3

prep_security_dataFunction · 0.85
prep_score_dataFunction · 0.85
needs_security_auditFunction · 0.85

Calls 2

_get_passFunction · 0.85
has_passkeyFunction · 0.85

Tested by

no test coverage detected