Comments (7)
You can unset the access token in test env. The worker will start but won't try to download anything.
There's more to do regarding metadata management, such as allowing to enable (concurrently?) other sources for older hardware or hardware that has not published (possibly yet) its metadata. Will be for the next version probably
from wax.
Yeah, I was surprised my new yubikey wasn't there, then I read the dev page. I didn't try to integrate it though... I opened this issue when I was running #7. I guess it's only a problem if you're downloading from other sources that aren't gated by the access token.
from wax.
It is also possible that metadata of an authenticator (key, laptop...) will not be published on this service, which is why I need to think of a way to allow additional metadata (file?).
However since it's a FIDO2/WebAuthn library I'm not comfortable with adding the FIDO1 metadata service. I'll wait a bit for an answer from the FIDO Alliance.
from wax.
Tests actually use some metadata, so it'll be resolved when manual import of metadata will be implemented.
from wax.
I'd also like a way to disable the metadata update for tests. Every time I run tests I get the metadata error, which I'd love to suppress since this is what I want.
13:57:49.310 [warn] No access token configured for FIDO metadata, metadata not updated. Some attestation formats and types won't be supported
from wax.
I'm currently working on a new version of Wax (0.2.0) which will be tested using the official test tools and those tests will be removed completely. I'll not forget to disable the metadata service. I could actually also make a separate library for updating metadata. I hope to make it available within 2-3 months.
from wax.
I'm closing this bug without resolution. Indeed, some attestation formats require access to the metadata service (even if it's empty because no access token has been configured), and the tests are actually not the correct way to test the library. I'm considering removing them, but it's nonetheless a convenient way to quickly check there's no problem with the code.
Indeed there are a lot of problems with these tests: some certificates will expire sooner or later for example. The correct way would be to have a separate testing suite with its own metadata, but that's quite a huge work. Meanwhile, there's the official FIDO2 foundation test suite (which is not comprehensive in my opinion) and Wax 0.2.0 passes all the 165 tests.
If you really need the metadata or warn message to disappear, reopen explaining why it's so much needed.
from wax.
Related Issues (20)
- Remove unused asn1ex dependency HOT 1
- Wax doesn't handle failures elegantly HOT 3
- Implement CRL check when verifying TOC metadata HOT 2
- incorrect padding crashing Wax on app start HOT 2
- What is the 0.2.0 branch for HOT 2
- Publish on hex.pm HOT 11
- Remove custom cert verification in tpm routine HOT 1
- FunctionClauseError no function clause matching in Wax.Metadata.Statement.user_verification_method/1 HOT 6
- Remove Tesla client HOT 4
- Can we use this to migrate existing U2F keys? HOT 7
- "Authenticator metadata was not found" error HOT 24
- Wax CoseKey verification failing HOT 8
- (UndefinedFunctionError) function :asn1ct.compile/2 is undefined ( HOT 14
- :algs_mismatch during attestation verification for Android Safetynet HOT 10
- Incorrect :type values set for Wax.AttestationVerificationErrors HOT 3
- Check COSE key credential alg matches alg provided by metadata
- Bad Certificate Error HOT 1
- Should challenge.issued_at use unix time? HOT 5
- Allow adding custom non-MDSv2 metadata HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wax.