Skip to content

Commit

Permalink
Allow extensions to be empty in GetInfo (fix #226)
Browse files Browse the repository at this point in the history
  • Loading branch information
dainnilsson committed Aug 8, 2024
1 parent e77662a commit 95c6577
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fido2/ctap2/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ class Info(_CborDataObject):
"""

versions: List[str]
extensions: List[str]
aaguid: Aaguid
extensions: List[str] = field(default_factory=list)
aaguid: Aaguid = Aaguid.NONE
options: Dict[str, bool] = field(default_factory=dict)
max_msg_size: int = 1024
pin_uv_protocols: List[int] = field(default_factory=list)
Expand Down

0 comments on commit 95c6577

Please sign in to comment.