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

This commit is contained in:
Leendert de Borst
2026-01-27 15:37:25 +01:00
committed by Leendert de Borst
parent c3f66c78ea
commit 7e8ea3ac69
2 changed files with 2 additions and 1 deletions

View File

@@ -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) {

View File

@@ -6,6 +6,7 @@ export default defineConfig({
manifest: ({ browser, manifestVersion, mode, command }) => {
const permissions = [
"storage",
"unlimitedStorage",
"activeTab",
"contextMenus",
"scripting",