From 98cf8bd4788979b4afacd88352a8522b71ddaeb5 Mon Sep 17 00:00:00 2001 From: Ethan Heilman Date: Mon, 9 Sep 2024 20:45:18 -0400 Subject: [PATCH] Cleaning up log messages --- auth/plugins/openpubkey/server/server_plugin.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/auth/plugins/openpubkey/server/server_plugin.go b/auth/plugins/openpubkey/server/server_plugin.go index aa08599..6e1e155 100644 --- a/auth/plugins/openpubkey/server/server_plugin.go +++ b/auth/plugins/openpubkey/server/server_plugin.go @@ -110,7 +110,7 @@ func (v *OpenPubkeyIdentityVerifier) Verify(request *http.Request, base64Convers jwt.WithAudience("unused"), jwt.WithValidMethods([]string{"RS256", "EdDSA", "ES256"})) if err != nil || !token.Valid { - log.Error().Msgf("invalid private key token: %s", err) + log.Error().Msgf("invalid OpenPubkey signed JWT: %s", err) return false } if claims, ok := token.Claims.(jwt.MapClaims); ok { @@ -147,8 +147,6 @@ func OpenPubkeyAuthPlugin(username string, identityStr string) (auth.RequestIden issuer := identityStrArr[2] email := identityStrArr[3] - log.Debug().Msg("parsing OpenPubkey config") - return &OpenPubkeyIdentityVerifier{ username: username, clientIdOidc: clientId,