[geary/wip/ubuntu-1804-network-unreachable] Fix "Peer sent fatal TLS alert: Decode error" on Ubuntu 18.04
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/wip/ubuntu-1804-network-unreachable] Fix "Peer sent fatal TLS alert: Decode error" on Ubuntu 18.04
- Date: Tue, 19 Feb 2019 23:38:59 +0000 (UTC)
commit 3914593360aa2a134f913bf088cae9dda0bfec7b
Author: Michael Gratton <mike vee net>
Date: Wed Feb 20 10:35:37 2019 +1100
Fix "Peer sent fatal TLS alert: Decode error" on Ubuntu 18.04
Setting an explicit TLS server identity seems to be broken on the
version of GLib shipped by Ubutnu 18.04, so disable for now.
src/engine/api/geary-endpoint.vala | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/src/engine/api/geary-endpoint.vala b/src/engine/api/geary-endpoint.vala
index c7fbc444..c833c92d 100644
--- a/src/engine/api/geary-endpoint.vala
+++ b/src/engine/api/geary-endpoint.vala
@@ -190,7 +190,9 @@ public class Geary.Endpoint : BaseObject {
}
private void prepare_tls_cx(GLib.TlsClientConnection tls_cx) {
- tls_cx.server_identity = this.remote;
+ // Setting this on Ubuntu 18.04 breaks some TLS
+ // connections. See issue #217.
+ // tls_cx.server_identity = this.remote;
tls_cx.validation_flags = this.tls_validation_flags;
if (Endpoint.default_tls_database != null) {
tls_cx.set_database(Endpoint.default_tls_database);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]