Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validator for extensions #108

Merged
merged 12 commits into from
Sep 9, 2022
Merged

Conversation

HSMDBC
Copy link
Contributor

@HSMDBC HSMDBC commented Sep 6, 2022

Fixed error: "internal audit failed: webAuthnExtensions was not validated"

Added missing validator for auditing extension.

@HSMDBC
Copy link
Contributor Author

HSMDBC commented Sep 6, 2022

Can you tell me why this pull request lists the "old" commits that were already merged by the previous pull request?

@Hexagon
Copy link
Member

Hexagon commented Sep 7, 2022

Not sure, but the simplest way to get a clean PR is to sync "your" master with webauthn-open-source/fido2-lib, create a new branch (per PR) and work in that branch. Never commit to master, just keep it in sync with webauthn-open-source/fido2-lib, and use that as a base for your feature branches.

@HSMDBC
Copy link
Contributor Author

HSMDBC commented Sep 8, 2022

@Hexagon thanks, i will give it a try next time. (btw, I've synced the master. But it really doesn't seem like a good idea to commit directly to the master)

@codecov-commenter
Copy link

codecov-commenter commented Sep 8, 2022

Codecov Report

Merging #108 (d938d5a) into master (f6d237d) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #108      +/-   ##
==========================================
+ Coverage   92.90%   92.93%   +0.02%     
==========================================
  Files          16       16              
  Lines        5963     5986      +23     
==========================================
+ Hits         5540     5563      +23     
  Misses        423      423              
Impacted Files Coverage Δ
lib/response.js 97.56% <100.00%> (+0.01%) ⬆️
lib/validator.js 92.29% <100.00%> (+0.23%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@Hexagon
Copy link
Member

Hexagon commented Sep 8, 2022

Try having a look at why coverage is decreasing, and bump version to 3.3.2. Other than that it looks great 👍

@HSMDBC HSMDBC marked this pull request as draft September 8, 2022 10:51
- fixed extensions validator
- added tests for extensions validation
@HSMDBC HSMDBC marked this pull request as ready for review September 9, 2022 07:41
@HSMDBC
Copy link
Contributor Author

HSMDBC commented Sep 9, 2022

@JamesCullum can you check that please?

@Hexagon
Copy link
Member

Hexagon commented Sep 9, 2022

LGTM, original post by Codecov is updated with a positive result.

@Hexagon Hexagon merged commit 6fe8f54 into webauthn-open-source:master Sep 9, 2022
@JamesCullum
Copy link
Member

JamesCullum commented Sep 9, 2022

Thanks a lot for the great PR, quick fix, good test coverage

Hexagon already reviewed and merged - thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants