Comments (13)
Silly me, there's a search function already... Calling myself stupid so nobody else needs to. Done. :)
from tofu.
Hey @nistan123, thanks for the feedback.
merely double tap a token in the app should directly copy the code to the clipboard
Right now, when the contextual menu disappears after tapping the Copy item, I think people have the expectation that the code was copied to the clipboard. If we didn't display a contextual menu and instead copied codes on double tap, I'm not sure how we could create this expectation or otherwise provide feedback in a way that's in line with the rest of the system.
[...] the Tofu app to automatically send the current code for the relevant token to the clipboard [...] Would this be feasible?
Unfortunately, I don't think that's possible with the currently available APIs.
from tofu.
To extend upon OP's request regarding copying the code automatically. Can we take a look at Google's Authenticator application for inspiration? There, you can simply tap a code and it will automatically copy it to your clipboard. I think this feature would be really good to implement in Tofu.
from tofu.
Just to add an example you may want to have a look at re. suggested feature #3.
The iOS app 1Password offers this exact feature. After installing the app, go Settings > Passwords and Accounts > Autofill Passwords, and then you may add the 1Password app.
Maybe have a closer look at how they do it?
from tofu.
The iOS app 1Password offers this exact feature. After installing the app, go Settings > Passwords and Accounts > Autofill Passwords, and then you may add the 1Password app.
Can update that this feature has not worked at all in 1Password. So perhaps it is impossible to do this currently...
from tofu.
Regarding one-tap copy: I don’t think the way Google Authenticator provides feedback that it copied the code to the clipboard fits in well with the rest of system. If you have suggestions for how to do this better, I’d love to hear them.
Regarding 1Password and autofill: If I have understood things correctly, the autofill api lets apps pre-register entries that can be auto filled. I don’t see how this would work with short lived one time passwords.
from tofu.
Regarding 1Password and autofill: If I have understood things correctly, the autofill api lets apps pre-register entries that can be auto filled. I don’t see how this would work with short lived one time passwords.
Although I haven’t gotten it to work myself, clearly it is supposed to, if you refer to the image attached.
Imagine how smooth the user experience would be to simply log in to websites and never having to even open Tofu, but just stay in Safari?
It could set your app apart from the rest if you implemented this (and it actually works).
from tofu.
Imagine how smooth the user experience would be to simply log in to websites and never having to even open Tofu, but just stay in Safari?
I agree that it sounds great! I still don't see how it would work, though.
The way I interpret this 1Password feature is that after autofilling your username/email and password, 1Password will copy the OTP to your clipboard for you to then paste into the OTP field. This seems reliant on getting a callback from the autofill system, and I'm not sure how Tofu would handle that?
from tofu.
This seems reliant on getting a callback from the autofill system, and I'm not sure how Tofu would handle that?
Sorry to say I know nothing about programming/coding, I’m only a lowly consumer. But I found a similar open source project on github which claims to be using auto-fill 2FA https://github.com/FoxAuth/FoxAuth. Perhaps have a look at their code? Although this is not for iOS but Mozilla.
from tofu.
Regarding 1Password and autofill: If I have understood things correctly, the autofill api lets apps pre-register entries that can be auto filled. I don’t see how this would work with short lived one time passwords.
The API actually launches an app extension that can do more than just register entries. For instance KeepassTouch, a password manager based on MiniKeepass, has an autofill extension that asks the user to unlock the database and then can fetch relevant username/password combos.
What I'm not sure about is if iOS would allow the autofill extension to run for non username/password fields. I think 2FA code inputs generally don't match username nor password detection.
from tofu.
OTP autofill on iOS only works for SMS login flows. https://developer.apple.com/documentation/security/password_autofill/enabling_password_autofill_on_a_text_input_view
1Password for example, autofills user/password and sends the OTP code to the clipboard.
from tofu.
I don't think this is technically possible right now. Let's re-open this if this changes!
from tofu.
I found this old pull request: mattrubin/Authenticator#234
Perhaps this would be a possible workaround, we still have to make multiple clicks/taps but we don't need to switch the app / lose focus.
from tofu.
Related Issues (20)
- Feature Request: Configuration Option to Exclude OTP Secrets from backup HOT 1
- Add an icon for Cisco, Meraki, Ubiquiti, TikTok, Purism, Palo Alto Networks, login.gov, TaxACT, LocalBTC, Shapeshift.io, Newegg, Bestbuy, Ecobee, Instagram, Coinmama, Linkedin HOT 1
- Project Dead? HOT 2
- Opening the App with biometrics HOT 2
- Opening the App with biometrics HOT 1
- Feature request: support DUO QR codes
- Website Favicon not available
- Project status HOT 1
- I have a question
- Add an icon for Mint Mobile
- Allow access to secret and QR code HOT 1
- Add an icon for AdGuard HOT 1
- Add an icon for Synology DSM
- Add an icon for Kraken (Cryptocurrency exchange)
- Add an icon for Mailbox.org (secure and eco-friendly email inbox from Germany)
- TestFlight link in README does not work HOT 1
- Add an icon for Addy.io
- Feature Request: biometrics / PIN protection HOT 2
- Feature request: delete from search results
- Feature request: let us edit the token detail after added to the list
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 tofu.