From b65f805566854f3735ffe5dd1b2c5d765ad694ec Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 10 Jun 2019 18:16:03 -0300 Subject: Trust commited key --- TODOs.org | 2 ++ scripts/ci/mail.sh | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/TODOs.org b/TODOs.org index 96fbebe..058a353 100644 --- a/TODOs.org +++ b/TODOs.org @@ -231,6 +231,8 @@ Maybe rsync the contents of the Borg repository into S3. Should I restore backup Can it do key rotation? ** TODO Can the =setup.sh= and =provision.sh= scripts be run inside a chroot or a NixOS contained environment? Right now they can't simply be a derivation because =setup.sh= needs access to the disk and =provision.sh= needs to access the internet. +** TODO Is there a way to commit the /signed/ public key? +This way it would remove the need of using the =--always-trust= option of =gpg=. ** DONE How to dynamically handle Floating IPs? CLOSED: [2019-06-10 Mon 08:59] Right now the current Floating IP defined in =.envrc= was created manually in DigitalOcean's web UI and copied from it to the environment variable. diff --git a/scripts/ci/mail.sh b/scripts/ci/mail.sh index 8236373..2796606 100755 --- a/scripts/ci/mail.sh +++ b/scripts/ci/mail.sh @@ -37,7 +37,8 @@ EOF ) tail -n +1 ./logs/*.txt > "${ATTACHMENT_PATH}" -gpg -r "${GPG_TO}" \ +gpg --always-trust \ + -r "${GPG_TO}" \ -e "${ATTACHMENT_PATH}" curl "${MAILGUN_URL}" \ -- cgit v1.2.3