Skip to content

Commit fdcfb76

Browse files
authored
Merge pull request #20 from eccenca/fix/importTasksWithPasswords-CMEM-5932
Check if passwords can be decrypted, i.e., if the key is valid (CMEM-5932)
2 parents 12152eb + 2ceedbb commit fdcfb76

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

CHANGELOG.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,12 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
88

99
### Added
1010

11-
- Custom actions for Workflow plugins (CMEM-5576).
12-
- Added explicit_schema parameter to FlexibleOutputSchema (CMEM-6444).
11+
- Custom actions for Workflow plugins (CMEM-5576)
12+
- Added explicit_schema parameter to FlexibleOutputSchema (CMEM-6444)
13+
14+
### Fixed
15+
16+
- Check if passwords can be decrypted, i.e., if the key is valid (CMEM-5932)
1317

1418
## [4.9.0] 2025-02-20
1519

cmem_plugin_base/dataintegration/parameter/password.py

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ class Password:
1010
def __init__(self, encrypted_value: str, system: SystemContext):
1111
self.encrypted_value = encrypted_value
1212
self.system = system
13+
self.decrypt() # Decrypt the password to check if the key is valid
1314

1415
def decrypt(self) -> str:
1516
"""Return the decrypted value"""

0 commit comments

Comments
 (0)