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

4024/passkeys #4134

Draft
wants to merge 49 commits into
base: master
Choose a base branch
from
Draft

4024/passkeys #4134

wants to merge 49 commits into from

Conversation

nilsbehlen
Copy link
Member

No description provided.

@pep8speaks
Copy link

pep8speaks commented Oct 29, 2024

Hello @nilsbehlen! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 1558:49: E231 missing whitespace after ':'

Comment last updated at 2025-01-15 11:37:38 UTC

privacyidea/lib/token.py Dismissed Show dismissed Hide dismissed
privacyidea/lib/token.py Dismissed Show dismissed Hide dismissed
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit

codespell

tests/test_api_passkey.py|217| assertIn ==> asserting, assert in, assertion
tests/test_api_passkey.py|228| assertIn ==> asserting, assert in, assertion
tests/test_lib_tokens_passkeytoken.py|82| assertIn ==> asserting, assert in, assertion
tests/test_lib_tokens_passkeytoken.py|83| assertIn ==> asserting, assert in, assertion
tests/test_lib_tokens_passkeytoken.py|84| assertIn ==> asserting, assert in, assertion
tests/test_lib_tokens_passkeytoken.py|114| assertIn ==> asserting, assert in, assertion
tests/test_lib_tokens_passkeytoken.py|115| assertIn ==> asserting, assert in, assertion
tests/test_lib_tokens_passkeytoken.py|116| assertIn ==> asserting, assert in, assertion
tests/test_lib_tokens_passkeytoken.py|118| assertIn ==> asserting, assert in, assertion
tests/test_lib_tokens_passkeytoken.py|121| assertIn ==> asserting, assert in, assertion
tests/test_lib_tokens_passkeytoken.py|123| assertIn ==> asserting, assert in, assertion
tests/test_lib_tokens_passkeytoken.py|125| assertIn ==> asserting, assert in, assertion
tests/test_lib_tokens_passkeytoken.py|126| assertIn ==> asserting, assert in, assertion
tests/test_lib_tokens_passkeytoken.py|128| assertIn ==> asserting, assert in, assertion
tests/test_lib_tokens_passkeytoken.py|147| assertIn ==> asserting, assert in, assertion
tests/test_lib_tokens_passkeytoken.py|148| assertIn ==> asserting, assert in, assertion
tests/test_lib_tokens_passkeytoken.py|155| assertIn ==> asserting, assert in, assertion
tests/test_lib_tokens_passkeytoken.py|203| assertIn ==> asserting, assert in, assertion
tests/test_lib_tokens_passkeytoken.py|207| assertIn ==> asserting, assert in, assertion
tests/test_lib_tokens_passkeytoken.py|235| assertIn ==> asserting, assert in, assertion
tests/test_lib_tokens_passkeytoken.py|242| assertIn ==> asserting, assert in, assertion
tests/test_lib_tokens_passkeytoken.py|255| assertIn ==> asserting, assert in, assertion
tests/test_lib_tokens_passkeytoken.py|270| assertIn ==> asserting, assert in, assertion

tests/passkeytestbase.py Outdated Show resolved Hide resolved
tests/passkeytestbase.py Outdated Show resolved Hide resolved
tests/passkeytestbase.py Outdated Show resolved Hide resolved
tests/passkeytestbase.py Outdated Show resolved Hide resolved
tests/passkeytestbase.py Outdated Show resolved Hide resolved
tests/test_api_passkey.py Show resolved Hide resolved
tests/test_api_passkey.py Show resolved Hide resolved
tests/test_api_passkey.py Show resolved Hide resolved
tests/test_api_passkey.py Show resolved Hide resolved
tests/test_api_passkey.py Show resolved Hide resolved
tests/test_api_passkey.py Show resolved Hide resolved
tests/test_api_passkey.py Show resolved Hide resolved
tests/test_lib_tokens_passkeytoken.py Show resolved Hide resolved
tests/test_lib_tokens_passkeytoken.py Show resolved Hide resolved
tests/test_lib_tokens_passkeytoken.py Show resolved Hide resolved
tests/test_lib_tokens_passkeytoken.py Show resolved Hide resolved
tests/test_lib_tokens_passkeytoken.py Show resolved Hide resolved
tests/test_lib_tokens_passkeytoken.py Show resolved Hide resolved
tests/test_lib_tokens_passkeytoken.py Show resolved Hide resolved
tests/test_lib_tokens_passkeytoken.py Show resolved Hide resolved
@nilsbehlen nilsbehlen linked an issue Dec 5, 2024 that may be closed by this pull request
11 tasks
privacyidea/lib/applications/offline.py Dismissed Show dismissed Hide dismissed
privacyidea/lib/applications/offline.py Fixed Show fixed Hide fixed
privacyidea/lib/applications/offline.py Dismissed Show dismissed Hide dismissed
Copy link

codecov bot commented Jan 9, 2025

Codecov Report

Attention: Patch coverage is 96.52248% with 41 lines in your changes missing coverage. Please review.

Project coverage is 92.40%. Comparing base (7b8f5e1) to head (7569d07).
Report is 5 commits behind head on master.

Files with missing lines Patch % Lines
privacyidea/api/validate.py 93.54% 8 Missing ⚠️
privacyidea/lib/token.py 96.47% 8 Missing ⚠️
privacyidea/api/lib/postpolicy.py 95.32% 5 Missing ⚠️
privacyidea/api/lib/utils.py 86.11% 5 Missing ⚠️
privacyidea/lib/event.py 86.84% 5 Missing ⚠️
privacyidea/api/token.py 80.95% 4 Missing ⚠️
privacyidea/lib/tokens/webauthntoken.py 96.49% 2 Missing ⚠️
privacyidea/lib/applications/base.py 66.66% 1 Missing ⚠️
privacyidea/lib/fido2/util.py 75.00% 1 Missing ⚠️
privacyidea/lib/utils/__init__.py 96.29% 1 Missing ⚠️
... and 1 more
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4134       /-   ##
==========================================
- Coverage   92.40%   92.40%   -0.01%     
==========================================
  Files         205      210        5     
  Lines       27447    27854      407     
==========================================
  Hits        25363    25738      375     
- Misses       2084     2116       32     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

privacyidea/lib/applications/offline.py Dismissed Show dismissed Hide dismissed
privacyidea/lib/token.py Dismissed Show dismissed Hide dismissed
if no machine name is found in the user agent, the offline data will not be in the response and a refill is not possible either
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.

Passkeys
2 participants