From 434e68f87e32038c59ab201fc1c5ddbc21d3540b Mon Sep 17 00:00:00 2001 From: Andrey Kislyuk Date: Tue, 26 Apr 2022 15:18:24 -0700 Subject: [PATCH] RSA-PSS now supported by cryptography --- README.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.rst b/README.rst index f0fb1dc..74681da 100644 --- a/README.rst +++ b/README.rst @@ -84,8 +84,7 @@ Asymmetric key algorithms ~~~~~~~~~~~~~~~~~~~~~~~~~ To sign or verify messages with an asymmetric key algorithm, set the ``signature_algorithm`` keyword argument to ``algorithms.ED25519``, ``algorithms.ECDSA_P256_SHA256``, ``algorithms.RSA_V1_5_SHA256``, or -``algorithms.RSA_PSS_SHA512``. Note that signing with rsa-pss-sha512 is not currently supported due to a limitation of -the cryptography library. +``algorithms.RSA_PSS_SHA512``. For asymmetric key algorithms, you can supply the private key as the ``key`` parameter to the ``HTTPSignatureAuth()`` constructor as bytes in the PEM format, or configure the key resolver as follows: