GothenburgBitFactory / taskwarrior

Taskwarrior - Command line Task Management
https://taskwarrior.org
MIT License
4.43k stars 303 forks source link

[TW-354] Client does not verify SSL certificates #389

Closed taskwarrior closed 6 years ago

taskwarrior commented 6 years ago

Scott Kroll on 2013-10-11T15:00:29Z says:

Currently the client does a handshake, but does nothing to verify the certificates from the server.

At the bare minimum a call to gnutls_certificate_verify_peers2 should be done in TLSClient.cpp and verify the certificate. gnutls_x509_crt_check_hostname should be used to check that the server's hostname matches the certificate.

Steps to reproduce:

taskwarrior commented 6 years ago

Migrated metadata:

Created: 2013-10-11T15:00:29Z
Modified: 2014-02-09T01:36:03Z
taskwarrior commented 6 years ago

Paul Beckingham on 2013-10-30T03:17:59Z says:

Done. Details and updated docs soon.