command line utility to encrypt/decrypt files

Bug #887254 reported by Dustin Kirkland 
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
eCryptfs
Triaged
Wishlist
Unassigned

Bug Description

It would be nice if ecryptfs-utils provided a command line utility that could encrypt and decrypt eCryptfs files in userspace. This would be handy as both a crude recovery utility, as well as for testing/verification purposes.

This should be pretty doable using Python and the basic crypto algorithms. I'm filing this bug here, to track the work, and record any implementation discussions in the public.

Changed in ecryptfs:
status: New → Triaged
importance: Undecided → Wishlist
Revision history for this message
Tyler Hicks (tyhicks) wrote :

In the short-term it would be nice to have something quickly written up in python. It could simply support the most common use case - files encrypted with a symmetric key using aes-128. Of course, it would need to be smart enough to know not to blindly decrypt a file that was encrypted with another cipher.

In the long-term it would be nice to have more robust eCryptfs metadata parsing code, in libecryptfs, that a simple python command line utility could call to intelligently handle decryption of any eCryptfs file.

Revision history for this message
Patrick Taylor (pdtpatrick) wrote :

Sounds fine. Will need to get with either Tyler or Dustin to better understand what is needed and would try to tackle this in python and run some tests.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.