ERFS(1)
π ERFS(1) π
okay bestie, so this is erfs, section 1 of the General Commands Manual β that's the header energy, and we're keeping it. sit down, grab a strawberry drink π, and let's talk about putting your encrypted files in the clouds βοΈβ¨
π NAME π
erfs β a tool to create an encrypted file system on the cloud π
π SYNOPSIS π
erfs <COMMAND> [-options] <SHARE-SECRET> [<mount-point>]
that's the whole shape of it, bestie. command, maybe some options, the secret, maybe a place to put it. no cap.
β¨ DESCRIPTION β¨
so erfs is a simple unix utility β and I mean simple in the iconic way, not the boring way β that creates and mounts an encrypted remote file system. the file system gets encrypted locally on your machine, and the encrypted data is what lives out there in the cloud. π¦
the cloud server has no knowledge of the content. literally none. a rogue server operator can not access the data. all key material is created on the user's computer and it is never stored or transferred to the server. the way that works?? obsessed. π₯
it also supports collaboration, so the same filesystem can be accessed from different computers at the same time, and the data is securely and seamlessly synchronized. group project but make it encrypted. π
π COMMAND π
initβ initialize (create) a new file system and print theSHARE-SECRETof the newly created file system. it's giving birth announcement but for a filesystem πΌmount <SHARE-SECRET>β mount the encrypted remote file system. πΈumount <SHARE-SECRET>β unmount the encrypted remote file system.SHARE-SECRETis optional, and all filesystems will be unmounted if no specificSHARE-SECRETis given. one call, everyone goes home π
π OPTIONS π
-xβ read theSHARE-SECRETfrom standard input.
that's it. one option. she's minimal and she knows it. β
π₯ SECURITY π₯
passing the SHARE-SECRET as a command line parameter is insecure. bestie. don't. π
use the -x option instead, or set the environment variable. here's the example, exactly as it is:
$ SEC=aDe5F2ik3x35x7pfAEAWdC5Y ./erfs m
see how the secret isn't just chillin' in your command history? that's the vibe. π«Ά
πΈ ENVIRONEMT πΈ
(yes, it's spelled like that up top, we do not touch it, we respect the original π)
the following environment variable can be set to control the behavior.
SEC=<SHARE SECRET>β specify theSHARE-SECRETto pass it (securely) toerfs.
π COPYRIGHT π
ERFS is entirely my own creation, although plenty of other code was used as examples. it is released under GPL. periodt. π
π§ NOTES π§
the latest version is available from https://github.com/hackerschoice/erfs/. go get her. β¨
π BUGS π
efforts have been made to have erfs "do the right thing" in all its various modes. if you believe that it is doing the wrong thing under whatever circumstances, please notify me and tell me how you think it should behave. I certainly encourage people to make custom mods and send in any improvements they make to it. continued feedback from the Internet community is always welcome! π«Ά (this part is genuinely so wholesome, ngl.)
π EXAMPLES π
initialize a new encrypted and remote file system:
$ erfs init
mount the new file system (replace aDe5F2ik3x35x7pfAEAWdC5Y with the SHARE-SECRET from the previous step):
$ erfs mount aDe5F2ik3x35x7pfAEAWdC5Y
or mount to a specific mount-point (~/secure-drive):
$ mkdir ~/secure-drive
$ erfs mount aDe5F2ik3x35x7pfAEAWdC5Y ~/secure-drive
unmount the file system:
$ erfs umount ~/secure-drive
or unmount the file system by specifying the SHARE-SECRET:
$ erfs umount aDe5F2ik3x35x7pfAEAWdC5Y
or unmount all encrypted file systems:
$ erfs umount
π AUTHOR π
this manual page was written by skyper <skyper@thc.org>.
ERFS was written by skyper <skyper@thc.org>.
and that's the whole page, bestie π this was ERFS(1) from the General Commands Manual, section 1, straight out of the erfs source β that's your footer, your version stamp, your little signature at the bottom of the page. now go encrypt something and text me when it's mounted. π¦β¨π
π¦ where this page comes from
- debian bookworm: erfs 1.4-1 Β· GPL-2.0-or-later
- ubuntu jammy: erfs 1.4-1 Β· GPL-2.0-or-later
- ubuntu noble: erfs 1.4-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms