mirror of
https://github.com/bitwarden/browser
synced 2026-02-06 19:53:59 +00:00
Add newline
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
import { Opaque } from "type-fest";
|
||||
import { KdfConfig } from "@bitwarden/key-management";
|
||||
|
||||
import { EncString } from "@bitwarden/common/platform/models/domain/enc-string";
|
||||
// eslint-disable-next-line no-restricted-imports
|
||||
import { KdfConfig } from "@bitwarden/key-management";
|
||||
|
||||
/**
|
||||
* The Base64-encoded master password authentication hash, that is sent to the server for authentication.
|
||||
@@ -10,19 +12,19 @@ export type MasterPasswordSalt = Opaque<string, "MasterPasswordSalt">;
|
||||
export type MasterKeyWrappedUserKey = Opaque<EncString, "MasterPasswordSalt">;
|
||||
|
||||
/**
|
||||
* The data required to unlock the master password.
|
||||
* The data required to unlock the master password.
|
||||
*/
|
||||
export type MasterPasswordUnlockData = {
|
||||
salt: string;
|
||||
kdf: KdfConfig;
|
||||
masterKeyWrappedUserKey: MasterKeyWrappedUserKey;
|
||||
}
|
||||
salt: string;
|
||||
kdf: KdfConfig;
|
||||
masterKeyWrappedUserKey: MasterKeyWrappedUserKey;
|
||||
};
|
||||
|
||||
/**
|
||||
* The data required to unlock the master password.
|
||||
* The data required to unlock the master password.
|
||||
*/
|
||||
export type MasterPasswordAuthenticationData = {
|
||||
salt: string;
|
||||
kdf: KdfConfig;
|
||||
masterPasswordAuthenticationHash: MasterPasswordAuthenticationHash;
|
||||
}
|
||||
salt: string;
|
||||
kdf: KdfConfig;
|
||||
masterPasswordAuthenticationHash: MasterPasswordAuthenticationHash;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user