Browse Source

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
Bryan 1 year ago
parent
commit
444b341485
2 changed files with 7 additions and 1 deletions
  1. 2
    1
      NOTICE
  2. 5
    0
      assets/startup.sh

+ 2
- 1
NOTICE View File

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

+ 5
- 0
assets/startup.sh View File

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

Loading…
Cancel
Save