pyauth / pyotp

Python One-Time Password Library
https://pyauth.github.io/pyotp/
Other
2.91k stars 319 forks source link

Add `parse_uri()` support for Steam TOTP #153

Closed einfachIrgendwer0815 closed 12 months ago

einfachIrgendwer0815 commented 1 year ago

otpauth:// URIs with the parameter encoder=steam are parsed as Steam TOTP. I have used the example URI in this comment as a basis.

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.09 :tada:

Comparison is base (55f69ba) 97.10% compared to head (d36b882) 97.19%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #153 +/- ## =========================================== + Coverage 97.10% 97.19% +0.09% =========================================== Files 8 8 Lines 207 214 +7 Branches 42 45 +3 =========================================== + Hits 201 208 +7 Misses 4 4 Partials 2 2 ``` | [Impacted Files](https://app.codecov.io/gh/pyauth/pyotp/pull/153?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | Coverage Δ | | |---|---|---| | [src/pyotp/\_\_init\_\_.py](https://app.codecov.io/gh/pyauth/pyotp/pull/153?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL3B5b3RwL19faW5pdF9fLnB5) | `100.00% <100.00%> (ø)` | | | [src/pyotp/contrib/steam.py](https://app.codecov.io/gh/pyauth/pyotp/pull/153?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL3B5b3RwL2NvbnRyaWIvc3RlYW0ucHk=) | `100.00% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.