Skip to content

Commit

Permalink
fix: TA storage
Browse files Browse the repository at this point in the history
  • Loading branch information
peppelinux committed Aug 22, 2023
1 parent 8895f4c commit 145f511
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pyeudiw/satosa/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ def update_trust_anchors(self):
message=f"{ta} update failed: {e}"
)
)

# TODO: print all the updated TA taken from the storage

@property
def federation_jwk(self):
return tuple(self.federations_jwks_by_kids.values())[0]
Expand Down
2 changes: 1 addition & 1 deletion pyeudiw/trust/trust_anchors.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ def update_trust_anchors_ecs(trust_anchors: list, db: DBEngine, httpc_params: di

db.add_trust_anchor(
entity_id=ec.sub,
entity_configuration=jwt,
entity_configuration=ec.payload,
exp=ec.exp
)

0 comments on commit 145f511

Please sign in to comment.