mirror of
https://github.com/netinvent/npbackup.git
synced 2025-09-12 16:04:48 +08:00
Make wrong encryption key more clear
This commit is contained in:
parent
3759154aca
commit
802e6517c6
1 changed files with 1 additions and 1 deletions
|
@ -868,7 +868,7 @@ def load_config(config_file: Path) -> Optional[dict]:
|
|||
full_config, EARLIER_AES_KEY, ENCRYPTED_OPTIONS, operation="decrypt"
|
||||
)
|
||||
if full_config == False:
|
||||
msg = "Cannot decrypt config file with earlier key"
|
||||
msg = "Cannot decrypt config file. Looks like our keys don't match."
|
||||
logger.critical(msg)
|
||||
raise EnvironmentError(msg)
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue