Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request - App Password Support #78

Open
polskikrol opened this issue Mar 3, 2023 · 5 comments
Open

Feature Request - App Password Support #78

polskikrol opened this issue Mar 3, 2023 · 5 comments

Comments

@polskikrol
Copy link

Tried to search for an answer on this one. My understanding is that that the HA native icloud integration uses HTTP calls mimicking user behaviour rather than newer API calls. This is one reason why app specific passwords are not supported. Does icloud3_v3 (beta) support app specific passwords? Been trying to test this without much success.

@gcobb321
Copy link
Owner

gcobb321 commented Mar 4, 2023

Not that I know of. iCloud3 uses a heavily modified version of the same iCloud module that is part of a Python library. The module is pyicloud.py at GitHub repository here that is now matinee by the Nabu Casa/Home Assistant guys.

@gcobb321
Copy link
Owner

gcobb321 commented Mar 4, 2023

You mentioned newer API calls. Where are the docs for them? Are you part of the Apple Developer program?

@polskikrol
Copy link
Author

polskikrol commented Mar 5, 2023 via email

@gcobb321
Copy link
Owner

gcobb321 commented Mar 5, 2023

I will check it out further once iCloud3 v3 has been released (that is my first priority at the moment). And I totally agree that the pyicloud.py module is a mess, a lot of old code, it handles error recovery and retries in a strange manner and can use a rewrite but it seems to do the job at the moment. Support and updates are non-existent and, if you follow the issues and PR requests of the code, you see a lot of people trying to add features which never get into the base code.

The latest beta (b14) which I will be releasing in the next few days, addresses the Apple emails. Before b14, the password signin was the first thing that was done when access had to be reverified (about every 30-minutes or so). This generated the email from apple. Beta 14 uses the session token first, and then does the password signin if it had expired. I've been using that for about a week now and have received an email about once a day instead of many times during the day.

@polskikrol
Copy link
Author

polskikrol commented Mar 5, 2023 via email

@gcobb321 gcobb321 changed the title App Password Support Feature Request - App Password Support Mar 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants