diff --git a/keepassxc-browser/_locales/en/messages.json b/keepassxc-browser/_locales/en/messages.json index c1e885a..3dc65dd 100644 --- a/keepassxc-browser/_locales/en/messages.json +++ b/keepassxc-browser/_locales/en/messages.json @@ -119,6 +119,10 @@ "message": "No valid UUID provided.", "description": "No valid UUID provided." }, + "errorMessageAccessToAllEntriesDenied": { + "message": "Access to all entries denied.", + "description": "Access to all entries denied." + }, "errorMessagePasskeysAttestationNotSupported": { "message": "Attestation not supported.", "description": "Attestation not supported." @@ -139,6 +143,14 @@ "message": "Empty public key.", "description": "Empty public key." }, + "errorMessagePasskeysInvalidUrlProvided": { + "message": "Invalid URL provided.", + "description": "Invalid URL provided." + }, + "errorMessagePasskeysResidentKeyNotSupported": { + "message": "Resident Keys are not supported.", + "description": "Resident Keys are not supported." + }, "errorNotConnected": { "message": "Not connected to KeePassXC.", "description": "Error notification shown when not connected to KeePassXC" diff --git a/keepassxc-browser/background/client.js b/keepassxc-browser/background/client.js index 546b960..6c1f861 100644 --- a/keepassxc-browser/background/client.js +++ b/keepassxc-browser/background/client.js @@ -26,11 +26,12 @@ const kpErrors = { NO_GROUPS_FOUND: 16, CANNOT_CREATE_NEW_GROUP: 17, NO_VALID_UUID_PROVIDED: 18, - PASSKEYS_ATTESTATION_NOT_SUPPORTED: 19, - PASSKEYS_CREDENTIAL_IS_EXCLUDED: 20, - PASSKEYS_REQUEST_CANCELED: 21, - PASSKEYS_INVALID_USER_VERIFICATION: 22, - PASSKEYS_EMPTY_PUBLIC_KEY: 23, + PASSKEYS_ATTESTATION_NOT_SUPPORTED: 20, + PASSKEYS_CREDENTIAL_IS_EXCLUDED: 21, + PASSKEYS_REQUEST_CANCELED: 22, + PASSKEYS_INVALID_USER_VERIFICATION: 23, + PASSKEYS_EMPTY_PUBLIC_KEY: 24, + PASSKEYS_INVALID_URL_PROVIDED: 25, errorMessages: { 0: { msg: tr('errorMessageUnknown') }, @@ -52,11 +53,14 @@ const kpErrors = { 16: { msg: tr('errorMessageNoGroupsFound') }, 17: { msg: tr('errorMessageCannotCreateNewGroup') }, 18: { msg: tr('errorMessageNoValidUuidProvided') }, - 19: { msg: tr('errorMessagePasskeysAttestationNotSupported') }, - 20: { msg: tr('errorMessagePasskeysCredentialIsExcluded') }, - 21: { msg: tr('errorMessagePasskeysRequestCanceled') }, - 22: { msg: tr('errorMessagePasskeysInvalidUserVerification') }, - 23: { msg: tr('errorMessagePasskeysEmptyPublicKey') }, + 19: { msg: tr('errorMessageAccessToAllEntriesDenied') }, + 20: { msg: tr('errorMessagePasskeysAttestationNotSupported') }, + 21: { msg: tr('errorMessagePasskeysCredentialIsExcluded') }, + 22: { msg: tr('errorMessagePasskeysRequestCanceled') }, + 23: { msg: tr('errorMessagePasskeysInvalidUserVerification') }, + 24: { msg: tr('errorMessagePasskeysEmptyPublicKey') }, + 25: { msg: tr('errorMessagePasskeysInvalidUrlProvided') }, + 26: { msg: tr('errorMessagePasskeysResidentKeyNotSupported') }, }, getError(errorCode) {