This is a guide on migration from github.com/duo-labs/webauthn
. As discussed in this issue
this library is tentatively the natural successor to the amazing github.com/duo-labs/webauthn
.
There are several differences between the upstream library and this one (items marked with a strike-through indicate they are also solved/merged in the upstream fork now). We will aim to keep this list updated:
- There are minimal breaking changes between this library and the upstream one. Identified breaking changes exist in the
following commits:
Change of protocol.ResidentKeyUnrequired() to protocol.ResidentKeyNotRequired() 5ad54f8.This method has been restored as a deprecated function making the migration path clearer.
- This library is versioned with branches per minor version for back-porting fixes.
- This library releases tagged versions.
- This library has a smaller dependency tree because of c561447.
- The following upstream issues have been resolved:
- The following pull requests in the upstream repository are merged in one form or another:
Pull Request #132 was merged in 401a3f6.Pull Request #131 was merged in 509e08f (cherry-pick squashed).- Pull Request #130 was merged in 729227d (v0.2.x) and 93a942a (v0.1.x).
Pull Request #122 was merged in 2bbb113.Pull Request #116 was (effectively) merged in d64d2ba.
- The following additional features have been added:
- The following misc fixes have been merged:
At the present time the only adjustment that should need to be made is as follows:
- Follow the Quickstart.
- Replace all instances of
github.com/duo-labs/webauthn
withgithub.aaakk.us.kg/go-webauthn/webauthn
.
If you believe this is an inaccurate guide please create a bug report or start a discussion.