All files / lib/esm/Service/VaultRecovery types.js

0% Statements 0/4
100% Branches 0/0
0% Functions 0/1
0% Lines 0/3

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11                     
import Credential from "../../Model/Credential";
export const PAYLOAD_FIELDS = Credential.ENCRYPTED_FIELDS.filter((field) => field !== 'shared_key');
/**
 * Synthetic probe id for a blob that decrypts with the credential's decrypted `shared_key` (not a vault candidate).
 */
export const SHARED_KEY_PROBE_ID = '__shared_key__';
/**
 * Synthetic probe id for a blob that decrypts with the ACL key plaintext of a credential shared with us.
 */
export const ACL_KEY_PROBE_ID = '__acl_key__';