Skip to content

A set of unrelated fixes and features (merge via rebase merge) #89

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

Merged
merged 3 commits into from
May 22, 2025

Conversation

Toreno96
Copy link
Contributor

No description provided.

Toreno96 added 3 commits May 22, 2025 20:40
As defined in

> It contains an account name, which is a URI-encoded string,
> **optionally** prefixed by an issuer string identifying the provider
> or service managing that account.
> —https://github.com/google/google-authenticator/wiki/Key-Uri-Format#label

So it was a bug that the application assumed the label always contains
issuer.

It led to an unexpected error when trying to add TOTP for
<https://sentry.io>.
We have a wrapper function to deal with that, but for some reason, it
wasn't used in a few places. This commit fixes that.
It was very inconvenient and error-prone to migrate `onetimepass` to
another device without having such command: it required to manually copy
the database, and manually insert the master key into the another
device's keychain (!).

Implementation introduced in this commit is rather crude, but works good
enough as an initial version.
@Toreno96 Toreno96 merged commit a3ff80f into master May 22, 2025
2 checks passed
@Toreno96 Toreno96 deleted the fixes-and-features branch May 22, 2025 18:51
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.

1 participant