1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-13 06:54:07 +00:00

autofill mock

This commit is contained in:
Anders Åberg
2025-07-07 13:23:31 +02:00
parent 86dfc76b9f
commit b9ebd1a241
2 changed files with 20 additions and 2 deletions

View File

@@ -100,7 +100,24 @@ export class DesktopAutofillService implements OnDestroy {
type: "fido2",
...credential,
}));
// Mock a couple of passkeys for testing purposes
fido2Credentials.push({
type: "fido2",
cipherId: "mock-cipher-id-1",
credentialId: "passkey1",
rpId: "webauthn.io",
userHandle: "passkey1",
userName: "Mock passkey1",
});
fido2Credentials.push({
type: "fido2",
cipherId: "mock-cipher-id-2",
credentialId: "passkey2",
rpId: "webauthn.io",
userHandle: "passkey2",
userName: "Mock passkey2",
});
this.logService.info("Found FIDO2 credentials", fido2Credentials.length);

View File

@@ -2,7 +2,7 @@
"name": "@bitwarden/desktop",
"productName": "Bitwarden",
"description": "A secure and free password manager for all of your devices.",
"version": "2025.6.17",
"version": "2025.6.19",
"author": "Bitwarden Inc. <hello@bitwarden.com> (https://bitwarden.com)",
"homepage": "https://bitwarden.com",
"license": "GPL-3.0",
@@ -15,3 +15,4 @@
"@bitwarden/desktop-napi": "file:../desktop_native/napi"
}
}