Skip to content

Commit

Permalink
fix: update trust anchor tools
Browse files Browse the repository at this point in the history
  • Loading branch information
peppelinux committed Aug 22, 2023
1 parent f25f448 commit df09b60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyeudiw/trust/trust_anchors.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ def update_trust_anchors_ecs(trust_anchors: list, db: DBEngine, httpc_params: di
)

for jwt in ta_ecs:
if isinstance(jws, bytes):
jws = jws.decode()
if isinstance(jwt, bytes):
jwt = jwt.decode()
ec = EntityStatement(jwt, httpc_params=httpc_params)
if not ec.validate_by_itself():
# TODO: log warning
Expand Down

0 comments on commit df09b60

Please sign in to comment.