keyfile

command module
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

README

keyfile

Keychain-based file encryption

Install

CGO_ENABLED=1 go install github.com/chyroc/keyfile@latest

Usage

Encrypt File
keyfile encrypt --account `<account_name>` --file filepath > encrypt_filepath
Decrypt File
keyfile decrypt --account `<account_name>` --file encrypt_filepath
Decrypt File and Re-Encrypt to File
keyfile decrypt --account `<account_name>` --file encrypt_filepath --editor vim
Get Keychain Secret
keyfile get-secret --account `<account_name>`
Set Keychain Secret
keyfile set-secret --account `<account_name>` --secret `<secret>`
Del Keychain Secret
keyfile del-secret --account `<account_name>`
Help
NAME:
   keyfile - A new cli application

USAGE:
   keyfile [global options] command [command options] [arguments...]

DESCRIPTION:
   Keychain-based file encryption

COMMANDS:
   decrypt, dec  decrypt content from file
   encrypt, enc  encrypt content from file
   get-secret    get secret from keychain
   set-secret    set secret to keychain
   del-secret    del secret from keychain
   help, h       Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h  show help

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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