Why the extra passwords?
QWhen I start my MacBook Pro up and log in, I’m prompted for my password for two keychains, named Local Items and login. How can I stop this? by Tim Jones
AThis is because your Mac has two keychains which it needs to open, neither of which uses your current login password. It probably resulted from changing your login password, but that change not being reflected in your keychains.
When you enter your login password, it’s used for two functions: to open access as that user, and to open that user’s default keychain, the one named login. If the password used for the login keychain no longer matches that used to log in, when the Mac comes to open the user’s login keychain, it discovers that the password it has doesn’t match that for that keychain, so prompting you to enter the current password for that keychain.
You can fix this using Keychain Access, in the Utilities folder. Start that app, and select your login keychain at the left of the window. In the Edit menu, use the Change Password for Keychain ‘login’… command, and change the password to the same that you use when logging in to your Mac.
You may need to open the Local Items keychain and copy and paste items from that into your login keychain so that macOS will never need to open that keychain either.
This should ensure that each time you log in, macOS can open the login keychain without any need for the separate alert, and that it can find all the information it needs there.
Set the password on your login keychain to that used to log into your Mac, and you shouldn’t have to enter it twice.