Skip to content
This repository has been archived by the owner on May 27, 2019. It is now read-only.

Allow using a bare TOTP token instead of an otpauth:// URL #226

Merged
merged 1 commit into from
Mar 21, 2018

Conversation

erayd
Copy link
Contributor

@erayd erayd commented Mar 20, 2018

If an otpauth:// URL is not present, but totp: or totp-secret: is available, then use that with the default settings for generating an OTP code.

@maximbaz
Copy link
Member

maximbaz commented Mar 20, 2018

I don't use OTP via pass so I can't really test this, but the change looks all right to me.

Let me ping @qbit who implemented the OTP support, if he doesn't have objections until the next release is about to be published, I'll merge.

@qbit
Copy link
Contributor

qbit commented Mar 21, 2018

This is more in line with how it's done in gopass. Tests fine for me.

@maximbaz maximbaz merged commit 31a3cfc into browserpass:master Mar 21, 2018
@erayd erayd deleted the otp-bare-token branch March 27, 2018 09:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants