aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2023-08-18 22:44:36 +0300
committerkaotisk <kaotisk@arching-kaos.org>2023-08-18 22:44:36 +0300
commit112e4f7be6c6cbdeab8543b4cc64e5b2ae25e155 (patch)
tree397978acb179e7cc559a8e750aecdc0766310aa5
parent49f138f7b2ae9ae46d0d8eb7cc69aad24bd97a14 (diff)
downloadarching-kaos-tools-112e4f7be6c6cbdeab8543b4cc64e5b2ae25e155.tar.gz
arching-kaos-tools-112e4f7be6c6cbdeab8543b4cc64e5b2ae25e155.tar.bz2
arching-kaos-tools-112e4f7be6c6cbdeab8543b4cc64e5b2ae25e155.zip
Fixed wrong flag
-rwxr-xr-xinit.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.sh b/init.sh
index abab8f0..9458140 100755
--- a/init.sh
+++ b/init.sh
@@ -8,7 +8,7 @@ ak_gpg_check_or_create(){
gpg2 --homedir $AK_GPGHOME --list-keys | grep kaos@kaos.kaos -1
if [ "$?" -ne "0" ]
then
- gpg2 --homedir $AK_GPGHOME --batch --passphrase '' --quick-key-gen kaos@kaos.kaos rsa3072 sign 0
+ gpg2 --homedir $AK_GPGHOME --batch --passphrase '' --quick-gen-key kaos@kaos.kaos rsa3072 sign 0
AK_FINGERPRINT="$(gpg2 --homedir $AK_GPGHOME --list-keys | grep kaos@kaos.kaos -1 | head -n 1 | awk '{print $1}')"
gpg2 --homedir $AK_GPGHOME --batch --passphrase '' --quick-add-key $AK_FINGERPRINT rsa3072 encrypt 0
fi