Hacker News new | ask | show | jobs
by psychphysic 1348 days ago
Nice! Is there any desire to extend beyond original `rm` functionality?
1 comments

Thanks ! I have many ideas to make the project much more interesting, including adding automatic flush (that the user will have configured), the ability to compress the file before entering the trash etc ... Do you have any ideas in mind?
So glad you asked!

The main one is that files sent to trash are encrypted. So that a private key is required to restore them.

Ideally even the meta data is encrypted.

I've watched too many kids spy movies from the 2010s with files restored from trash!

Edit: just wanted to add I just mean via GPG! Rather than asking encryption be added to the application.

This is a great idea! I hadn't thought about it. I'm currently fixing the major bugs and refactoring the code a bit, and when I finish that, I'll get to your idea, I find it really interesting.