dedoussis / icloud-hide-my-email-browser-extension

Enjoy iCloud's Hide My Email service in your favourite browser
https://chrome.google.com/webstore/detail/icloud-hide-my-email/omiaekblhgfopjkjnenhahfgcgnbohlk
MIT License
319 stars 15 forks source link

Rethinking the iCloud sign-in flow #42

Closed dedoussis closed 11 months ago

dedoussis commented 11 months ago

Instead of signing-in through the pop-up, the extension will prompt the user to sign-in through https://icloud.com. The background script will sniff the responses of the icloud.com requests (via webRequest listeners) to extract the auth tokens it needs.

Signing-in through the official icloud.com page of Apple has the following benefits:

  1. Support for security key 2FA (alongside the 6 digit code one). Fixes https://github.com/dedoussis/icloud-hide-my-email-browser-extension/issues/41 and maybe https://github.com/dedoussis/icloud-hide-my-email-browser-extension/issues/26
  2. Support for Passkeys (alongside passwords)
  3. Feels more secure from a user pov. Even though there's no practical difference, users feel more comfortable submitting their password on an Apple hosted surface rather than a random extension.

TODOs to get the extension into a publishable state: