LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

ecryptfs-find

match eCryptfs encrypted filenames to their decrypted counterparts

TLDR

Find the encrypted form of a decrypted filename
$ ecryptfs-find [cleartext-filename]
copy
Find the decrypted form of an encrypted filename
$ ecryptfs-find [ECRYPTFS_FNEK_ENCRYPTED.fwBGx...]
copy

SYNOPSIS

ecryptfs-find filename

DESCRIPTION

ecryptfs-find uses inode numbers to match encrypted filenames to their decrypted counterparts, and decrypted filenames to their encrypted counterparts. It calls ls(1) to determine the inode and find(1) to locate the inode on the filesystem.The eCryptfs filesystem must be mounted for the command to function, since it needs both the encrypted and decrypted views of the directory to perform the match.This is primarily a diagnostic tool for resolving filename mappings in eCryptfs deployments.

PARAMETERS

FILENAME

A cleartext or eCryptfs-encrypted filename to look up. The tool resolves the corresponding counterpart using inode numbers.

INSTALL

sudo apt install ecryptfs-utils
copy
sudo dnf install ecryptfs-utils
copy
sudo pacman -S ecryptfs-utils
copy
sudo apk add ecryptfs-utils
copy
sudo zypper install ecryptfs-utils
copy

CAVEATS

The eCryptfs filesystem must be mounted before running this command. The tool does not decrypt file contents, only filename mappings. Requires read access to the directories being searched.

HISTORY

ecryptfs-find is part of the ecryptfs-utils package. eCryptfs is a POSIX-compliant stacked cryptographic filesystem included in the Linux kernel since version 2.6.19 (released 2006).

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid