Skip to content

Commit

Permalink
Fix FIPS pipeline for new certs.
Browse files Browse the repository at this point in the history
Fixes #SECCERTS-1GT.
  • Loading branch information
J08nY committed Jun 20, 2024
1 parent 394755d commit 8dc06f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sec_certs/sample/fips.py
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ def algorithm_numbers(self) -> set[str]:
def alg_to_number(alg: str) -> str:
return "".join([x for x in alg.split("#")[1] if x.isdigit()])

return {alg_to_number(x) for x in self.algorithms}
return {alg_to_number(x) for x in self.algorithms if "#" in x}

@property
def dgst(self) -> str:
Expand Down

0 comments on commit 8dc06f4

Please sign in to comment.