|
@@ -60,9 +60,9 @@ function generate_config() {
|
|
|
|
|
|
function generate_keys() {
|
|
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 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
|
|
rm -r /tmp/gpg-output
|
|
}
|
|
}
|
|
|
|
|