GOCRYPTFS-XRAY(1)

πŸ’… NAME πŸ’…

okay bestie, welcome to the GOCRYPTFS-XRAY(1) manual page β€” this is all about gocryptfs-xray, the icon whose whole job is to examine gocryptfs-related data. πŸ•΅οΈβ€β™€οΈβœ¨ no cap.

🌸 SYNOPSIS 🌸

okay so there are three main-character ways to run this thing, and they are literally:

πŸ” Examine encrypted file/directory

gocryptfs-xray CIPHERDIR/ENCRYPTED-FILE-OR-DIR

πŸ”‘ Decrypt and show master key

gocryptfs-xray -dumpmasterkey CIPHERDIR/gocryptfs.conf

πŸ”’ Encrypt paths

gocryptfs-xray -encrypt-paths SOCKET

✨ DESCRIPTION ✨

Available options are listed below β€” yes, all of them, bestie, no skipping. πŸ’–

  • -0 β€” use \0 instead of \n as the separator for -decrypt-paths and -encrypt-paths. separator slay. πŸŽ€
  • -aessiv β€” assume AES-SIV mode instead of AES-GCM when examining an encrypted file. This is not needed and has no effect in -dumpmasterkey mode. iykyk πŸ¦‹
  • -decrypt-paths β€” decrypt file paths using the gocryptfs control socket. Reads from stdin. See -ctlsock in gocryptfs(1). 🫢
  • -dumpmasterkey β€” decrypts and shows the master key. πŸ”‘
  • -encrypt-paths β€” encrypt file paths using the gocryptfs control socket. Reads from stdin. See -ctlsock in gocryptfs(1). πŸ”₯

πŸŽ€ EXAMPLES πŸŽ€

okay these examples are genuinely useful, bestie:

Examine an encrypted file:

gocryptfs-xray myfs/mCXnISiv7nEmyc0glGuhTQ

Print the master key:

gocryptfs-xray -dumpmasterkey myfs/gocryptfs.conf

Mount gocryptfs with control socket and use gocryptfs-xray to encrypt some paths:

gocryptfs -ctlsock myfs.sock myfs myfs.mnt
echo -e "foo\nbar" | gocryptfs-xray -encrypt-paths myfs.sock

πŸ‘€ SEE ALSO πŸ‘€

go give some love to gocryptfs(1) and fuse(8) β€” they're right there in the friend group. πŸ’œ

🫢 AUTHORS 🫢

github.com/rfjakob. β€” yes, with the dot, bestie. periodt. 🌟


that's the whole page, bestie! cute little sign-off from the Jan 2018 edition of GOCRYPTFS-XRAY(1) β€” mwah πŸ’‹πŸ’–βœ¨

πŸ“¦ where this page comes from