NethServer / nethsecurity

NethSecurity image and build environment
https://www.nethsecurity.org/
Other
98 stars 6 forks source link

Fix validation for enterprise in ns.backup #596

Closed stephdl closed 3 months ago

stephdl commented 3 months ago

This pull request fixes a validation issue in the ns.backup file for the enterprise feature.

This pull request fixes also the usage of passphrase with the stored backup, previously it was None

now in case of restore we handle three errors

translation must be added

https://github.com/NethServer/nethsecurity/issues/587

stephdl commented 3 months ago

I hope you are wrong, the wrong passphrase is raised by the 85, the missing passphrase when required (means encrypted) is sent back by line 79

however actually you are right, the translation restore failed returns a problem of backup file or missing passphrase

gsanchietti commented 3 months ago

however actually you are right, the translation restore failed returns a problem of backup file or missing passphrase

so we need to fix it

gsanchietti commented 3 months ago

I have cherry-picked the good commit: https://github.com/NethServer/nethsecurity/commit/44bc3f2c5d1b9ea8a89e758b48a35b5a709eafc6

stephdl commented 3 months ago

obsoleted by https://github.com/NethServer/nethsecurity/pull/598