Skip to content

Commit

Permalink
Add sample to key_imp
Browse files Browse the repository at this point in the history
  • Loading branch information
urpylka committed Aug 11, 2020
1 parent bc4407e commit 19d1b22
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion assets/keys_imp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 19d1b22

Please sign in to comment.