From fe5cf33befc71a9d884bf98778209b1fcd088fb8 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 22 Apr 2019 10:10:36 -0600 Subject: [PATCH] update error message --- keyfetch/fetch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyfetch/fetch.go b/keyfetch/fetch.go index 598a470..915f8cb 100644 --- a/keyfetch/fetch.go +++ b/keyfetch/fetch.go @@ -26,7 +26,7 @@ import ( var EInvalidJWKURL = errors.New("url does not lead to valid JWKs") var KeyCache = map[string]CachableKey{} var KeyCacheMux = sync.Mutex{} -var ErrInsecureDomain = errors.New("Whitelists should only allow secure domains (i.e. https://). To allow unsecured private networking (i.e. Docker) pass PrivateWhitelist as `true`") +var ErrInsecureDomain = errors.New("Whitelists should only allow secure URLs (i.e. https://). To allow unsecured private networking (i.e. Docker) pass PrivateWhitelist as a list of private URLs") type CachableKey struct { Key keypairs.PublicKey