Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Intro WWDC ’18 Session: Automatic Strong Passwo...
Search
Kishikawa Katsumi
June 22, 2018
Programming
1
2k
Intro WWDC ’18 Session: Automatic Strong Passwords and Security Code AutoFill
Intro WWDC ’18 Session:
Automatic Strong Passwords and Security Code AutoFill
Kishikawa Katsumi
June 22, 2018
Tweet
Share
More Decks by Kishikawa Katsumi
See All by Kishikawa Katsumi
iOSDC 2024 SMBファイル共有をSwiftで実装する
kishikawakatsumi
1
160
Enhancing Applications with Accessibility API
kishikawakatsumi
3
3.2k
Mastering SwiftSyntax
kishikawakatsumi
4
5.3k
My SwiftData Review
kishikawakatsumi
7
1.4k
Swift Expression Macros: a practical introduction
kishikawakatsumi
3
1.8k
Xcode Cloudの評価
kishikawakatsumi
2
1.2k
Regular expressions basics/正規表現の基本
kishikawakatsumi
7
720
家のいろいろな数値を計測する
kishikawakatsumi
4
2.2k
GitHub Actionsでテストの結果をわかりやすく表示する
kishikawakatsumi
1
1k
Other Decks in Programming
See All in Programming
A Journey of Contribution and Collaboration in Open Source
ivargrimstad
0
890
CSC509 Lecture 12
javiergs
PRO
0
160
とにかくAWS GameDay!AWSは世界の共通言語! / Anyway, AWS GameDay! AWS is the world's lingua franca!
seike460
PRO
1
860
初めてDefinitelyTypedにPRを出した話
syumai
0
400
レガシーシステムにどう立ち向かうか 複雑さと理想と現実/vs-legacy
suzukihoge
14
2.2k
OnlineTestConf: Test Automation Friend or Foe
maaretp
0
110
Laravel や Symfony で手っ取り早く OpenAPI のドキュメントを作成する
azuki
2
110
Arm移行タイムアタック
qnighy
0
320
Make Impossible States Impossibleを 意識してReactのPropsを設計しよう
ikumatadokoro
0
170
Click-free releases & the making of a CLI app
oheyadam
2
110
AI時代におけるSRE、 あるいはエンジニアの生存戦略
pyama86
6
1.1k
Snowflake x dbtで作るセキュアでアジャイルなデータ基盤
tsoshiro
2
520
Featured
See All Featured
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.4k
Agile that works and the tools we love
rasmusluckow
327
21k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
506
140k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
0
89
Mobile First: as difficult as doing things right
swwweet
222
8.9k
Designing for Performance
lara
604
68k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.5k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.2k
Transcript
Intro WWDC ’18 Session: Automatic Strong Passwords and Security Code
AutoFill Kishikawa Katsumi
Automatic Strong Passwords
None
Security Code AutoFill
None
Review: Password Autofill (iOS 11)
Associated Domains
None
None
if #available(iOS 11.0, *) { emailField.textContentType = .username passwordField.textContentType =
.password }
None
None
None
None
Try: Automatic Strong Passwords
None
None
None
None
None
None
None
https://developer.apple.com/password-rules/
None
None
ݱ࣌Ͱ͜ͷ߲ɺ· ͩଘࡏ͠ͳ͍Α͏Ͱ͢ɻ
passwordField.passwordRules = UITextInputPasswordRules(descriptor: “allowed: digit; minlength: 1; maxlength: 4;")
None
ύεϫʔυΛอଘ͢Δʹ Password Saving Compatibility checklist Tag fields with content types
Remove login fields from view hierarchy Clear login fields only after removing from hierarchy Check that AutoFill saved to the correct domain May no longer need SecAddSharedWebCredential()
ύεϫʔυΛอଘ͢Δʹ • ࣗಈͰอଘ͞ΕΔͱݴͬͯΔͬΆ͍Μ͚ͩͲɺ؍ͨ͠ ݶΓͰɺը໘ΛҠಈͯ͠ɺϏϡʔ͔ΒςΩετϑΟʔ ϧυΛআͯ͠อଘ͞ΕΔ༷ࢠͳ͔ͬͨɻΑ͘Θ͔Β ͳ͍ɻ
Try: Security Code AutoFill
None
None
None
None
NOTE: ؔͳ͍SMSʹԠ͠·͢ɻ
None
None
None
Failure cases
Failure cases InstagramͷSMS ӳޠͷͷͩͱਖ਼͘͠ิ͞ΕΔ͕ɺ ຊޠͷͷิ͞Εͳ͔ͬͨɻ ηογϣϯͰݴٴ͞Ε͍ͯΔ͕ɺ ͏·͘ಈ͔ͳ͍ύλʔϯ͕͋ͬͨΒ όάϨϙʔτ͠·͠ΐ͏ɻ ॻ͍ͨ௨ΓɺҙͷSMSͰಈ࡞͢ΔͷͰ ύλʔϯͷݕূҙ֎ͱ؆୯Ͱ͢ɻ
ͨͩ͠ɺσόΠεͷݴޠઃఆͳͲͰ ݁Ռ͕มΘͬͯΔΑ͏ʹݟ͑ΔͷͰɺ ͦͷลΓཁௐࠪɻ
Summary • Web (Safari) ͰΘΕ͍ͯͨύεϫʔυͷࣗಈੜʢ& อଘʣiCloud KeychainʹΑΔ ࣗಈิΛΞϓϦͰ͑ΔΑ͏ʹ͢ΔΈʢiOS 11Ͱ෦తʹ࣮ݱͰ͖͍ͯͨʣ •
Ϣʔβʔ͕σεΫτοϓͰSafariΛ͍ͬͯͳͯ͘ɺiPhoneͰMobile SafariΛͬͯ ͍ΔՄೳੑߴ͍ͷͰɺiPhoneͷWebͰ̍ͰϩάΠϯ͍ͯ͠Εิ༗ޮʹͳΔ Մೳੑ͕ߴ͍ • ରԠͷίετখ͍͞ͷͰɺରԠ͓ͯ͘͠ͱΛ͛Δͣ • ࣮ࡍͷڍಈΑ͘؍ɾςετ͢Δඞཁ͋Γɻ͓͔͠ͳڍಈΛݟ͚ͭͨΒใࠂΛɻ • 2 Factor Authͷิศར͕ͩɺSMSʹΑΔίʔυૹ৴ࢦఠ͞Ε͍ͯΔͷͰɺ ϓϩδΣΫτʹΑͬͯݕ౼ͷ༨͕େ͍ʹ͋Δɻ • ΧελϜͨ͠ύεϫʔυϧʔϧͷςετͷखஈ͕ͳͦ͞͏ʁ
Resources • [204] Automatic Strong Passwords and Security Code AutoFill
• [721] Implementing AutoFill Credential Provider Extensions • Password Rules Validation Tool https://developer.apple.com/password-rules/