summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Wilken2023-05-25 19:56:39 +0200
committerTimo Wilken2023-05-25 23:25:18 +0200
commit6c5465ad229c66047d9b0fcf0474a3c7685383ca (patch)
treed9da7db8f855fbec97f6b7358c661748961f1c30
parent149c11e09cbd82a889a115639114fc9a7ba44557 (diff)
Set up GPG mail signing and encryption
-rw-r--r--tw/home/files/aerc/accounts.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/tw/home/files/aerc/accounts.conf b/tw/home/files/aerc/accounts.conf
index e40f8a1d..acbc36c8 100644
--- a/tw/home/files/aerc/accounts.conf
+++ b/tw/home/files/aerc/accounts.conf
@@ -8,6 +8,9 @@ from = Timo Wilken <timo@twilken.net>
copy-to = Sent
postpone = Drafts
cache-headers = true
+pgp-auto-sign = true
+pgp-key-id = 53EC3C06856883DD92355BC22FC78504681F69B0
+pgp-opportunistic-encrypt = true
[CERN]
# https://man.sr.ht/~rjarry/aerc/providers/microsoft.md#office365-with-xoauth2
@@ -29,6 +32,10 @@ aliases = twilken@cern.ch
copy-to = Sent Items
postpone = Drafts
cache-headers = true
+pgp-auto-sign = true
+pgp-key-id = C2249BBE5E8761C943A0CFA1B7B3914BF63ACD7C
+# Don't auto-encrypt mail, even if we have the keys of all recipients.
+pgp-opportunistic-encrypt = false
[Gmail]
source = imaps://timo.21.wilken%40gmail.com@imap.gmail.com
@@ -40,6 +47,9 @@ from = Timo Wilken <timo.21.wilken@gmail.com>
copy-to = [Gmail]/Sent Mail
postpone = [Gmail]/Drafts
cache-headers = true
+pgp-auto-sign = true
+pgp-key-id = 53EC3C06856883DD92355BC22FC78504681F69B0
+pgp-opportunistic-encrypt = true
[Cantab]
source = imaps+xoauth2://tw466%40cantab.ac.uk@outlook.office365.com?client_id=9e5f94bc-e8a4-4e73-b8be-63364c29d753&token_endpoint=https://login.microsoftonline.com/common/oauth2/v2.0/token&scope=https://outlook.office.com/SMTP.Send https://outlook.office.com/IMAP.AccessAsUser.All offline_access
@@ -52,6 +62,9 @@ from = Timo Wilken <tw466@cantab.ac.uk>
copy-to = Sent Items
postpone = Drafts
cache-headers = true
+pgp-auto-sign = true
+pgp-key-id = 53EC3C06856883DD92355BC22FC78504681F69B0
+pgp-opportunistic-encrypt = true
[Outlook]
source = imaps+xoauth2://timo_wilken%40live.co.uk@outlook.office365.com?client_id=9e5f94bc-e8a4-4e73-b8be-63364c29d753&token_endpoint=https://login.microsoftonline.com/common/oauth2/v2.0/token&scope=https://outlook.office.com/SMTP.Send https://outlook.office.com/IMAP.AccessAsUser.All offline_access
@@ -64,3 +77,6 @@ from = Timo Wilken <timo_wilken@live.co.uk>
copy-to = Sent
postpone = Drafts
cache-headers = true
+pgp-auto-sign = true
+pgp-key-id = 53EC3C06856883DD92355BC22FC78504681F69B0
+pgp-opportunistic-encrypt = true