add contributor credit, publicize repo signing key

publicize repo signing key as part of startup, previously
was only doing this at the end of the update_mirror.sh script
This commit is contained in:
Bryan 2017-05-23 21:12:14 -07:00
parent 5201df3750
commit 444b341485
2 changed files with 7 additions and 1 deletions

3
NOTICE
View File

@ -2,4 +2,5 @@ docker-aptly
Copyright 2016 Bryan J. Hong
This product contains software (https://github.com/bryanhong/docker-aptly) developed
by Bryan Hong (http://github.com/bryanhong) licensed under the Apache License.
by Bryan Hong (http://github.com/bryanhong), and Jan Čapek (https://github.com/honzik666)
licensed under the Apache License.

View File

@ -8,6 +8,11 @@ if [[ ! -f /opt/aptly/aptly.sec ]] || [[ ! -f /opt/aptly/aptly.pub ]]; then
gpg --batch --gen-key /opt/gpg_batch
fi
# Export the GPG Public key
if [[ ! -f /opt/aptly/public/aptly_repo_signing.key ]]; then
gpg --export --armor > /opt/aptly/public/aptly_repo_signing.key
fi
# Import Ubuntu keyrings
gpg --list-keys
gpg --no-default-keyring \