You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 13, 2024. It is now read-only.
Sign HTTP requests with secure signatures according to the IETF HTTP Signatures specification (`Draft 8`_). This is a fork of the original module_ to fully support both RSA and HMAC schemes as well as unit test both schemes to prove they work. It's being used in production and is actively-developed.
10
+
Sign HTTP requests with secure signatures according to the IETF HTTP Signatures specification (`Draft 12`_). This is a fork of the original module_ to fully support both RSA and HMAC schemes as well as unit test both schemes to prove they work. It's being used in production and is actively-developed.
11
11
12
12
See the original project_, original Python module_, original spec_, and `current IETF draft`_ for more details on the signing scheme.
``secret``, in the case of an RSA signature, is a string containing private RSA pem. In the case of HMAC, it is a secret password.
91
-
``algorithm`` is one of the six allowed signatures: ``rsa-sha1``, ``rsa-sha256``, ``rsa-sha512``, ``hmac-sha1``, ``hmac-sha256``,
91
+
``algorithm``should be set to 'hs2019'the other six signatures are now deprecated: ``rsa-sha1``, ``rsa-sha256``, ``rsa-sha512``, ``hmac-sha1``, ``hmac-sha256``,
92
92
``hmac-sha512``.
93
+
``sign_algorithm`` The digital signature algorithm derived from``keyId``. Currently supported algorithms: ``httpsig.PSS``
``key_id`` is the label by which the server system knows your RSA signature or password.
100
+
``key_id``is the label by which the server system knows your secret.
100
101
``headers``is the list of HTTP headers that are concatenated and used as signing objects. By default it is the specification's minimum, the ``Date`` HTTP header.
101
102
``secret``and``algorithm`` are as above.
103
+
``sign_algorithm`` The digital signature algorithm derived from``keyId``. Currently supported algorithms: ``httpsig.PSS``
0 commit comments