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

Method __init__

unit-tests/data_vault.py:45–59  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

43
44class VaultEnvironment:
45 def __init__(self):
46 self.user = _USER_NAME
47 self.password = _USER_PASSWORD
48 self.iterations = _USER_ITERATIONS
49 self.salt = _USER_SALT
50 self.data_key = _USER_DATA_KEY
51 self.public_key = _public_key
52 self.encoded_public_key = utils.base64_url_encode(_IMPORTED_PUBLIC_KEY)
53 self.session_token = _SESSION_TOKEN
54 self.one_time_token = _2FA_ONE_TIME_TOKEN
55 self.device_token = _2FA_DEVICE_TOKEN
56 self.encrypted_private_key = _ENCRYPTED_PRIVATE_KEY
57 self.encrypted_data_key = _ENCRYPTED_DATA_KEY
58 self.encryption_params = _ENCRYPTION_PARAMS
59 self.revision = _REVISION
60
61
62def get_user_params():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected