Skip to content
Snippets Groups Projects
Commit aac0b6fe authored by David Schwarzmann's avatar David Schwarzmann
Browse files

Update set-jwkset-gen.py

parent 291da207
No related tags found
1 merge request!1Update set-jwkset-gen.py
......@@ -40,8 +40,9 @@ def create_jwk(output_dir):
privateKey_unwrapkey = jwk.JWK.from_json(privateKey_unwrapkey_str)
#ergänze Public Key JSON um x5c Element
publicKey_verify["x5c"] = [base64.urlsafe_b64encode('dummy'.encode('UTF-8')).decode('utf-8').rstrip("=")]
publicKey_wrapkey["x5c"] = [base64.urlsafe_b64encode('dummy'.encode('UTF-8')).decode('utf-8').rstrip("=")]
# Auskommentiert, da dem Schlüssel aktuell kein Zertifikat zugrunde liegt und der Dummy Wert fehlerhaft ist bzw. bei der Verarbeitung nicht akzeptiert wird
# publicKey_verify["x5c"] = [base64.urlsafe_b64encode('dummy'.encode('UTF-8')).decode('utf-8').rstrip("=")]
# publicKey_wrapkey["x5c"] = [base64.urlsafe_b64encode('dummy'.encode('UTF-8')).decode('utf-8').rstrip("=")]
output_dir.mkdir(parents=True, exist_ok=True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment