From 19d1b22d913260ab8f6b1ff285add7644419edc1 Mon Sep 17 00:00:00 2001 From: Artem Smirnov Date: Tue, 11 Aug 2020 16:04:40 +0300 Subject: [PATCH] Add sample to key_imp --- assets/keys_imp.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/assets/keys_imp.sh b/assets/keys_imp.sh index e984911..9c4281a 100755 --- a/assets/keys_imp.sh +++ b/assets/keys_imp.sh @@ -16,7 +16,8 @@ if [[ -f ${1} ]]; then O="/opt/aptly/gpg/trustedkeys.gpg" # gpg --no-options --no-default-keyring --keyring ${O} --keyserver pool.sks-keyservers.net --recv-keys 9D6D8F6BC857C906 AA8E81B4331F7F50 - # cat file.gpg | gpg --no-options --no-default-keyring --keyring ${O} --import + # wget -O - http://repo.coex.space/aptly_repo_signing.key | \ + # gpg --no-options --no-default-keyring --keyring "/opt/aptly/gpg/trustedkeys.gpg" --import gpg --no-options --no-default-keyring --keyring ${I} --export | \ gpg --no-options --no-default-keyring --keyring ${O} --import