Skip to content
/ cryptkv Public

fork from https://github.com/xordataexchange/crypt, i'd like to ignore vendor but forgive by one problem of etcd with special version

License

Notifications You must be signed in to change notification settings

xurwxj/cryptkv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

crypt

fork from https://github.com/xordataexchange/crypt

add zookeeper support and get all plain conf methods

You can use crypt as a command line tool or as a configuration library:

Demo

Watch Kelsey explain crypt in this quick 5 minute video:

Crypt Demonstration Video

Generating gpg keys and keyrings

The crypt cli and config package require gpg keyrings.

Create a key and keyring from a batch file

vim app.batch
%echo Generating a configuration OpenPGP key
Key-Type: default
Subkey-Type: default
Name-Real: app
Name-Comment: app configuration key
Name-Email: [email protected]
Expire-Date: 0
%pubring .pubring.gpg
%secring .secring.gpg
%commit
%echo done

Run the following command:

gpg2 --batch --armor --gen-key app.batch

You should now have two keyrings, .pubring.gpg which contains the public keys, and .secring.gpg which contains the private keys.

Note the private key is not protected by a passphrase.

About

fork from https://github.com/xordataexchange/crypt, i'd like to ignore vendor but forgive by one problem of etcd with special version

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages