From 0a0a84f1a3f93353286d9a9e6e5ef65aaba4c543 Mon Sep 17 00:00:00 2001 From: Christoph Kaser Date: Fri, 28 Oct 2022 07:28:33 +0000 Subject: [PATCH] negotiateContext: Use current key as fallback if Subkey is not sent --- gss/gokrb5.go | 1 + 1 file changed, 1 insertion(+) diff --git a/gss/gokrb5.go b/gss/gokrb5.go index da8cad6..f6e1d5f 100644 --- a/gss/gokrb5.go +++ b/gss/gokrb5.go @@ -302,6 +302,7 @@ func (c *Client) negotiateContext(host string, cl *client.Client) (string, time. } var payload messages.EncAPRepPart + payload.Subkey = key // Use current key as fallback if Subkey is not sent if err = payload.Unmarshal(b); err != nil { return "", time.Time{}, err }