Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

FIDO Server conformance tests now passing 100% #38

Merged
merged 25 commits into from
May 8, 2019
Merged

FIDO Server conformance tests now passing 100% #38

merged 25 commits into from
May 8, 2019

Conversation

aseigler
Copy link
Contributor

@aseigler aseigler commented May 1, 2019

In order to pass the metadata tests and a small number of non-metadata tests, you must press the "DOWNLOAD SERVER METADATA" button in the conformance client and extract the resulting archive file into the folder referenced by this line: https://github.com/duo-labs/webauthn.io/blob/2c2c93545aeec2f9ce76c66834c3de4d2ec4adda/server/fido-conformance.go#L70

If you wish to use production metadata, you must obtain an access token from https://mds2.fidoalliance.org/tokens/ and put it in the environment variable referenced by this line: https://github.com/duo-labs/webauthn.io/blob/2c2c93545aeec2f9ce76c66834c3de4d2ec4adda/server/server.go#L109

If you wish to use custom metadata, for example https://github.com/solokeys/solo/blob/master/metadata/Solo-FIDO2-CTAP2-Authenticator.json, you would store that metadata file in a folder and load It like this line: https://github.com/duo-labs/webauthn.io/blob/2c2c93545aeec2f9ce76c66834c3de4d2ec4adda/server/server.go#L158

* Moved COSE related things to their own package

* move assertion to cose verify

* Server-ServerPublicKeyCredentialCreationOptions-Req-1

* Update login.go

* Fix packed attestation signature verification and added ServerResponse structure

* Conformance testing fixes for MakeCredential

* Conformance tests nearly complete

* Initial metadata layout

* Metadata progress

* Further progress on metadata

* Resolving conflict

* Production and conformance metadata now load

* Move SafetyNet to jwt-go and add sanity check for timestamp

* Certificate checks on metadata TOC

* Restrict timestamp check in safetynet to conformance only

* Don't return safetynet x5c
@aseigler
Copy link
Contributor Author

aseigler commented May 1, 2019

IMG_20190501_172116

@nicksteele nicksteele self-assigned this May 6, 2019
@nicksteele
Copy link
Contributor

seeing what could be a unicode error in the test results here, gonna pull down the branch and see what's up

@nicksteele
Copy link
Contributor

Great stuff

@nicksteele nicksteele merged commit aa748d7 into duo-labs:master May 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants