jeffsieu / pe

0 stars 0 forks source link

addressbook.enc gets corrupted easily #8

Open jeffsieu opened 2 years ago

jeffsieu commented 2 years ago

Issue

addressbook.enc is easily corrupted after saving it without making any changes.

Steps to reproduce

  1. Launch the application, create a password, then close the application
  2. Navigate to the .\data folder
  3. Open the addressbook.enc file in Notepad on Windows
  4. Save the file without making any changes
  5. Launch the application
  6. Enter the password
  7. The program says "Wrong password"

Expected behaviour

The data file is not corrupted after saving it.

Actual behaviour

The data file is corrupted after saving it with seemingly no changes.

Screenshots

image.png

nus-pe-bot commented 2 years ago

Team's Response

You are not supposed to open the .enc file. As for human editable constraint, you can view the forum post here.

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: [replace this with your explanation]


:question: Issue severity

Team chose [severity.VeryLow] Originally [severity.Low]

Reason for disagreement: [replace this with your explanation]