a technical notebook
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.5 KiB

  1. Sunday, December 7, 2014
  2. ========================
  3. notes directory
  4. ---------------
  5. On organizing todo lists, see [the p1k3 entry from August of
  6. 2014](https://p1k3.com/2014/8/23).
  7. For years now, I've kept that sort of thing in a `notes.txt`. At some point
  8. notes.txt got its own directory with a haphazard jumble of auxiliary files. It
  9. looks like I turned that directory into a git repository a couple of years ago.
  10. Unlike a lot of what I keep in git, `~/notes/` isn't meant for any kind of
  11. publication. In fact, it'd be pretty dumb to let it out in the world. So I got
  12. to thinking: I should really encrypt this.
  13. So what's the best way to encrypt a single directory on Linux?
  14. Two search strings:
  15. - linux encrypted directory
  16. - encrypted git repo
  17. It looks like maybe [http://ecryptfs.org/][eCryptFS] is the thing? This machine's an
  18. Ubuntu, so let's see what we can find:
  19. $ apt-cache search ecryptfs
  20. ecryptfs-utils - ecryptfs cryptographic filesystem (utilities)
  21. ecryptfs-utils-dbg - ecryptfs cryptographic filesystem (utilities; debug)
  22. libecryptfs-dev - ecryptfs cryptographic filesystem (development)
  23. libecryptfs0 - ecryptfs cryptographic filesystem (library)
  24. python-ecryptfs - ecryptfs cryptographic filesystem (python)
  25. zescrow-client - back up eCryptfs Encrypted Home or Encrypted Private Configuration
  26. Google suggests that ecryptfs-utils might be what I'm looking for.
  27. I become distracted reading about protests and leave this idea for another day.