Project

General

Profile

Actions

Regression #12897

closed

Attempting to decrypt an encrypted backup with the wrong password makes the GUI timeout

Added by Jim Pingle over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Backup / Restore
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
22.05
Release Notes:
Force Exclusion
Affected Version:
Affected Architecture:

Description

Following the changes in #12556 attempting to decrypt an encrypted backup with the wrong password makes the GUI timeout. This happens from diag_backup.php as well as through AutoConfigBackup.

Previously the GUI would display an error stating "Could not decrypt config.xml" in a timely manner.

This may be due to the heavier encryption in use, but even so it seems to take much longer to fail than it should.

Might need to add a timeout of some sort in the process to prevent it from overrunning the GUI timeout. This could be similar to what we do for the NTP bootstrap (See #12769 and source:src/etc/rc.bootup#L344 )


Files

crypt.patch (1.92 KB) crypt.patch Iterations count proper Phil Wardt, 03/05/2022 05:42 AM

Related issues

Related to Todo #12556: Comply with current iteration standards when encrypting and decrypting configuration filesResolvedJim Pingle

Actions
Actions

Also available in: Atom PDF