diff options
Diffstat (limited to 'notes.txt')
| -rw-r--r-- | notes.txt | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -5,9 +5,9 @@ also encrypt the /root dir as well. Running as a daemon and setting things up in | |||
| 5 | a good idea as well | 5 | a good idea as well |
| 6 | 6 | ||
| 7 | vxgg was not atomic in its encryption, in that if the encryption was in progress and interrupted for whatever reason, the original | 7 | vxgg was not atomic in its encryption, in that if the encryption was in progress and interrupted for whatever reason, the original |
| 8 | file would be "irrecoverably" (as in vxgg had no error checking and couldn't tell the difference between an encrypted and | 8 | file would be "irrecoverably" fucked (as in vxgg had no error checking and couldn't tell the difference between an encrypted and |
| 9 | unencrypted file other than through filename. You could manually unfuck the file yourself if you had the key, but it would be a | 9 | unencrypted file other than through filename. You could manually unfuck the file yourself if you had the key, but it would be a |
| 10 | long and tedious process) fucked. I can't possibly make the entire operation of reading and writing to a file atomic, but I can | 10 | long and tedious process). I can't possibly make the entire operation of reading and writing to a file atomic, but I can |
| 11 | make the action of "encrpytion" atomic; or, at least, I can make the encryption seem atomic through a cheat: hard linking. Turns out | 11 | make the action of "encrpytion" atomic; or, at least, I can make the encryption seem atomic through a cheat: hard linking. Turns out |
| 12 | that you can make a file in /tmp, fill it with a whole bunch of shit, then hardlink it to somewhere else on the drive, and the | 12 | that you can make a file in /tmp, fill it with a whole bunch of shit, then hardlink it to somewhere else on the drive, and the |
| 13 | file's contents will persist after a reboot. The idea here is to open a file in /tmp, write the encrypted contents to it, and then | 13 | file's contents will persist after a reboot. The idea here is to open a file in /tmp, write the encrypted contents to it, and then |
