1
0
poesty 9 mesiacov pred
rodič
commit
038cee31f2
1 zmenil súbory, kde vykonal 3 pridanie a 3 odobranie
  1. 3 3
      init.sh

+ 3 - 3
init.sh

@@ -60,9 +60,9 @@ function generate_config() {
 
 function generate_keys() {
 	docker run --rm sr.ht-base:dev sh -c 'srht-keygen service && srht-keygen network && srht-keygen webhook' | awk '{n[1]="Service";n[2]="Network";n[3]=n[4]="Webhook";print n[NR]" "$0 > "genkeys"}'
-	docker run --rm -v /tmp/gpg-output:/root/.gnupg vladgh/gpg --batch --passphrase '' --quick-gen-key admin@admin.com
-	docker run --rm -v /tmp/gpg-output:/root/.gnupg vladgh/gpg -a --export-secret-key admin@admin.com >srht.priv
-	docker run --rm -v /tmp/gpg-output:/root/.gnupg vladgh/gpg -a --export admin@admin.com >srht.pub
+	docker run --rm -v /tmp/gpg-output:/root/.gnupg vladgh/gpg --batch --passphrase '' --quick-gen-key CHANGEME@example.org
+	docker run --rm -v /tmp/gpg-output:/root/.gnupg vladgh/gpg -a --export-secret-key CHANGEME@example.org >srht.priv
+	docker run --rm -v /tmp/gpg-output:/root/.gnupg vladgh/gpg -a --export CHANGEME@example.org >srht.pub
 	rm -r /tmp/gpg-output
 }