Expand description
The entry point: log in, unlock the accountโs keys, download its vaults.
Structsยง
- Client
- The 1Password client. Holds the injected HTTP transport so tests can point it at a mock host.
- Vault
Info ๐ - A vault the account can open, with its attributes already decrypted.
Constantsยง
- ACCOUNT_
INFO_ ๐ENDPOINT - KEYSETS_
ENDPOINT ๐ - MAX_
OTP_ ๐ATTEMPTS - PASSWORD_
SK_ ๐METHOD - VAULT_
ENDPOINT ๐
Functionsยง
- download_
vault_ ๐items - Pages through a vaultโs items until
batchComplete, parsing each supported item. - find_
working_ ๐key - Finds a readable access entry whose vault key the keychain can already decrypt.
- is_
read_ ๐accessible - Whether an ACL grants read access.
- parse_
item ๐ - Decrypts both payloads. Every category is kept, not only logins.
- unlock ๐
- Decrypts the account keysets and every accessible vault key.