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

fix: bump pquerna/otp to fix TOTP URL encoding #2951

Merged
merged 2 commits into from Dec 17, 2022
Merged

Conversation

kszafran
Copy link
Contributor

v1.4.0 fixes generating TOTP URLs. Query params now use %20 instead of + to encode spaces. + was not correctly interpreted by some Android authenticator apps, and would show up in the issuer name, e.g. "My+Issuer" instead of "My Issuer".

Original issue here: pquerna/otp#68

Related issue(s)

Checklist

  • I have read the contributing guidelines.
  • I have referenced an issue containing the design document if my change
    introduces a new feature.
  • I am following the
    contributing code guidelines.
  • I have read the security policy.
  • I confirm that this pull request does not address a security
    vulnerability. If this pull request addresses a security vulnerability, I
    confirm that I got the approval (please contact
    security@ory.sh) from the maintainers to push
    the changes.
  • I have added tests that prove my fix is effective or that my feature
    works.
  • I have added or changed the documentation.

Further Comments

v1.4.0 fixes generating TOTP URLs. Query params now use %20 instead of +
to encode spaces. + was not correctly interpreted by some Android
authenticator apps, and would show up in the issuer name, e.g. "My+Issuer"
instead of "My Issuer".
@kelkarajay kelkarajay changed the title Update pquerna/otp to fix TOTP URL encoding fix: bump pquerna/otp to fix TOTP URL encoding Dec 14, 2022
@codecov
Copy link

codecov bot commented Dec 17, 2022

Codecov Report

Merging #2951 (561e568) into master (561e568) will not change coverage.
The diff coverage is n/a.

❗ Current head 561e568 differs from pull request most recent head 9315065. Consider uploading reports for the commit 9315065 to get more accurate results

@@           Coverage Diff           @@
##           master    #2951   +/-   ##
=======================================
  Coverage   76.25%   76.25%           
=======================================
  Files         309      309           
  Lines       19046    19046           
=======================================
  Hits        14523    14523           
  Misses       3401     3401           
  Partials     1122     1122           

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

@aeneasr aeneasr merged commit 7248636 into ory:master Dec 17, 2022
@kszafran kszafran deleted the update-otp branch April 13, 2023 08:16
peturgeorgievv pushed a commit to senteca/kratos-fork that referenced this pull request Jun 30, 2023
v1.4.0 fixes generating TOTP URLs. Query params now use %20 instead of +
to encode spaces. + was not correctly interpreted by some Android
authenticator apps, and would show up in the issuer name, e.g. "My+Issuer"
instead of "My Issuer".

Co-authored-by: hackerman <3372410+aeneasr@users.noreply.github.com>
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

2 participants