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

Function has_passkey

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

Source from the content-addressed store, hash-verified

11from .vault import KeeperRecord, TypedRecord
12
13def has_passkey(record): # type: (KeeperRecord) -> bool
14 if not isinstance(record, TypedRecord) or not record.get_typed_field('passkey'):
15 return False
16 return bool(record.get_typed_field('passkey').value)
17
18def _get_pass(record): # type: (KeeperRecord) -> Union[str, None]
19 from .breachwatch import BreachWatch

Callers 1

get_security_scoreFunction · 0.85

Calls 1

get_typed_fieldMethod · 0.45

Tested by

no test coverage detected