encrypt-dir

command module
v0.0.0-...-56f33ad Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

README

encrypt-dir

A very simple cli helper that encrypts files in directories using AES-GCM (128bit). Particularly suited for en-/decrypting sensitive information in git repositories.

Installation

$ go get -u github.com/ory/encrypt-dir
$ encrypt-dir encrypt --key=JephkRhbfqzDHMAYUtHa6qcys4R4D48w some-directory-1 some-other-directory

Usage

Encrypt
$ ls some-directory-1
foo.txt
$ ls some-other-directory
bar.txt

$ encrypt-dir encrypt --key=<some-key> some-directory-1 some-other-directory

$ ls some-directory-1
foo.txt foo.txt.secure
$ ls some-other-directory
bar.txt foo.txt.secure
Decrypt
$ ls some-directory-1
foo.txt.secure
$ ls some-other-directory
bar.txt.secure

$ encrypt-dir decrypt --key=<some-key> some-directory-1 some-other-directory

$ ls some-directory-1
foo.txt foo.txt.secure
$ ls some-other-directory
bar.txt foo.txt.secure

Documentation

Overview

* Copyright © 2017-2018 Aeneas Rekkas <aeneas+oss@aeneas.io> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * * @author Aeneas Rekkas <aeneas+oss@aeneas.io> * @copyright 2017-2018 Aeneas Rekkas <aeneas+oss@aeneas.io> * @license Apache-2.0

Directories

Path Synopsis
* Copyright © 2017-2018 Aeneas Rekkas <aeneas+oss@aeneas.io> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
* Copyright © 2017-2018 Aeneas Rekkas <aeneas+oss@aeneas.io> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.

Jump to

Keyboard shortcuts

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