iPhone asked for password of an unknown device

My iPhone wanted me to log into my Apple ID, and asked the password for an unknown device (name was something like "Mac-[random code of 12 numbers and lower case letters]"). I restarted both my MacBook and my iPhone (only active Apple devices I have), changed my Apple ID password, logged off on all devices, found the devices connected to my Apple ID (all are devices I know), scanned for malware (used Malwarebytes; no malware detected), to no avail. My iPhone doesn't let me log into iCloud without the password for this device.


The exact message says:


Enter Mac Password

Enter the password you use to unlock the Mac "Mac-************".
This passwords protects your Apple ID, saved passwords and other data stored in iCloud. Your password is encrypted and cannot be read by Apple.


If I tap Don't know Device Password, it says:


Don't know Password?

If you can't remember the password for "Mac-************", you can approve this iPhone from one of your other devices signed into iCloud, or you can reset your end-to-end encrypted data.


I have already approved this iPhone from my MacBook, but this problem still keeps coming up. Below the message are buttons for Reset Encrypted Data and Cancel. Cancel brings me back to the previous message. When I tap Reset Encrypted Data, yet another message pops up that says that all my data in iCloud will be deleted permanently if I continue.


Can someone please explain what is going on and what I can do to solve this?


Thank you!

iPhone SE, iOS 15

Posted on Sep 17, 2023 12:49 PM

Reply
Question marked as Top-ranking reply

Posted on Sep 18, 2023 5:39 AM

OP here.


I decided to contact Apple directly with this problem. It turns out the only solution is to backup all data that are stored in my iCloud keychain and then proceed to reset the end-to-end encrypted data. All categories can be found here, under Data categories and encryption: iCloud data security overview - Apple Support


I'm leaving this up for anyone else experiencing this problem too.


Similar questions

1 reply
Question marked as Top-ranking reply

Sep 18, 2023 5:39 AM in response to LlovesM

OP here.


I decided to contact Apple directly with this problem. It turns out the only solution is to backup all data that are stored in my iCloud keychain and then proceed to reset the end-to-end encrypted data. All categories can be found here, under Data categories and encryption: iCloud data security overview - Apple Support


I'm leaving this up for anyone else experiencing this problem too.


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

iPhone asked for password of an unknown device

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.