https://github.com/raz-varren/lockdown
A command line file encryption tool
https://github.com/raz-varren/lockdown
argon2id cross-platform ctr-mode easy-to-use file-encryption
Last synced: about 2 months ago
JSON representation
A command line file encryption tool
- Host: GitHub
- URL: https://github.com/raz-varren/lockdown
- Owner: raz-varren
- License: mit
- Created: 2019-11-30T22:02:35.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-12-01T21:21:52.000Z (over 5 years ago)
- Last Synced: 2025-05-09T03:11:37.601Z (about 2 months ago)
- Topics: argon2id, cross-platform, ctr-mode, easy-to-use, file-encryption
- Language: Go
- Size: 20.5 KB
- Stars: 10
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Lockdown [](https://godoc.org/github.com/raz-varren/lockdown)
==================lockdown is a file encryption tool that takes, as input, a set of plaintext files and replaces them with encrypted counterpart files, typically with a file extension of (.lkd), and vice versa.
When a file is successfully encrypted, the plaintext file is deleted from the file system, leaving only the (.lkd) encrypted file remaining.
The same is true of the reverse, successfully decrypting a (.lkd) file will produce a plaintext counterpart and delete the encrypted file from the file system.
### Install:
-----------
```bash
go get github.com/raz-varren/lockdown...
go install github.com/raz-varren/lockdown
```### Examples:
---------```bash
#list options
lockdown -h#encrypt a file
lockdown -e /path/to/file.txt#decrypt a file
lockdown -d /path/to/file.txt.lkd#encrypt all files in a directory that don't have the (.lkd) extension
lockdown -e -r /path/to/directory#decrypt all files in a directory that do have the (.lkd) extension
lockdown -d -r /path/to/directory#encrypt file using different extension
lockdown -e -ext myext /path/to/file.txt#decrypt directory of encrypted files with multiple possible extensions
lockdown -d -r -ext "myext,otherext,lkd" /path/to/directory
```