diff --git a/libs/key-management/src/abstractions/key.service.ts b/libs/key-management/src/abstractions/key.service.ts index d9669f07c44..9736a959609 100644 --- a/libs/key-management/src/abstractions/key.service.ts +++ b/libs/key-management/src/abstractions/key.service.ts @@ -150,7 +150,7 @@ export abstract class KeyService { /** * Generates a new user key - * @deprecated Interacting with the master key directly is prohibited. Use a high level function from MasterPasswordService instead. + * @deprecated Interacting with the master key directly is prohibited. Use {@link makeUserKey} instead. * @throws Error when master key is null and there is no active user * @param masterKey The user's master key. When null, grabs master key from active user. * @returns A new user key and the master key protected version of it @@ -158,6 +158,7 @@ export abstract class KeyService { abstract makeUserKey(masterKey: MasterKey | null): Promise<[UserKey, EncString]>; /** * Generates a new user key for a V1 user + * Note: This will be replaced by a higher level function to initialize a whole users cryptographic state in the near future. * @returns A new user key */ abstract makeUserKeyV1(): Promise;