Skip to content
This repository was archived by the owner on Apr 13, 2024. It is now read-only.

Commit bd001d8

Browse files
committed
Add sign_algorithm to HeaderSigner docstring
1 parent c2654c7 commit bd001d8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

httpsig/sign.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@ class HeaderSigner(Signer):
100100
to use
101101
:arg secret: a PEM-encoded RSA private key or an HMAC secret (must
102102
match the algorithm)
103-
:arg algorithm: one of the six specified algorithms
103+
:arg algorithm: one of the seven specified algorithms
104+
:arg sign_algorithm: required for 'hs2019' algorithm. Sign algorithm for the secret
104105
:arg headers: a list of http headers to be included in the signing
105106
string, defaulting to ['date'].
106107
:arg sign_header: header used to include signature, defaulting to

0 commit comments

Comments
 (0)