Module ImportFrom alias alias alias ImportFrom alias alias alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias Assign NameStore ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad TryExcept body Assign AttributeStore NameLoad attr Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr CompareEq AttributeLoad NameLoad attr NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr attr CompareEq AttributeLoad NameLoad attr NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr AttributeLoad NameLoad attr attr CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr attr CompareEq AttributeLoad NameLoad attr NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Dict Str ListLoad Dict Str Str Dict Str Str Num Num AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Dict Str NameLoad Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return TupleLoad ListLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign TupleStore NameStore NameStore Call NameLoad SubscriptLoad NameLoad Index Str NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If BoolOpAnd AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr CompareEq AttributeLoad NameLoad attr NameLoad attr If BoolOpOr CompareIs NameLoad NameLoad CompareIs NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Return Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Return ListLoad Return ListComp Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If BoolOpOr CompareIs NameLoad NameLoad CompareEq Call NameLoad AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr Str NameLoad Raise Call NameLoad Str ListLoad Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore Dict Assign NameStore Call NameLoad Num For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign SubscriptStore NameLoad Index NameLoad Dict Str Str AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Raise Call NameLoad Str ListComp Call AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareEq SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad AttributeLoad AttributeLoad NameLoad attr attr If CompareEq NameLoad Call NameLoad Num body Raise Call NameLoad Str If CompareGt NameLoad BoolOpOr AttributeLoad NameLoad attr Num body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Return NameLoad Assign AttributeStore NameLoad attr NameLoad Raise Call NameLoad Str Call AttributeLoad NameLoad attr orelse Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr decorator_list decorator_list
N/A u2fval.model Client User Device u2fval.core.exc BadInputException NoEligibleDevicesException DeviceCompromisedException u2flib_server.u2f_v2 start_register complete_register start_authenticate verify_authenticate u2flib_server.utils rand_bytes sqlalchemy.orm exc datetime datetime N/A logging N/A __all__ N/A U2FController N/A log N/A N/A logging getLogger __name__ U2FController N/A object N/A __init__ N/A N/A self session memstore client_name metadata require_trusted N/A True N/A N/A N/A self _session session N/A N/A self _memstore memstore N/A N/A N/A N/A self _client N/A N/A N/A N/A N/A N/A session query Client filter N/A N/A Client name client_name one N/A N/A N/A N/A exc NoResultFound N/A N/A N/A KeyError N/A No Client with name %s found client_name N/A N/A self _metadata metadata N/A N/A self _require_trusted require_trusted N/A _get_user N/A N/A self username N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A self _session query User filter N/A N/A User client_id N/A N/A self _client id filter N/A N/A User name username first N/A _get_device N/A N/A self handle N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A self _session query Device join N/A Device user filter N/A N/A User client_id N/A N/A self _client id filter N/A N/A Device handle handle first N/A _get_or_create_user N/A N/A self username N/A N/A N/A user N/A N/A self _get_user username N/A N/A user None N/A N/A user N/A User username N/A N/A N/A N/A N/A self _client users append user N/A N/A N/A log info User created: "%s/%s" N/A N/A self _client name username N/A user N/A client_name N/A N/A self N/A N/A N/A N/A N/A self _client name N/A property get_trusted_facets N/A N/A self N/A N/A N/A N/A trustedFacets N/A N/A version ids N/A major minor 1 0 N/A N/A self _client valid_facets N/A delete_user N/A N/A self username N/A N/A N/A user N/A N/A self _get_user username N/A N/A user None N/A N/A N/A N/A N/A self _session delete user N/A N/A N/A log info User deleted: "%s/%s" N/A N/A self _client name username N/A register_start N/A N/A self username N/A N/A N/A register_request N/A start_register N/A N/A self _client app_id N/A N/A N/A N/A self _memstore store N/A N/A self _client id username N/A register_request challenge N/A request register_request N/A sign_requests N/A N/A descriptors N/A N/A user N/A N/A self _get_user username N/A N/A user None N/A N/A dev N/A N/A N/A user devices values N/A N/A N/A N/A sign_requests append N/A start_authenticate N/A dev bind_data check-only N/A N/A N/A descriptors append N/A N/A dev get_descriptor N/A N/A N/A self _metadata get_metadata dev N/A N/A N/A register_request sign_requests descriptors N/A register_complete N/A N/A self username resp N/A N/A N/A memkey N/A N/A resp clientData challenge N/A data N/A N/A N/A self _memstore retrieve N/A N/A self _client id username memkey N/A N/A bind cert N/A complete_register N/A data N/A request resp N/A N/A self _client valid_facets N/A attestation N/A N/A N/A self _metadata get_attestation cert N/A N/A N/A self _require_trusted N/A N/A attestation trusted N/A N/A N/A BadInputException Device type is not trusted N/A user N/A N/A self _get_or_create_user username N/A dev N/A N/A user add_device N/A bind json cert N/A attestation transports N/A N/A N/A log info User: "%s/%s" - Device registered: "%s" N/A N/A self _client name username N/A dev handle N/A N/A dev handle N/A unregister N/A N/A self handle N/A N/A N/A dev N/A N/A self _get_device handle N/A N/A N/A N/A self _session delete dev N/A N/A N/A log info User: "%s/%s" - Device unregistered: "%s" N/A N/A self _client name N/A N/A dev user name handle N/A set_props N/A N/A self handle props N/A N/A N/A dev N/A N/A self _get_device handle N/A N/A N/A N/A dev properties update props N/A _do_get_descriptor N/A N/A self user handle N/A N/A N/A N/A user None N/A N/A dev N/A N/A N/A N/A N/A N/A N/A N/A N/A self _session query Device filter N/A N/A Device user_id N/A user id filter N/A N/A Device handle handle first N/A N/A N/A user None N/A dev None N/A N/A N/A BadInputException N/A No device matches descriptor: %s handle N/A N/A N/A dev get_descriptor N/A N/A N/A self _metadata get_metadata dev N/A get_descriptor N/A N/A self username handle N/A N/A N/A user N/A N/A self _get_user username N/A N/A N/A self _do_get_descriptor user handle N/A get_descriptors N/A N/A self username N/A N/A N/A user N/A N/A self _get_user username N/A N/A user None N/A N/A N/A N/A N/A N/A N/A d get_descriptor N/A N/A N/A self _metadata get_metadata d N/A d N/A N/A N/A user devices values N/A authenticate_start N/A N/A self username invalidate N/A False N/A N/A user N/A N/A self _get_user username N/A N/A N/A user None N/A N/A len N/A user devices 0 N/A N/A N/A N/A log info User "%s" has no devices registered username N/A N/A NoEligibleDevicesException No devices registered N/A N/A sign_requests N/A N/A descriptors N/A N/A challenges N/A N/A rand N/A rand_bytes 32 N/A N/A handle dev N/A N/A N/A user devices items N/A N/A N/A N/A dev compromised N/A N/A challenge N/A start_authenticate N/A dev bind_data rand N/A N/A N/A sign_requests append challenge N/A N/A N/A descriptors append N/A N/A dev get_descriptor N/A N/A N/A self _metadata get_metadata dev N/A N/A challenges N/A handle N/A keyHandle challenge N/A challenge keyHandle challenge N/A N/A sign_requests N/A N/A N/A NoEligibleDevicesException All devices compromised N/A N/A N/A d get_descriptor N/A d N/A N/A N/A user devices values N/A N/A N/A N/A self _memstore store N/A N/A self _client id username rand challenges N/A N/A sign_requests descriptors N/A authenticate_complete N/A N/A self username resp N/A N/A N/A memkey N/A N/A resp clientData challenge N/A challenges N/A N/A N/A self _memstore retrieve N/A N/A self _client id username memkey N/A user N/A N/A self _get_user username N/A N/A handle data N/A N/A challenges items N/A N/A N/A N/A data N/A keyHandle N/A resp keyHandle N/A N/A dev N/A N/A user devices N/A handle N/A N/A dev compromised N/A N/A N/A BadInputException Device is compromised N/A N/A counter presence N/A verify_authenticate N/A dev bind_data N/A data N/A challenge resp N/A N/A self _client valid_facets N/A N/A presence N/A chr 0 N/A N/A N/A Exception User presence byte not set! N/A N/A counter N/A N/A dev counter -1 N/A N/A N/A dev counter counter N/A N/A dev authenticated_at N/A N/A datetime now N/A handle N/A N/A dev compromised True N/A N/A DeviceCompromisedException Device counter mismatch N/A N/A dev get_descriptor N/A N/A N/A BadInputException N/A No device found for keyHandle: %s N/A resp keyHandle N/A N/A