duo-labs / py_webauthn

Pythonic WebAuthn 🐍
https://duo-labs.github.io/py_webauthn
BSD 3-Clause "New" or "Revised" License
856 stars 171 forks source link

restore-pydantic #117

Closed MasterKale closed 2 years ago

MasterKale commented 2 years ago

After extensive conversation in #113 I decided to revert all of the attrs+cattrs work made in PR #111. This PR restores use of Pydantic, and introduces a new custom bytes subclass that enables support for bytes-like values to prevent a regression of the fix for #110. There should be no change in API functionality.

I also updated all dependencies to the latest available versions.