Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions jose.py
Original file line number Diff line number Diff line change
Expand Up @@ -460,9 +460,9 @@ def sign(claims, jwk, add_header=None, alg='HS256'):
:class:`~jose.JWS`.
:param jwk: A `dict` representing the JWK to be used for signing of the
:class:`~jose.JWS`. This parameter is algorithm-specific.
:parameter add_header: Additional items to be added to the header.
:param add_header: Additional items to be added to the header.
Additional headers *will* be authenticated.
:parameter alg: The algorithm to use to produce the signature.
:param alg: The algorithm to use to produce the signature.
:rtype: :class:`~jose.JWS`
"""
(hash_fn, _), mod = JWA[alg]
Expand Down