fix(core): Validate credential data before encryption (#12885)

This commit is contained in:
Tomi Turtiainen
2025-01-29 09:10:04 +02:00
committed by GitHub
parent f32eef85bd
commit 3d27a14987
3 changed files with 18 additions and 1 deletions

View File

@@ -20,4 +20,5 @@ export const CREDENTIAL_ERRORS = {
DECRYPTION_FAILED:
'Credentials could not be decrypted. The likely reason is that a different "encryptionKey" was used to encrypt the data.',
INVALID_JSON: 'Decrypted credentials data is not valid JSON.',
INVALID_DATA: 'Credentials data is not in a valid format.',
};