information about this package can be found in the README. here is a html-version of the README:
needs testing. really could use the opinion on the crypto from someone with more experience in this area. haven't done performance tests.
this is cryptfile, an encrypted block file served over styx. for more information, see the manual page, cryptfile(4).
see http://www.ueber.net/code/r/cryptfile for instructions.
first, ensure a "mkconfig" file is present. a bind/symlink to the mkconfig of your inferno install should do. now "mk" to compile and "mk install" to install the files.
this code is in the public domain, written by mechiel lukkien, reachable at mechiel@ueber.net or mechiel@xs4all.nl.
after a "forget" the user enters a password. if it is wrong, the styx read/write on the file fails. this might upset file servers such as kfs much. perhaps it is better not to respond to the styx request until the user enters a correct password.
add option to change the password (but keep the key of course). involves making a new salt, deriving a new key, making a new iv and making a new crypted data (with new random cookie, the same key and the calculated sha1).
to clone & pull:
hg clone http://www.ueber.net/hgsrv/cryptfile/
hg clone static-http://www.ueber.net/who/mjl/hg/cryptfile/
download a snapshot of the latest version: cryptfile-13.tgz.
the files in the latest revision can be found at /hg/cryptfile/files/tip/. a specific revision can be access by replacing "tip" with the revision number, (partial) nodeid or tag name. a few direct links to useful files in the latest revision:
| rev | nodeid | when | diff | why |
|---|---|---|---|---|
| 13 | ca33f57599a6 | 6 months | diff | change synopsis from "X" to "mount {X} mtpt". also don't use -A i... |
| 12 | 9ff045bc9bc9 | 14 months | diff | add another todo, and warn in stronger words about current state o... |
| 11 | 31a68ecd2f93 | 14 months | diff | a README with enough information to get going. |
| 10 | 53fc2b78c1a2 | 14 months | diff | add some comments for easier matching to the rfc. and remove the ... |
| 9 | 7876605026f8 | 14 months | diff | implement xts-mode. add manual page. add options for setting key... |
| 8 | b283dab64a2e | 14 months | diff | wstat of nulldir passes it on to underlying file. |
| 7 | 1a9f40c2e979 | 15 months | diff | don't use the user-input key for the data in the file, use a rando... |
| 6 | b5132051b82a | 15 months | diff | use first sector of underlying file for info. ... |
| 5 | 007d7438b4d7 | 15 months | diff | fix pbkdf2 module. use factotum to read password. better style. |
| 4 | 5fe11cda2df7 | 15 months | diff | implement Qctl for "forget" message. and get the key from factotum. |
| 3 | c4d563789dd6 | 15 months | diff | use aesecb instead of aescbc, and do it more sensibly (i think, bu... |
| 2 | 203ebf8d55c5 | 19 months | diff | add README with warning that this is not to be used (it's not publ... |
| 1 | 5dc383e6ffcf | 19 months | diff | replace file2chan by styxservers. we now provide a file "data" wh... |
| 0 | f7699026ecbf | 19 months | - | starter for cryptfile, what i had lying around. |