Brian Drachman

Q: Keychain login problem

Whenever I reboot my mac, it comes up with the message "messages agent wants to use brian keycain.  Please enter the keychain password".   Two questions.  1)  The account the mac is logging into is brian2, not brian.  I therefore am not sure if it is asking for the correct keychain.  (I'm not sure what the key chain is called on that account). 2)  Why does it ask for the pasword anyway? 

 

Thanks

Posted on Aug 1, 2015 10:28 AM

Close

Q: Keychain login problem

  • All replies
  • Helpful answers

  • by Linc Davis,

    Linc Davis Linc Davis Aug 1, 2015 12:14 PM in response to Brian Drachman
    Level 10 (208,037 points)
    Applications
    Aug 1, 2015 12:14 PM in response to Brian Drachman

    Back up all data before proceeding.

    Double-click the line below on this page to select it:

    com.apple.scopedbookmarksagent.xpc

    Copy the selected text to the Clipboard by pressing the key combination command-C.

    Launch the Keychain Access application in any of the following ways:

    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)

    ☞ In the Finder, select Go Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.

    ☞ Open LaunchPad and start typing the name.

    Click in the search field in the upper right corner of the Keychain Access window and press command-V to paste the text you copied earlier. A password item with the above name should appear in the window. Press delete and confirm when prompted. Quit Keychain Access and see whether the prompts have stopped.

    Credit for this observation to ASC member bad_friday.

  • by Brian Drachman,

    Brian Drachman Brian Drachman Aug 1, 2015 12:39 PM in response to Linc Davis
    Level 1 (35 points)
    Aug 1, 2015 12:39 PM in response to Linc Davis

    Tried it, but still gives the same problem

  • by Linc Davis,

    Linc Davis Linc Davis Aug 1, 2015 12:42 PM in response to Brian Drachman
    Level 10 (208,037 points)
    Applications
    Aug 1, 2015 12:42 PM in response to Brian Drachman

    Back up all data before proceeding.

    Select the login keychain from the list on the left side of the Keychain Access window. If your default keychain has a different name, select that.

    If the lock icon in the top left corner of the window shows that the keychain is locked, click to unlock it. You'll be prompted for the keychain password, which is the same as your login password, unless you've changed it.

    Right-click or control-click the login entry in the list. From the menu that pops up, select

              Change Settings for Keychain "login"

    In the sheet that opens, uncheck both boxes, if not already unchecked.

    From the menu bar, select

              Keychain Access Preferences... First Aid

    There are four checkboxes in the window that opens. Check all of them. if they're not already checked. Close the window.

    Select

              Keychain Access Keychain First Aid

    from the menu bar and repair the keychain. Quit Keychain Access.

    If you use iCloud Keychain, open the iCloud preference pane and uncheck the Keychain box. You'll be prompted to delete the local iCloud keychain. Confirm. Then re-check the box. Follow one of the procedures described in this support article to set up iCloud Keychain on an additional device.

  • by Brian Drachman,

    Brian Drachman Brian Drachman Aug 2, 2015 10:07 AM in response to Brian Drachman
    Level 1 (35 points)
    Aug 2, 2015 10:07 AM in response to Brian Drachman

    Still no go.  I'm noticing that it says that different things are asking for access to the keychain when I log in....ie not always "messages"

  • by Bear Hunter,

    Bear Hunter Bear Hunter Aug 2, 2015 11:21 AM in response to Brian Drachman
    Level 2 (254 points)
    Aug 2, 2015 11:21 AM in response to Brian Drachman

    I had issues with my keychain and got similar messages when I was getting my smart card (military CAC card) setup.  I was getting popups for not only message agent, but iCloud, FaceTime, etc...I ended up having to trash the keychain folder located at ~/Library/Keychains and start over. 

  • by Linc Davis,

    Linc Davis Linc Davis Aug 2, 2015 11:26 AM in response to Brian Drachman
    Level 10 (208,037 points)
    Applications
    Aug 2, 2015 11:26 AM in response to Brian Drachman

    What are the names of the keychains listed in Keychain Access, besides "login" and "System"?

  • by Brian Drachman,

    Brian Drachman Brian Drachman Aug 2, 2015 12:14 PM in response to Linc Davis
    Level 1 (35 points)
    Aug 2, 2015 12:14 PM in response to Linc Davis

    login

    brian

    privateendrypteddatak (this is listed 5 separate times)

    symantec

    icloud

    system

    system roots

    microsoft_intermediate_certificates

  • by Linc Davis,

    Linc Davis Linc Davis Aug 2, 2015 12:41 PM in response to Brian Drachman
    Level 10 (208,037 points)
    Applications
    Aug 2, 2015 12:41 PM in response to Brian Drachman

    Remove the Norton/Symantec product by following these instructions. If you have a different version of the product, the procedure may be different.

    Back up all data before making any changes. Never install any commercial "anti-virus" or "anti-malware" product again.

  • by Brian Drachman,

    Brian Drachman Brian Drachman Aug 2, 2015 7:27 PM in response to Linc Davis
    Level 1 (35 points)
    Aug 2, 2015 7:27 PM in response to Linc Davis

    Did this too.  Computer runs faster now (thanks for that), but the problem persists.

  • by Bear Hunter,

    Bear Hunter Bear Hunter Aug 2, 2015 7:31 PM in response to Brian Drachman
    Level 2 (254 points)
    Aug 2, 2015 7:31 PM in response to Brian Drachman

    Any reason you can't trash the Keychains folder and and allow Keychain to rebuild itself, or do you have way too much stuff logged in there?

  • by Linc Davis,

    Linc Davis Linc Davis Aug 2, 2015 7:38 PM in response to Brian Drachman
    Level 10 (208,037 points)
    Applications
    Aug 2, 2015 7:38 PM in response to Brian Drachman

    Are you sure the "brian" keychain is set to unlock automatically at login? Can you lock it and then unlock it with the login password?

  • by Brian Drachman,

    Brian Drachman Brian Drachman Aug 2, 2015 7:45 PM in response to Linc Davis
    Level 1 (35 points)
    Aug 2, 2015 7:45 PM in response to Linc Davis

    Yup.  When I open keychain access, the brian and login chains are unlocked already.    What will happen if I delete the whole keychain folder, and where is it?  I also have icloud keychain enabled (if that makes a difference)

  • by Linc Davis,

    Linc Davis Linc Davis Aug 2, 2015 8:31 PM in response to Brian Drachman
    Level 10 (208,037 points)
    Applications
    Aug 2, 2015 8:31 PM in response to Brian Drachman

    Please take these steps to resynchronize the iCloud keychain. Your keychain on iCloud and your other Apple devices won't be affected. Take Step 2 only if Step 1 doesn't solve the problem.

    Step 1

    Back up all data.

    Open the iCloud preference pane and uncheck the Keychain box. You'll be prompted to delete the local iCloud keychain. Confirm—the data will remain on the servers. Then re-check the box. Follow one of the procedures described in this support article to set up iCloud Keychain on an additional device. Test.

    Step 2

    If you still have problems, uncheck the Keychain box again and continue.

    Triple-click the line below on this page to select it, then copy the text to the Clipboard by pressing the key combination  command-C:

    ~/Library/Keychains

    In the Finder, select

              Go Go to Folder...

    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

    A folder named "Keychains" should open. Inside it is a subfolder with a long name similar to (but not the same as) this:

               421DE5CA-D745-3AC1-91B0-CE5FC0ABA128

    The above is only an example; yours will have a different name of the same general form. Drag the subfolder (not the Keychains folder) to the Trash and empty.

    Restart the computer and re-enable iCloud Keychain.