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

[BUG] #266

Open
madmaxxx89 opened this issue Oct 29, 2024 · 7 comments
Open

[BUG] #266

madmaxxx89 opened this issue Oct 29, 2024 · 7 comments
Assignees
Labels
awaiting-info Awaiting more information to proceed bug Something isn't working

Comments

@madmaxxx89
Copy link

Hello,
when I try to enter my password using the command “icloud --session-directory=/config/session_data --username=@.” I get the wrong password every time. I then cancel with Ctrl+C.
But if I try to log in directly to ICLOUD it works.
The Docker container has actually worked for months.
Unfortunately, I can't say what has changed.
Do others have the same problem?

File "/lsiopy/lib/python3.11/site-packages/icloudpy/utils.py", line 15, in get_password return get_password_from_keyring(username) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/lsiopy/lib/python3.11/site-packages/icloudpy/utils.py", line 37, in get_password_from_keyring raise ICloudPyNoStoredPasswordAvailableException( icloudpy.exceptions.ICloudPyNoStoredPasswordAvailableException: No iCloudPy password for **********@*****.** could be found in the system keychain. Use the--store-in-keyring` command-line option for storing a password for this username.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/lsiopy/bin/icloud", line 8, in
sys.exit(main())
^^^^^^
File "/lsiopy/lib/python3.11/site-packages/icloudpy/cmdline.py", line 205, in main
password = utils.get_password(
^^^^^^^^^^^^^^^^^^^
File "/lsiopy/lib/python3.11/site-packages/icloudpy/utils.py", line 20, in get_password
return getpass.getpass(f"Enter iCloud password for {username}: ")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/getpass.py", line 77, in unix_getpass
passwd = _raw_input(prompt, stream, input=input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/getpass.py", line 146, in _raw_input
line = input.readline()
^^^^^^^^^^^^^^^^
KeyboardInterrupt
`

@madmaxxx89 madmaxxx89 added the bug Something isn't working label Oct 29, 2024
@ayybe
Copy link

ayybe commented Oct 30, 2024

did apple just kill legacy auth?

@caplam
Copy link

caplam commented Oct 31, 2024

Apple has changed the way authenticating works. I think all projects relying on third party auth are impacted.
see this: gcobb321/icloud3_v3#341

@barcar
Copy link

barcar commented Oct 31, 2024

It looks like there’s a potential fix upstream in mandarons/icloudpy#49

@robdejonge
Copy link

@madmaxxx89 Can you, as the author, please edit the title of this post to be something descriptive?

@nicoodeimos
Copy link

I can confirm I have the same problem. My password gets rejected all the time.

@lorenzomorandini
Copy link

Hi, new version of icloudpy seems to fix it, can we upgrade it here too? Thanks!

@mandarons
Copy link
Owner

Hi Folks, please try upgrading to latest version.

@mandarons mandarons added the awaiting-info Awaiting more information to proceed label Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-info Awaiting more information to proceed bug Something isn't working
Projects
None yet
Development

No branches or pull requests

8 participants