Keychain-based file encryption
CGO_ENABLED=1 go install github.com/chyroc/keyfile@latest
keyfile encrypt --account `<account_name>` --file filepath > encrypt_filepath
keyfile decrypt --account `<account_name>` --file encrypt_filepath
keyfile decrypt --account `<account_name>` --file encrypt_filepath --editor vim
keyfile get-secret --account `<account_name>`
keyfile set-secret --account `<account_name>` --secret `<secret>`
keyfile del-secret --account `<account_name>`
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