Project

General

Profile

Actions

Bug #10179

closed

incorrect encrypted backup restore error handling

Added by Viktor Gurov almost 2 years ago. Updated over 1 year ago.

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

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.4-p3
Affected Architecture:

Description

If you trying to restore encrypted backup, but select invalid file, you got blank page after pressing "restore" ( caused by 'return 1;' in code )
If you enter incorrect decryption password, you got error message:

A full configuration restore was selected but a pfsense tag could not be located.

which is incorrect, it should be:
File decryption failed. Incorrect password or file is invalid.

fix:
https://github.com/pfsense/pfsense/pull/4160

Actions #1

Updated by Viktor Gurov almost 2 years ago

  • Subject changed from incorrect encrypted backup restore error handling' to incorrect encrypted backup restore error handling
Actions #2

Updated by Jim Pingle almost 2 years ago

  • Status changed from New to Pull Request Review
  • Assignee set to Jim Pingle
  • Target version set to 2.5.0
Actions #3

Updated by Renato Botelho almost 2 years ago

  • Status changed from Pull Request Review to Feedback
  • Target version changed from 2.5.0 to 2.4.5
  • % Done changed from 0 to 100

PR has been merged. Thanks!

Actions #4

Updated by Jim Pingle over 1 year ago

  • Status changed from Feedback to Resolved
  • Target version changed from 2.4.5 to 2.5.0

This is not detecting the incorrect password case on current 2.4.5 snapshots. I don't get a blank page on error like before, though, so it's still better.

It works as expected on 2.5.0 snapshots, so may be a difference in OpenSSL return results. It's not worth holding up the release over this, though, so moving it up.

Actions

Also available in: Atom PDF