News for hackers. Stuff that matters.
Re:The Triumph of Safari by loopdoend on Saturday January 14, 2023 @12:06AM (#34377525)
I love how Safari fills in OTP codes from SMS messages automatically. I know you’re not supposed to use them but so many services still do.
Re:The Triumph of Safari by ridiculous_fish on Saturday January 14, 2023 @01:00AM (#34377722)
This is such a cool feature on Macs. My iPhone receives the OTP via text message, it gets forwarded to Messages on my Mac, and then desktop Safari offers to enter the code. It all takes less than a second. Do other platforms have this? Honest question, I have no idea.
Re:The Triumph of Safari by sofixa on Saturday January 14, 2023 @03:22AM (#34378381)
Nope. Android has this API where an app that is confirming your phone number with an SMS can automatically read it (without having access to the rest of your text messages) , but not all apps implement it (probably the majority though).

This is the type of feature Apple are capable of doing because they own the full stack - phone OS, computer OS, browser. Nobody else has that (well Google do with ChromeOS but i doubt such UX is a part of their focus there).

Of course the problem is that if you want to use a different browser, or Tim Cook forbid, a different mobile OS, you lose of all that because there's no interoperability. A form of vendor lock-in if you will.

Re:The Triumph of Safari by WirelessGigabit on Saturday January 14, 2023 @01:06AM (#34377739)
I think this is more because Safari has access to that data. Other applications do not, as they are second-class citizens on Mac OS.
Re:The Triumph of Safari by tinus_hn on Saturday January 14, 2023 @06:45AM (#34379509)
No, it’s documented API. It’s either because it doesn’t actually work as documented, or because the other applications’ developers are lazy.

https://developer.apple.com/documentation/security/password_...

Re:The Triumph of Safari by frankthedog on Saturday January 14, 2023 @06:03PM (#34385002)
Your link is for app development, not web.
Re:The Triumph of Safari by tinus_hn on Sunday January 15, 2023 @07:49AM (#34389010)
The comment claims Safari, an app, has exclusive access to system features, my comment shows how other apps have access to the same features. The web has nothing to do with it.
Re:The Triumph of Safari by frankthedog on Sunday January 15, 2023 @04:39PM (#34393780)
I see that now after re-reading. You meant the other browser developers could add this. I first took it as saying websites could add it with some input attribute. My mistake.
Re:The Triumph of Safari by wintermutestwin on Saturday January 14, 2023 @01:33AM (#34377843)
Yes, this is why I use Safari for a handful of financial websites that use 2FA. I still use Firefox with Sidebery for all other browsing because Safari has an inferior interface and poor overall usability.
Re:The Triumph of Safari by baby on Saturday January 14, 2023 @01:39AM (#34377864)
Only works if you have an iPhone right? It annoys me more and more that I’m a prisoner of the apple ecosystem. I want to buy a folding phone but it’s android.
Re:The Triumph of Safari by ricardobayes on Saturday January 14, 2023 @03:29AM (#34378422)
Would you be ok with the mailman going through your letters and handing you the PIN code for your amex on a post-it note? "Saved you opening it yourself."
Re:The Triumph of Safari by tinus_hn on Saturday January 14, 2023 @06:48AM (#34379521)
This only works with OTP codes formatted in a specified way so the system can make sure it’s only suggesting OTP codes and only on the website they are intended for.

https://wicg.github.io/sms-one-time-codes/

Re:The Triumph of Safari by graftak on Saturday January 14, 2023 @03:44AM (#34378516)
It also fills in OTP codes from password/TOTP managers.
Re:The Triumph of Safari by trilbyglens on Saturday January 14, 2023 @04:04AM (#34378630)
So your phone is reading a message and then sending your OTP over the network? Sounds safe...
Re:The Triumph of Safari by pontilanda on Saturday January 14, 2023 @05:59AM (#34379225)
Are you talking about the OTP delivered via unencrypted SMS? Surely Apple knows how to set up a link with a barebones encryption better than SMS’