Encrypted save-file fix

Encrypted save-files are partly broken in the latest Wary/Racy/Slacko.

I did a first shutdown in Racy and created a save-file with light encryption. I then opened it, and found that nothing had been saved in it.

I have extended /usr/sbin/filemnt so that it now mounts encrypted .2fs files (save-files). That's one useful outcome.

I examined /usr/sbin/shutdownconfig, and found that it was not exporting variable CRYPTO in file /tmp/shutdownconfig_results, needed by /etc/rc.d/rc.shutdown. Consequently, the encrypted save-file was not getting mounted at first shutdown, so the session was not saved. Fixed.


Posted on 10 Nov 2011, 12:20


Comments:

Posted on 10 Nov 2011, 19:08 by smokey01
Encrypted save file
Barry has there been any development success in repairing an encrypted save file?


Posted on 11 Nov 2011, 6:09 by BarryK
Re repair encrypted
Not that I know of.



Posted on 11 Nov 2011, 16:55 by 8-bit
Encrypted save file
Is a patch available as to the changes you made to get the encrypted save file to populate itself when initially made?
There have been a few posts of problems loading an encrypted save file in Slacko and Wary.
I had also tried to create one and on a reboot, and after giving my password, I was told the file was loaded but it being empty evidently causes problems with the boot sequence.





Posted on 11 Nov 2011, 20:17 by BarryK
Re encrypted save file
8-bit,
That is what the first post in this thread has announced, a fix for nothing in the save file at first shutdown.



Posted on 14 Feb 2012, 13:39 by John Nagle
Encrypted dialog doesn't fit
On a related note, the "First Shutdown - Encryption" giant dialog box doesn't fit on a 640 x 480 screen with the bottom bar. The buttons are not visible.

I had to guess at what ENTER did.