Hi,
I am the maintainer of pass-extension-totp which uses plain openssl to implement standard TOTP as well as Steam's custom algorithm. I would like to port my work to browserpass for it to become multi-plattform.
I see a number of benefits for browserpass and its users by doing this:
- Independence of outdated dependency "otplib", which is abandonware by now
- Support for Steam TOTP
- No changes to existing functionality or behavior
To get started, I had a look through your code and via #229 found my way to background.js as well as helper.js. What I still need info on is the following two questions:
- Is it possible to pass the name / path of the pass-file into the makeTOTP function? The reason for this is that my algorith distinguishes "normal" TOTP and "steam" TOTP by path. It generates normal tokens by default unless the pass-file is located in a steam sub-folder, such as
steam/accountname.gpg
- So far I was unable to locate where exactly you extract the *otp-secret-line from the pass-file. According to your readme, you already support "totp" and "otpauth" as keys for matching. I would like to add "totp_secret" as a recognized key to this list.
Tagging @erayd as the original implementer of browserpass' OTP support in hopes they see this.
Kind regards,
Robert
Hi,
I am the maintainer of pass-extension-totp which uses plain openssl to implement standard TOTP as well as Steam's custom algorithm. I would like to port my work to browserpass for it to become multi-plattform.
I see a number of benefits for browserpass and its users by doing this:
To get started, I had a look through your code and via #229 found my way to
background.jsas well ashelper.js. What I still need info on is the following two questions:steam/accountname.gpgTagging @erayd as the original implementer of browserpass' OTP support in hopes they see this.
Kind regards,
Robert