CZ-NIC / django-fido

Django application for FIDO protocol U2F
GNU General Public License v3.0
28 stars 11 forks source link

Allow specification of user_verification level #67

Closed MathisRosenhauer closed 4 years ago

MathisRosenhauer commented 4 years ago

Chrome always asks me for the PIV PIN of my YubiKey 5 when authenticating or registering. This allows to set user_verification=UserVerificationRequirement.DISCOURAGED to authenticate by touch only.

MathisRosenhauer commented 4 years ago

Let me fix the problems with older fido2

codecov-io commented 4 years ago

Codecov Report

Merging #67 into master will increase coverage by 0.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #67   +/-   ##
=======================================
  Coverage   97.75%   97.75%           
=======================================
  Files          34       34           
  Lines        1067     1069    +2     
  Branches       46       46           
=======================================
+ Hits         1043     1045    +2     
  Misses         20       20           
  Partials        4        4           
Impacted Files Coverage Δ
django_fido/views.py 98.90% <100.00%> (+0.01%) :arrow_up:

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 7112645...504e9c4. Read the comment docs.

MathisRosenhauer commented 4 years ago

Squashed the commits.