From 8857d60617c00553aaab7f06153b17699c860e96 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 14 Nov 2013 11:15:32 -0200 Subject: Edit default recipients during initialization --- keyringer | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'keyringer') diff --git a/keyringer b/keyringer index 8ba1093..7aad6a0 100755 --- a/keyringer +++ b/keyringer @@ -90,8 +90,16 @@ function keyringer_init { # Init if ! keyringer_is_git "$BASEDIR"; then keyringer_exec git "$BASEDIR" init + + # Edit default recipients + echo "Now you have to edit the default recipient configuration to be able to encrypt secrets." + echo "Press any key to proceed editing..." + read key + keyringer $KEYRING recipients edit default + + # Stage and commit keyringer_exec git "$BASEDIR" add . - keyringer_exec git "$BASEDIR" commit -m Importing + keyringer_exec git "$BASEDIR" commit -m Initializing fi } -- cgit v1.2.3