From df8e843bf5ddaca16eb5b991cce49c0aefa1122b Mon Sep 17 00:00:00 2001 From: Harvey Kandola Date: Fri, 1 Mar 2019 17:15:15 +0000 Subject: [PATCH] Enabled TLS 1.3 support IE11 might have issues so we don't support IE11. --- edition/boot/runtime.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/edition/boot/runtime.go b/edition/boot/runtime.go index b317db96..de918966 100644 --- a/edition/boot/runtime.go +++ b/edition/boot/runtime.go @@ -26,6 +26,9 @@ import ( // InitRuntime prepares runtime using command line and environment variables. func InitRuntime(r *env.Runtime, s *store.Store) bool { + // TODO: remove this line when Go1.13 is released. + os.Setenv("GODEBUG", os.Getenv("GODEBUG")+",tls13=1") + // We need SALT to hash auth JWT tokens if r.Flags.Salt == "" { r.Flags.Salt = secrets.RandSalt()