gocryptfs−xray − examine gocryptfs−related data
gocryptfs−xray CIPHERDIR/ENCRYPTED−FILE−OR−DIR
gocryptfs−xray −dumpmasterkey CIPHERDIR/gocryptfs.conf
gocryptfs−xray −encrypt−paths SOCKET
Available options are listed below.
Use \0 instead of \n as separator for −decrypt−paths and −encrypt−paths.
Assume AES−SIV mode instead of AES−GCM when examining an encrypted file. Is not needed and has no effect in −dumpmasterkey mode.
Decrypt file paths using gocryptfs control socket. Reads from stdin. See −ctlsock in gocryptfs(1).
Decrypts and shows the master key.
Encrypt file paths using gocryptfs control socket. Reads from stdin. See −ctlsock in gocryptfs(1).
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
gocryptfs(1) fuse(8)
github.com/rfjakob.