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

[WIP] Metadata service #69

Merged
merged 4 commits into from
May 21, 2020
Merged

[WIP] Metadata service #69

merged 4 commits into from
May 21, 2020

Conversation

tpazderka
Copy link
Contributor

No description provided.

django_fido/models.py Outdated Show resolved Hide resolved
django_fido/models.py Outdated Show resolved Hide resolved
django_fido/models.py Outdated Show resolved Hide resolved
django_fido/settings.py Outdated Show resolved Hide resolved
django_fido/models.py Outdated Show resolved Hide resolved
django_fido/models.py Outdated Show resolved Hide resolved
django_fido/models.py Outdated Show resolved Hide resolved
@tpazderka
Copy link
Contributor Author

Reorganized and updated according to comments.

Two things belonging to this PR are still missing:

  1. Tests (and error handling) for the command
  2. MDS integrity check via provided hash

There is also a missing implementation for UAF devices, but I do not have one to test the correct behavior and attestation format... :(

@tpazderka tpazderka force-pushed the metadata_service branch 2 times, most recently from 5535ad0 to 96c5bc5 Compare May 18, 2020 13:58
@tpazderka tpazderka requested review from ziima and stinovlas May 18, 2020 13:58
django_fido/models.py Show resolved Hide resolved
django_fido/models.py Outdated Show resolved Hide resolved
django_fido/models.py Outdated Show resolved Hide resolved
@tpazderka
Copy link
Contributor Author

Updated

django_fido/constants.py Show resolved Hide resolved
django_fido/models.py Outdated Show resolved Hide resolved
@tpazderka
Copy link
Contributor Author

API extended.

django_fido/models.py Outdated Show resolved Hide resolved
django_fido/models.py Outdated Show resolved Hide resolved
django_fido/models.py Outdated Show resolved Hide resolved
@tpazderka
Copy link
Contributor Author

Done

@codecov-commenter
Copy link

codecov-commenter commented May 20, 2020

Codecov Report

Merging #69 into master will increase coverage by 0.40%.
The diff coverage is 99.43%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #69      +/-   ##
==========================================
+ Coverage   97.77%   98.17%   +0.40%     
==========================================
  Files          34       38       +4     
  Lines        1079     1426     +347     
  Branches       47       64      +17     
==========================================
+ Hits         1055     1400     +345     
- Misses         20       21       +1     
- Partials        4        5       +1     
Impacted Files Coverage Δ
django_fido/models.py 98.05% <96.22%> (-1.95%) ⬇️
django_fido/constants.py 100.00% <100.00%> (ø)
...gement/commands/download_authenticator_metadata.py 100.00% <100.00%> (ø)
...ngo_fido/migrations/0014_authenticator_metadata.py 100.00% <100.00%> (ø)
django_fido/settings.py 100.00% <100.00%> (ø)
django_fido/tests/data.py 100.00% <100.00%> (ø)
...fido/tests/test_download_authenticator_metadata.py 100.00% <100.00%> (ø)
django_fido/tests/test_models.py 100.00% <100.00%> (ø)
django_fido/tests/test_settings.py 100.00% <100.00%> (ø)
... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3da0554...dd6758b. Read the comment docs.

@tpazderka tpazderka requested a review from ziima May 21, 2020 12:47
django_fido/settings.py Show resolved Hide resolved
@tpazderka tpazderka merged commit d426b4b into master May 21, 2020
@tpazderka tpazderka deleted the metadata_service branch May 21, 2020 15:00
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.

None yet

4 participants