Giter VIP home page Giter VIP logo

aegiseculock's Introduction

aegiseculock

This simple program is a joke file manager that is supposed to provide the service of locking your files with a password for privacy (it just removes all permissions using chmod).

Usage

Compile with Leiningen and run; you'll see:

Enter a password for first-time setup:

Enter a password of your choice. This is the Master Password^TM^. The main menu should then show up:

CHOOSE:
1 -> Reset Master Password
2 -> New File
3 -> Read File
4 -> Write to File
5 -> Change File Password
6 -> Exit

You can create new files with 2 (which will also prompt you to enter a file-specific password), and read or write content to it with 3 or 4 respectively (where you enter that password). The Master Password^TM^... is just there to look legit.

The files are saved as dotfiles, and so are invisible on a normal ls. Try to read them, and you're faced with a permissions error!... It's just chmoded out of all permissions; you can easily chmod them back on your own accord. In fact, the program itself chmods every file it needs to interact with so that it can read/write it itself, before removing all permissions again. This is of course handled by the aptly-named sophisticated-permissions-security-procedure-injection macro.

Raison d'etre

This program was just an experiment by me for fun, of course. I had just come out of Haskell confused by how functional languages interact with IO, and since I was interested in Clojure, wanted to see if writing an IO-related, file-handling program using it would be just as hard. It thankfully wasn't.

aegiseculock's People

Contributors

snproj avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.