From 759f645f98677caeba646a114f6bff02ccc375fb Mon Sep 17 00:00:00 2001 From: Florian Sandel Date: Thu, 29 Aug 2024 13:27:27 +0200 Subject: [PATCH] ignore semgrep finding --- certbot_dns_stackit/stackit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/certbot_dns_stackit/stackit.py b/certbot_dns_stackit/stackit.py index e25cadf..0c21580 100644 --- a/certbot_dns_stackit/stackit.py +++ b/certbot_dns_stackit/stackit.py @@ -363,7 +363,7 @@ def _generate_jwt(self, credentials: ServiceFileCredentials) -> str: } headers = {"kid": credentials["kid"]} return jwt.encode( - payload, credentials["privateKey"], algorithm="RS512", headers=headers + payload, credentials["privateKey"], algorithm="RS512", headers=headers # nosemgrep "privateKey" is just the key for the dictionary ) def _request_access_token(self, jwt_token: str) -> str: