lockdown

command module
v0.0.0-...-fc24ea9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2019 License: MIT Imports: 16 Imported by: 0

README

Lockdown GoDoc

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:

go get github.com/raz-varren/lockdown...
go install github.com/raz-varren/lockdown
Examples:

#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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
ld
v1

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL