From 1c74a1ea974bc2ad46f50907134af0a0f6f51771 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Tue, 14 Apr 2020 12:32:37 +1200 Subject: [PATCH] directly compare server CA --- .config/taskwarrior/rc | 2 +- .config/taskwarrior/seamus.madduck.net.pem | 27 ++++++++++++++++++++++ .gitignore.d/taskwarrior | 19 +++++++++++++++ 3 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 .config/taskwarrior/seamus.madduck.net.pem diff --git a/.config/taskwarrior/rc b/.config/taskwarrior/rc index f207d9a..9e8a168 100644 --- a/.config/taskwarrior/rc +++ b/.config/taskwarrior/rc @@ -14,7 +14,7 @@ include /usr/share/taskwarrior/holidays.de-DE.rc include /usr/share/taskwarrior/holidays.en-NZ.rc taskd.server=tasks.madduck.net:53589 -taskd.ca=/etc/ssl/certs/ca-certificates.crt +taskd.ca=~/.config/taskwarrior/seamus.madduck.net.pem taskd.certificate=~/.config/taskwarrior/client-cert.pem taskd.key=~/.config/taskwarrior/client-key.pem include ~/.config/taskwarrior/taskd-credentials.rc diff --git a/.config/taskwarrior/seamus.madduck.net.pem b/.config/taskwarrior/seamus.madduck.net.pem new file mode 100644 index 0000000..0002462 --- /dev/null +++ b/.config/taskwarrior/seamus.madduck.net.pem @@ -0,0 +1,27 @@ +-----BEGIN CERTIFICATE----- +MIIEkjCCA3qgAwIBAgIQCgFBQgAAAVOFc2oLheynCDANBgkqhkiG9w0BAQsFADA/ +MSQwIgYDVQQKExtEaWdpdGFsIFNpZ25hdHVyZSBUcnVzdCBDby4xFzAVBgNVBAMT +DkRTVCBSb290IENBIFgzMB4XDTE2MDMxNzE2NDA0NloXDTIxMDMxNzE2NDA0Nlow +SjELMAkGA1UEBhMCVVMxFjAUBgNVBAoTDUxldCdzIEVuY3J5cHQxIzAhBgNVBAMT +GkxldCdzIEVuY3J5cHQgQXV0aG9yaXR5IFgzMIIBIjANBgkqhkiG9w0BAQEFAAOC +AQ8AMIIBCgKCAQEAnNMM8FrlLke3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QYz+3dszkDqMp4fklxBwXRsW10KXzPMTZ+sOPAveyxindmjkW8lGy+QsRlG +PfZ+G6Z6h7mjem0Y+iWlkYcV4PIWL1iwBi8saCbGS5jN2p8M+X+Q7UNKEkROb3N6 +KOqkqm57TH2H3eDJAkSnh6/DNFu0Qg== +-----END CERTIFICATE----- diff --git a/.gitignore.d/taskwarrior b/.gitignore.d/taskwarrior index ff65ee9..7c6d62b 100644 --- a/.gitignore.d/taskwarrior +++ b/.gitignore.d/taskwarrior @@ -2,6 +2,24 @@ !/.bin/task !/.bin/task_attach !/.bin/task_call +!/code/taskwarrior/tasklib/AUTHORS +!/code/taskwarrior/tasklib/.coveragerc +!/code/taskwarrior/tasklib/docs/conf.py +!/code/taskwarrior/tasklib/docs/index.rst +!/code/taskwarrior/tasklib/docs/Makefile +!/code/taskwarrior/tasklib/.gitignore +!/code/taskwarrior/tasklib/LICENSE +!/code/taskwarrior/tasklib/MANIFEST.in +!/code/taskwarrior/tasklib/README.rst +!/code/taskwarrior/tasklib/setup.py +!/code/taskwarrior/tasklib/tasklib/backends.py +!/code/taskwarrior/tasklib/tasklib/filters.py +!/code/taskwarrior/tasklib/tasklib/__init__.py +!/code/taskwarrior/tasklib/tasklib/lazy.py +!/code/taskwarrior/tasklib/tasklib/serializing.py +!/code/taskwarrior/tasklib/tasklib/task.py +!/code/taskwarrior/tasklib/tasklib/tests.py +!/code/taskwarrior/tasklib/.travis.yml !/.config/taskwarrior/.gitignore !/.config/taskwarrior/hooks/on-add-pirate !/.config/taskwarrior/hooks/on-modify-pirate @@ -10,6 +28,7 @@ !/.config/taskwarrior/hooks/task.shift-recurrence/pirate_add_shift_recurrence.py !/.config/taskwarrior/hooks/task.shift-recurrence/README.md !/.config/taskwarrior/rc +!/.config/taskwarrior/seamus.madduck.net.pem !/.config/taskwarrior/taskpirate/LICENCE !/.config/taskwarrior/taskpirate/on-add-pirate !/.config/taskwarrior/taskpirate/on-modify-pirate -- 2.39.5