{"id":28038,"date":"2020-02-04T15:34:51","date_gmt":"2020-02-04T20:34:51","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=28038"},"modified":"2021-07-03T14:16:02","modified_gmt":"2021-07-03T18:16:02","slug":"delivering-origin-bound-one-time-codes-over-sms","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2020\/02\/04\/delivering-origin-bound-one-time-codes-over-sms\/","title":{"rendered":"Delivering Origin-bound One-time Codes Over SMS"},"content":{"rendered":"<p><a href=\"https:\/\/twitter.com\/rmondello\/status\/1222576293079703554\">Ricky Mondello<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/rmondello\/status\/1222576293079703554\">\n<p>We&rsquo;ve published an explainer about an idea to harden SMS-delivered one-time passwords by allowing senders to associate the codes with a website. We&rsquo;ve been talking about the idea with some folks at Google, and would like more feedback.<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/github.com\/WebKit\/explainers\/tree\/master\/sms-one-time-code-format\">WebKit<\/a> (<a href=\"https:\/\/www.macrumors.com\/2020\/01\/31\/apple-standardized-format-sms-one-time-passcodes\/\">MacRumors<\/a>):<\/p>\n<blockquote cite=\"https:\/\/github.com\/WebKit\/explainers\/tree\/master\/sms-one-time-code-format\"><p>This proposal attempts to reduce some of the risks associated with SMS delivery of one-time codes. It does not attempt to reduce or solve all of them. For instance, it doesn&rsquo;t solve the SMS delivery hijacking risk, but it does attempt to reduce the phishing risk.<\/p><p>[&#8230;]<\/p>\n<p>But because there is no standard text format for SMS delivery of one-time codes, systems which want to make programmatic use of such codes must rely on heuristics, both to locate the code in the message and to associate the code with a website. Heuristics are prone to failure and may even be hazardous.<\/p>\n<p>[&#8230;]<\/p>\n<p>To address this, we propose a lightweight text format that services\nmay adopt for such messages. It&rsquo;s about as simple as it gets. It begins\nwith (optional) human-readable text. After the human-readable text both\nthe code and the origin appear on a single line, with sigils denoting\nwhich is which. This is the last line of the text.<\/p><\/blockquote>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2019\/10\/21\/safari-security-code-autofill\/\">Safari Security Code AutoFill<\/a><\/li>\n<\/ul>\n\n<p id=\"delivering-origin-bound-one-time-codes-over-sms-update-2020-04-08\">Update (2020-04-08): <a href=\"https:\/\/twitter.com\/rmondello\/status\/1246127694888067072\">Ricky Mondello<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/rmondello\/status\/1246127694888067072\">\n<p>We&rsquo;ve moved &ldquo;Origin-bound one-time codes delivered via SMS&rdquo; <a href=\"https:\/\/github.com\/wicg\/sms-one-time-codes\">to \n@wicg_<\/a>, where we&rsquo;re working on a shared spec with our collaborators at Google.<\/p>\n<\/blockquote>\n\n<p id=\"delivering-origin-bound-one-time-codes-over-sms-update-2020-08-27\">Update (2020-08-27): <a href=\"https:\/\/9to5mac.com\/2020\/08\/04\/ios-14-domain-bound-codes\/\">Filipe Esp&oacute;sito<\/a>:<\/p>\n<blockquote cite=\"https:\/\/9to5mac.com\/2020\/08\/04\/ios-14-domain-bound-codes\/\"><p>Earlier this year, Apple&rsquo;s WebKit team <a href=\"https:\/\/9to5mac.com\/2020\/01\/30\/apple-webkit-sms-2fa-proposal\/\">proposed a change<\/a> to the format of SMS one-time passcodes to make two-factor authentication more secure. Apple confirmed today that developers can already implement these changes with iOS 14 and macOS Big Sur.<\/p><\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Ricky Mondello: We&rsquo;ve published an explainer about an idea to harden SMS-delivered one-time passwords by allowing senders to associate the codes with a website. We&rsquo;ve been talking about the idea with some folks at Google, and would like more feedback. WebKit (MacRumors): This proposal attempts to reduce some of the risks associated with SMS delivery [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2020-02-04T20:34:54Z","apple_news_api_id":"bfc4d10c-418e-4ddf-9633-0baa4e05d18a","apple_news_api_modified_at":"2021-07-03T18:16:05Z","apple_news_api_revision":"AAAAAAAAAAAAAAAAAAAAAg==","apple_news_api_share_url":"https:\/\/apple.news\/Av8TRDEGOTd-WMwuqTgXRig","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[31,1667,30,1666,103,48,1393,2090],"class_list":["post-28038","post","type-post","status-publish","format-standard","hentry","category-technology","tag-ios","tag-ios-13","tag-mac","tag-macos-10-15","tag-safari","tag-security","tag-short-message-service-sms","tag-two-factor-authentication-2fa"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/28038","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=28038"}],"version-history":[{"count":3,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/28038\/revisions"}],"predecessor-version":[{"id":29905,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/28038\/revisions\/29905"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=28038"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=28038"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=28038"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}