summaryrefslogtreecommitdiff
path: root/notes.txt
diff options
context:
space:
mode:
Diffstat (limited to 'notes.txt')
-rw-r--r--notes.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/notes.txt b/notes.txt
index fb6f283..66af513 100644
--- a/notes.txt
+++ b/notes.txt
@@ -5,9 +5,9 @@ also encrypt the /root dir as well. Running as a daemon and setting things up in
5a good idea as well 5a good idea as well
6 6
7vxgg was not atomic in its encryption, in that if the encryption was in progress and interrupted for whatever reason, the original 7vxgg was not atomic in its encryption, in that if the encryption was in progress and interrupted for whatever reason, the original
8file would be "irrecoverably" (as in vxgg had no error checking and couldn't tell the difference between an encrypted and 8file would be "irrecoverably" fucked (as in vxgg had no error checking and couldn't tell the difference between an encrypted and
9unencrypted file other than through filename. You could manually unfuck the file yourself if you had the key, but it would be a 9unencrypted file other than through filename. You could manually unfuck the file yourself if you had the key, but it would be a
10long and tedious process) fucked. I can't possibly make the entire operation of reading and writing to a file atomic, but I can 10long and tedious process). I can't possibly make the entire operation of reading and writing to a file atomic, but I can
11make the action of "encrpytion" atomic; or, at least, I can make the encryption seem atomic through a cheat: hard linking. Turns out 11make the action of "encrpytion" atomic; or, at least, I can make the encryption seem atomic through a cheat: hard linking. Turns out
12that 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 12that 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
13file'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 13file'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