Skip to content

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

Add unlimitedStorage permission to browser extension to prevent quota limits for larger vaults (#1436)

Leendert de Borst7e8ea3ac698f
diff --git a/apps/browser-extension/src/entrypoints/background/PasskeyHandler.ts b/apps/browser-extension/src/entrypoints/background/PasskeyHandler.ts
index 0cb136e24..c31b49d76 100644
--- a/apps/browser-extension/src/entrypoints/background/PasskeyHandler.ts
+++ b/apps/browser-extension/src/entrypoints/background/PasskeyHandler.ts
@@ -210,7 +210,7 @@ export async function handleWebAuthnGet(data: any): Promise<any> {
async function checkForMatchingPasskeys(publicKey: any, origin: string): Promise<boolean> {
try {
// Check if vault is unlocked
- const encryptedVault = await storage.getItem('session:encryptedVault') as string;
+ const encryptedVault = await storage.getItem('local:encryptedVault') as string;
const encryptionKey = await handleGetEncryptionKey();
if (!encryptedVault || !encryptionKey) {
diff --git a/apps/browser-extension/wxt.config.ts b/apps/browser-extension/wxt.config.ts
index 8086cd797..205db859b 100644
--- a/apps/browser-extension/wxt.config.ts
+++ b/apps/browser-extension/wxt.config.ts
@@ -6,6 +6,7 @@ export default defineConfig({
manifest: ({ browser, manifestVersion, mode, command }) => {
const permissions = [
"storage",
+ "unlimitedStorage",
"activeTab",
"contextMenus",
"scripting",