Skip to content

Commit

Permalink
Finalize jwk refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Davis committed Jun 23, 2016
1 parent ad8f5c3 commit 67e3e5e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions jose/jws.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,6 @@ def _sign_header_and_claims(encoded_header, encoded_claims, algorithm, key_data)
try:
key = jwk.construct(key_data, algorithm)
signature = key.sign(signing_input)

# alg_obj = get_algorithm_object(algorithm)
# key = alg_obj.prepare_key(key)
# signature = alg_obj.sign(signing_input, key)
except Exception as e:
raise JWSError(e)

Expand Down

0 comments on commit 67e3e5e

Please sign in to comment.