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: make TOTP issuer field optional #240

Merged
merged 2 commits into from
Sep 9, 2024

Conversation

tadic-luka
Copy link
Contributor

@tadic-luka tadic-luka commented Sep 8, 2024

Both per:

issuer parameter in otpauth:// URI scheme is optional
even though it's highly recommended to be present.

This parameter was actually optional in this repo initially
(in 0089160)
but was changed to non optional.
I'm changing it back to optional.

BREAKING CHANGE: makes issuer parameter Option instead of String

Both per:
- google authenticator wiki: https://github.com/google/google-authenticator/wiki/Key-Uri-Format#issuer
- yubikey website: https://docs.yubico.com/yesdk/users-manual/application-oath/uri-string-format.html

`issuer` parameter in `otpauth://` URI scheme is optional, even though
it's highly recommended to be present.

This parameter was actually optional in this repo initially, but was
changed to non optional. I'm changing it back to optional.
@tadic-luka
Copy link
Contributor Author

@louib I can see that the commit message CI action failed and I also saw that you updated the config to allow lines with > 100 chars.

How do I re-run the workflow? Do I need to update the commit somehow?

@louib
Copy link
Collaborator

louib commented Sep 8, 2024

@tadic-luka once my PR is merged, you can simply rebase your PR and the check should pass.

@sseemayer sseemayer merged commit fca1f20 into sseemayer:master Sep 9, 2024
7 checks passed
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.

3 participants