load the right kind of key!

This commit is contained in:
Jean-Paul Calderone 2023-01-06 21:00:04 -05:00
parent c9e23dea13
commit 85234b07a0

View File

@ -72,7 +72,7 @@ def create_signing_keypair_from_string(private_key_der: bytes) -> tuple[PrivateK
:returns: 2-tuple of (private_key, public_key)
"""
_load = partial(
load_der_public_key,
load_der_private_key,
private_key_der,
password=None,
backend=default_backend(),