Viewing an AutoConfigBackup entry takes approximately 60 seconds to completely load
Build: 21.09.a.20210811.0100 - When viewing an ACB backup, the encrypted and decrypted versions of the backup should be displayed in separate text areas. The display is currently very slow and incomplete. This appears to be due to the length of the displayed data.
Updated by Anonymous 9 months ago
- Assignee changed from Anonymous to Renato Botelho
If I attempt to view a backup by clicking on the "view" icon, I should see both the encrypted and decoded config on the screen. What is happening is that 1) It takes about 60 seconds to display and 2) the display is not complete.
If I edit crypt.inc and make the crypt_data() function return a formatted string
$result = "---- BEGIN config.xml ----\nSomeDecryptionKey++++pfsense Decoded data\n---- END config.xml";the same thing happens. It displays my formatted string, but it still takes 60 seconds.
If I comment out the exec(openssl . . . line in that function, everything works normally and I see my formatted string immediately.
openssl writes the decrypted data to a file and I see that file (and its correct contents) immediately. So it seems like something that exec(openssl . . is doing is breaking PHP but what?
Updated by Steve Wheeler 9 months ago
- Status changed from Feedback to Resolved
This looks good.
The files open quickly and completely. Both encrypted and decrypted parts.
21.09-DEVELOPMENT (amd64) built on Wed Aug 18 01:12:01 EDT 2021 FreeBSD 12.2-STABLE
2.6.0-DEVELOPMENT (amd64) built on Wed Aug 18 01:08:59 EDT 2021 FreeBSD 12.2-STABLE
Updated by Jim Pingle 9 months ago
- Subject changed from Viewing an ACB backup is slow and incomplete to Viewing an AutoConfigBackup entry takes approximately 60 seconds to completely load
- Category changed from Web Interface to Backup / Restore
- Assignee changed from Steve Wheeler to Anonymous
Updating subject for release notes.