Todo #14769
closedIncrease timeout for password entry when restoring an encrypted configuration via ECL
100%
Description
Reporting on behalf of a friend, he installed 2.7.0 fresh using a password protected backup, as he was typing the password, the prompt expired and it automatically proceeded. This was repeated on each attempt. He managed to proceed (with the backup restoration) only by typing in the password very fast.
Updated by Jim Pingle about 1 year ago
- Status changed from New to Incomplete
Exactly which method were they using to restore the encrypted config.xml?
Was it on a USB drive during the installation ? On a USB drive during the first boot ( ECL )?
I don't see any kind of a timeout that would happen during the installer-based restore when it prompts for a password.
During the ECL style restore it looks like it may have a 30 second timeout we could consider increasing: https://github.com/pfsense/pfsense/blob/master/src/etc/rc.ecl#L204
But before we do that we need confirmation of exactly what they're seeing and when.
Updated by Chris Collins about 1 year ago
I will be back hopefully soon with confirmation.
Updated by Chris Collins about 1 year ago
I think it is the ECL he didnt specify which link, but told me the process in more detail which sounds like the ECL to me, so I think you have found the right thing to adjust, I apologise for the original incorrect information.
Thanks
Updated by Jim Pingle about 1 year ago
- Tracker changed from Bug to Todo
- Subject changed from Password protected backup - password prompt times out on install based recovery to Increase timeout for password entry when restoring an encrypted configuration via ECL
- Status changed from Incomplete to In Progress
- Assignee set to Jim Pingle
- Target version set to 2.8.0
- Plus Target Version set to 23.09
- Affected Version deleted (
2.7.x) - Affected Architecture deleted (
amd64)
Bumping up that timeout to 60s should be safe. I'll commit that shortly.
Updating the subject and issue type to more accurately reflect the request.
Updated by Jim Pingle about 1 year ago
- Status changed from In Progress to Feedback
- % Done changed from 0 to 100
Applied in changeset c449bcafcffef37bf0a3818a00f719939ccbd8b4.
Updated by Jim Pingle about 1 year ago
- Status changed from Feedback to Resolved
Timeout is now 60 seconds in snapshots.
Updated by Jim Pingle about 1 year ago
- Target version changed from 2.8.0 to 2.7.1