Skip to content

Commit

Permalink
Fix ambiguity in OATH label/name.
Browse files Browse the repository at this point in the history
  • Loading branch information
dainnilsson committed Dec 20, 2023
1 parent 1f09eb1 commit 724231d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yubikit/oath.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def _parse_cred_id(cred_id, oath_type):
else:
return None, data, DEFAULT_PERIOD
else:
if ":" in data:
if ":" in data and data[0] != ":":
issuer, data = data.split(":", 1)
else:
issuer = None
Expand Down

0 comments on commit 724231d

Please sign in to comment.