Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Update quick vault unlock explanation text

Leendert de Borst81ad1ec5e714
diff --git a/apps/server/AliasVault.Client/Resources/Components/Main/Settings/Security/QuickVaultUnlockSection.en.resx b/apps/server/AliasVault.Client/Resources/Components/Main/Settings/Security/QuickVaultUnlockSection.en.resx
index 9459dbb3d..56627c06d 100644
--- a/apps/server/AliasVault.Client/Resources/Components/Main/Settings/Security/QuickVaultUnlockSection.en.resx
+++ b/apps/server/AliasVault.Client/Resources/Components/Main/Settings/Security/QuickVaultUnlockSection.en.resx
@@ -59,36 +59,36 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="Title" xml:space="preserve">
- <value>Quick vault unlock</value>
- <comment>Title for quick vault unlock section</comment>
+ <value>Passkey unlock</value>
+ <comment>Title for passkey unlock section</comment>
</data>
<data name="EnabledDescription" xml:space="preserve">
- <value>The vault decryption key is saved via a passkey. This means that when you reload the AliasVault page or tab, you can login with your face, fingerprint or built-in browser security keys. If you with to disable the quick vault unlock, you can do so with the button below.</value>
- <comment>Description when quick unlock is enabled</comment>
+ <value>Your master password is encrypted with the passkey PRF and stored locally. When you reload the AliasVault page or tab, you can unlock your vault with your passkey. If you wish to disable passkey unlock, you can do so with the button below. Your master password will still work for unlocking the vault.</value>
+ <comment>Description when passkey unlock is enabled</comment>
</data>
<data name="DisableButton" xml:space="preserve">
- <value>Disable Quick Vault Unlock</value>
- <comment>Button to disable quick vault unlock</comment>
+ <value>Disable Passkey Unlock</value>
+ <comment>Button to disable passkey unlock</comment>
</data>
<data name="DisabledDescription" xml:space="preserve">
- <value>By default when you reload the AliasVault page or tab, you will be prompted to enter your master password again. Alternatively, you can choose to use a browser passkey (or hardware authenticator such as YubiKey) instead of your master password. This will allow you to unlock your vault with your face, fingerprint or built-in browser security keys. This only applies to the current device and browser.</value>
- <comment>Description when quick unlock is disabled</comment>
+ <value>By default, reloading the AliasVault page or tab requires you to enter your master password again. With a passkey, you can unlock your vault instantly. When enabled, your master password is locally encrypted using the passkey's PRF extension. Note: the passkey will only work for the current device and browser that you enable it on.</value>
+ <comment>Description when passkey unlock is disabled</comment>
</data>
<data name="ExperimentalWarning" xml:space="preserve">
- <value>Please note that this feature is experimental and may not work on all devices or browsers. Your browser must support WebAuthn and the PRF extension in order for this to work. If you experience any issues, you can disable this feature at any time.</value>
- <comment>Warning about experimental nature of the feature</comment>
+ <value>This feature is currently supported by AliasVault browser extension and iOS app. Android support is coming soon. If you experience any issues, you can disable this feature at any time.</value>
+ <comment>Warning about feature compatibility</comment>
</data>
<data name="EnableButton" xml:space="preserve">
- <value>Enable Quick Vault Unlock</value>
- <comment>Button to enable quick vault unlock</comment>
+ <value>Enable Passkey Unlock</value>
+ <comment>Button to enable passkey unlock</comment>
</data>
<data name="SuccessEnabledMessage" xml:space="preserve">
- <value>Quick Vault Unlock is successfully enabled. The next time your vault is locked you can unlock it with your created passkey.</value>
- <comment>Success message when quick unlock is enabled</comment>
+ <value>Passkey unlock is successfully enabled. The next time your vault is locked, you can unlock it with your created passkey.</value>
+ <comment>Success message when passkey unlock is enabled</comment>
</data>
<data name="SuccessDisabledMessage" xml:space="preserve">
- <value>Quick Vault Unlock is successfully disabled.</value>
- <comment>Success message when quick unlock is disabled</comment>
+ <value>Passkey unlock is successfully disabled.</value>
+ <comment>Success message when passkey unlock is disabled</comment>
</data>
<data name="WebAuthnNotSupportedError" xml:space="preserve">
<value>Your current browser does not support the WebAuthn PRF extension. Please try again with a different browser.</value>
diff --git a/apps/server/AliasVault.Client/Resources/Pages/Auth/Unlock.en.resx b/apps/server/AliasVault.Client/Resources/Pages/Auth/Unlock.en.resx
index 3cc9b1c7d..ee01f41a5 100644
--- a/apps/server/AliasVault.Client/Resources/Pages/Auth/Unlock.en.resx
+++ b/apps/server/AliasVault.Client/Resources/Pages/Auth/Unlock.en.resx
@@ -59,15 +59,15 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="LoggingInWithWebAuthn" xml:space="preserve">
- <value>Logging in with WebAuthn...</value>
+ <value>Logging in with passkey...</value>
<comment>Message shown while WebAuthn authentication is in progress</comment>
</data>
<data name="QuickUnlockDescription" xml:space="preserve">
- <value>Quickly unlock your vault using your fingerprint, face ID, or security key. Or login with your password as a fallback.</value>
+ <value>Quickly unlock your vault using your passkey. Or login with your password as a fallback.</value>
<comment>Description explaining WebAuthn unlock options</comment>
</data>
<data name="UnlockWithWebAuthn" xml:space="preserve">
- <value>Unlock with WebAuthn</value>
+ <value>Unlock with passkey</value>
<comment>Button text for WebAuthn unlock</comment>
</data>
<data name="UnlockWithPassword" xml:space="preserve">
diff --git a/apps/server/AliasVault.Client/Services/JsInterop/JsInteropService.cs b/apps/server/AliasVault.Client/Services/JsInterop/JsInteropService.cs
index ebe47653f..b9687f052 100644
--- a/apps/server/AliasVault.Client/Services/JsInterop/JsInteropService.cs
+++ b/apps/server/AliasVault.Client/Services/JsInterop/JsInteropService.cs
@@ -290,7 +290,7 @@ public sealed class JsInteropService(IJSRuntime jsRuntime)
{
try
{
- var result = await jsRuntime.InvokeAsync<WebAuthnCreateCredentialResult>("createWebAuthnCredentialAndDeriveKey", "AliasVault | " + username);
+ var result = await jsRuntime.InvokeAsync<WebAuthnCreateCredentialResult>("createWebAuthnCredentialAndDeriveKey", username);
if (result.CredentialId is not null &&
result.Salt is not null &&
diff --git a/apps/server/AliasVault.Client/wwwroot/js/utilities.js b/apps/server/AliasVault.Client/wwwroot/js/utilities.js
index 4b4012e41..1b7f4e338 100644
--- a/apps/server/AliasVault.Client/wwwroot/js/utilities.js
+++ b/apps/server/AliasVault.Client/wwwroot/js/utilities.js
@@ -393,7 +393,7 @@ async function createWebAuthnCredentialAndDeriveKey(username) {
publicKey: {
challenge,
rp: {
- name: "AliasVault",
+ name: "AliasVault Web Unlock",
id: rpId},
user: {
id: crypto.getRandomValues(new Uint8Array(32)),