Comments (16)
otpauth://totp/account?secret=secret&issuer=issuer&algorithm=sha1&digits=6&period=30
(I also censored the account since it would reveal the issuer in my case)
Oh, I think I found the culprit. The code checks for "SHA1", not "sha1". I'll push the fix to v6.0.1.
from mauth.
I can confirm it works perfectly 🎉 ! Thank you !
from mauth.
Could you try rotating your phone? I heard there's an issue with some QR codes requiring rotation
from mauth.
Could you try rotating your phone? I heard there's an issue with some QR codes requiring rotation
Rotating the phone does not fix the issue, either with or without auto-rotate
from mauth.
Same issue here ! Trying to scan a QRCode from my computer's Authenticator app (https://flathub.org/apps/com.belmoussaoui.Authenticator), and it does not work. Other QR Code scanning apps can scan it successfully.
from mauth.
Tested on my device and Firefox works just fine with the latest version. Unfortunately, there's not much I can do.
from mauth.
Decided to try something quite absurd as a last resort by printing the QR Code and trying to read it, thinking it maybe was an issue with the computer screen. And, nope, not working :/...
from mauth.
Also, ZXing (by installing org.google.zxing.client.android.apk from F-Droid) does work in reading the QR Code without issue, so it doesn't seem to be a library issue.
from mauth.
Decided to try something quite absurd as a last resort by printing the QR Code and trying to read it, thinking it maybe was an issue with the computer screen. And, nope, not working :/...
I think the issue might've been with the camera library. Could you try with v0.6.0 I released yesterday? It should include the updated CameraX library.
from mauth.
That does not solve it unfortunately :/...
from mauth.
I'm afraid I can't exactly fix the issue then. Everything works just fine on my devices. If you have any specific QR Codes which work on other authenticators but don't work on Mauth, feel free to let me know. (I'm asking for specific QR Codes because some have a slightly different format of the OTP string which Mauth may not support, so this could help me add support for more and more authentication types)
from mauth.
Okay, so, the URI I get from scanning the QR Code is in this format:
otpauth://totp/account?secret=secret&issuer=issuer&algorithm=algorithm&digits=digits&period=period
from mauth.
Could you make it so the only "censored" parts are the secret and the issuer? everything else is very essential for me to test how the parsing works
from mauth.
otpauth://totp/account?secret=secret&issuer=issuer&algorithm=sha1&digits=6&period=30
(I also censored the account since it would reveal the issuer in my case)
from mauth.
I can confirm that's the issue by creating a new QR Code with the SHA1 all caps !
from mauth.
I can confirm that's the issue by creating a new QR Code with the SHA1 all caps !
Tested it myself as well (and added instrumentation tests for automatization, should've done it a looooooooong time ago), and works just fine. Can you confirm that scanning works just fine now?
from mauth.
Related Issues (20)
- Support encrypting the database like Aegis HOT 1
- Support encrypted Aegis database import in the future
- Steam Guard support
- [Feature Request] Export as file HOT 2
- Icons disappear HOT 1
- how to use this app HOT 5
- The thumbnail is not saved. HOT 10
- Suggestion: option to import and export authentication HOT 2
- Cloud Backup and Sync HOT 10
- Here's a review of mine. HOT 1
- [ Bug ] Long labels hide edit button HOT 1
- Publish app on Accrescent HOT 1
- Add local backup import/export option HOT 1
- [Enhancement] Generate QR codes HOT 1
- Blank screen after adding new account HOT 3
- [Feature] Add support for importing this Firefox addon's json export
- Consolidate Info Page Content into Settings Page. HOT 1
- [Feature] Backup settings HOT 3
- Request: Implement security PIN re-prompt when switching between apps
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mauth.