Questions tagged [keychain]

The password management system in macOS

Filter by
Sorted by
Tagged with
55 votes
5 answers
1.0m views

How do I delete or fix my Keychain after changing my password?

How do I reset my main keychain and completely delete the old one? I changed my password and its been coming up with all of these popups asking for my new password when I first login. If anyone can ...
user avatar
  • 1,646
74 votes
7 answers
712k views

OSX is repeatedly asking for login keychain password

After starting up my newer iMac it's asking for for the login keychain password for several applications. It is stuck in a cycle that I can't cancel out of. Any suggestions?
user avatar
  • 741
28 votes
9 answers
51k views

Export keychains

in order to migrate to an Ubutun, I would like to export all my password, to for example a CSV file. In Keychain Access, I found export menu, but it's alway disabled, even when the access is unlocked....
user avatar
  • 381
18 votes
1 answer
174k views

How to stop my machine asking for multiple passwords when I log in?

Ever since I changed my user account password, every time I log in to my machine I have to enter multiple passwords. First, I enter the new account password to actually log in. Once I'm at my desktop ...
user avatar
  • 483
41 votes
3 answers
128k views

Where has "Keychain First Aid" gone?

On my machine running OS X El Capitan, there is no "Keychain First Aid" option in the Keychain Access app. All documentation, including Mac OS Help in El Capitan, says to go to the Keychain Access ...
user avatar
759 votes
6 answers
687k views

How can I permanently add my SSH private key to Keychain so it is automatically available to ssh?

It seems that ssh-add -K ~/.ssh/id_rsa will load your key but will ask for the password each time you reboot. I am looking for a solution that would not require me to re-enter the key password ...
user avatar
  • 27.3k
34 votes
10 answers
42k views

Selectively disable iCloud keychain syncing for WiFi passwords

I have iCloud Keychain sync enabled, but I want to stop it syncing WiFi passwords. I have a portable WiFi hotspot which I use for my laptop and iPad, but I don't want my iPhone to connect to it since ...
user avatar
  • 443
24 votes
3 answers
21k views

How do I update my root certificates on an older version of Mac OS (e.g. El Capitan)?

I have difficulty reaching various secure web sites. They give me a certificate expired error. They work on Firefox but not Safari or Chrome. They also work on newer versions of macOS (e.g. Catalina, ...
user avatar
  • 751
16 votes
5 answers
8k views

Keychain won't let copy passwords after 10.11.1 update

After the 10.11.1 update, I can not get access to some of encrypted data stored in my keychains with Keychain Access.app. Most notably, I can not see or copy passwords stored. Normally, to do so, you'...
user avatar
15 votes
3 answers
39k views

OS X is repeatedly asking for login keychain password

I know this has been asked here several times, but I already checked the other discussions and tried their suggestions, but without success. Is there anything I can do instead of re-installing the ...
user avatar
10 votes
2 answers
16k views

How to dump the content of keychain from the shell?

I'm testing the following command-line in the Terminal: sudo security dump-keychain -d login.keychain which I'd like to use to save all my passwords into a file. However when I run it, it keep ...
user avatar
  • 11.9k
33 votes
3 answers
59k views

How can I access the keychain remotely from the command line?

I am storing various passwords (e.g. for remote email servers) in my keychain. From the command line, when logged in locally, I can retrieve these via: security unlock-keychain ~/Library/Keychains/...
user avatar
  • 563
3 votes
2 answers
2k views

Automatically Mount Encrypted Core Storage Volume (10.14.4+)

Prior to Mojave 10.14.4, macOS would automatically attempt to mount locked Core Storage volumes, and if the necessary password was found in the current user's keychain this would occur automatically. ...
user avatar
  • 1,227
2 votes
3 answers
10k views

Force a sync of iCloud Keychain from iOS to macOS?

My passwords on my iCloud Keychain on my MacBook and iPhone are out of sync. There are several new passwords on each device that aren't present on the other. Following a Google search, I logged out of ...
user avatar
34 votes
12 answers
19k views

Terminal login hangs

I have a strange issue on my new MacBook Pro (late-2016, touch bar). It works fine and then, after using it for a while, opening new Terminal windows doesn't work because login hangs. Rebooting fixes ...
user avatar
  • 4,003
23 votes
3 answers
85k views

Sync Chrome passwords with Apple iCloud Keychain

Is there a tool or a process where I can export/sync my Google Chrome saved passwords into iCloud Keychain?
user avatar
  • 333
11 votes
5 answers
8k views

How do I migrate my Keychain's "Local Items" to a new Mac?

After preforming a Mavericks-Mavericks migration using Migration Assistant, I have a "Local Items" Keychain on my new machine in which many (perhaps most) items are out of date (using old passwords), ...
user avatar
  • 10.7k
10 votes
2 answers
12k views

Extract passwords from local items keychain files

I know that one can easily migrate any *.keychain from one Mac to another, however, the "local items" keychain introduced in Mavericks is not stored as a *.keychain file but as a list of *.kb and *.db ...
user avatar
8 votes
1 answer
7k views

How to decrypt the system keychain from another mac at the command line

I just ran into a situation where a user with a Mac that had been hard broken by an interrupted update needed into their Time Machine backup outside of the normal recovery process. Unfortunately, they'...
user avatar
  • 2,595
6 votes
1 answer
8k views

Terminal won't ask for passphrase and not stored in keychain

I recently rent a VPS and generated a public/private key pair and transferred it to my server (added it there to the authorized_keys file) ... So far on my first login via terminal on OSX I got asked ...
user avatar
  • 63
7 votes
4 answers
35k views

Export iCloud items from Keychain to CSV

I want to export all my accounts login/password from Keychain. But you have many categories like : login, iCloud, System... in the Keychain menu. In fact I want to export them to 1Password, so I ...
user avatar
  • 4,485
30 votes
5 answers
117k views

How to tell Google Chrome to use my Keychain

Background: Story: A colleague of mine told me about 1Password and it seems good to me. I am always trying to use tools which Mac OS X itself gives me, so I've given the Keychain a try. It seems ...
user avatar
4 votes
1 answer
23k views

Possible to reset Keychain password without knowing the old password?

My girlfriend forgot the password for her MacBook (don't ask), so I reset it using the Utilities. But as you may be aware, this doesn't reset the Keychain password. Her MacBook is now virtually ...
user avatar
  • 223
53 votes
1 answer
384k views

What is accountsd and why does it want to use the "login" keychain?

Periodically, I'm seeing this keychain dialog pop up: I click 'Cancel', then it pops up again, then I click 'Cancel' again, and it goes away for a while. (Maybe an hour or two, I haven't timed it.) ...
user avatar
20 votes
3 answers
12k views

OS X 10.11 unable to press "allow" on Keychain Access dialogs

I'm running into an issue where keychain password verification box does not verify password - does not shake for incorrect password and nothing happens when I press "allow". I'm using iCloud keychain. ...
user avatar
  • 1,618
16 votes
4 answers
33k views

How do I remove many system roots from Apple System Keychain?

The Apple keychain application will not let you remove system roots, it will only allow you to disable them. It will only allow you to disable them one at a time. For each one, you need to go through ...
user avatar
  • 3,014
11 votes
2 answers
10k views

Move items from old keychain to new keychain

I've just done a clean Mountain Lion install, and one thing bothers me a lot: How can I move passwords from my old keychain to the one created by the installer when it performed a clean install ...
user avatar
  • 395
26 votes
7 answers
93k views

Safari can't connect to https

Safari suddenly can't connect to any HTTPS site because it "can't establish a secure connection". This is on an administrator account, not a managed account. A different administrator account is ...
user avatar
  • 19.5k
15 votes
4 answers
58k views

What is assistantd?

Ever since I upgraded to OS X Mountain Lion and installed OS X Server, I keep getting prompts for my Keychain password from a process called assistantd. I'm pretty sure that it's an OS X process, but ...
user avatar
6 votes
1 answer
3k views

How do I prevent "Local Items" Keychain from locking?

My "Local Items" keychain keeps locking and I can't figure out how to prevent it from doing so. As near as I can tell it locks when my Mac sleeps (which I want) and also after a very short ...
user avatar
  • 10.7k
8 votes
4 answers
31k views

Mac asking for multiple "login" keychain app passwords but won't accept them

I have a 2012 MacBook Pro. My husband reset the password for iCloud and iTunes and now I cannot get access to my computer. I can put in the password at login then nothing but a black screen with ...
user avatar
  • 91
6 votes
2 answers
38k views

Broken login.keychain, what now?

I recently moved computers, and since then I can no longer import certificates into my login keychain. I have: Tried using Keychain First aid Tried running reset password in recovery mode to reset ...
user avatar
5 votes
2 answers
1k views

FileVault 2 encrypted disks with my home directory on a different drive

I have multiple volumes on my mac and I just enabled encryption on the other drives. My home folder is stored on one of those drives. Now I can't login because it can't see my home directory, but if I ...
user avatar
12 votes
2 answers
121k views

How can I retrieve a saved WiFi password from iOS / iPadOS on secure hardware?

I have some wireless networks that I joined on my iOS device and I now want to retrieve the passwords from the device. These are stored in the keychain presumably so I’d like (by hook or crook if ...
user avatar
  • 221k
11 votes
2 answers
4k views

Mojave iCloud Keychain Copy & Paste Error

I am trying to copy iCloud web form passwords to a local keychain as per this tutorial. However, I keep on getting the following error. Text: An error has occurred. Unable to add an item to the ...
user avatar
  • 9,369
11 votes
2 answers
53k views

"Unable to obtain authorization for this operation" when trying to reset my default keychain

I've not been able to save new passwords to my keychain lately. In addition, I can't view any of my passwords. I'll open Keychain Access, pick a login entry, click the Show Password checkbox, and ...
user avatar
8 votes
3 answers
8k views

iCloud Keychain refuses to setup on Catalina

I'm running the macOS Catalina public beta on a partition of my 2012 MacBook Air. I've been trying to get iCloud Keychain to work (the only thing holding me back from upgrading my main partition), but ...
user avatar
6 votes
1 answer
415 views

Does Apple save a (hashed) version of my device passwords?

As earlier described in this question, I was asked today by my iPad to enter the user account password of my MacBook, and my MacBook later asked me to provide the passcode of my iPad. I'm specifically ...
user avatar
  • 161
2 votes
2 answers
16k views

Help! Lost admin password for Mac OS X server 10.9

While our netwrokd administrator was admitted to a hospital for an emergency surgery (he is now in coma), being as a temporary delegate, I was ordered by our Institution to turn OFF Mail funciton and ...
user avatar
2 votes
2 answers
5k views

Google Chrome vs my Keychain

Since I've left Chrome as my main browser, every time I use it as secondary browser, Chrome enters in an eternal loop requesting my password to access each keychain bundle of my system. No matter how ...
user avatar
0 votes
3 answers
6k views

iMac not logging probably due to keychains problem

iMac OS X Lion. I have 2 accounts with password. On the first account, I was messing up the keychains thing. If I recall correctly, I think I deleted all private keys I had and added exported keys ...
user avatar
  • 1,502
14 votes
1 answer
11k views

How can I undo "always allow" in keychain item

By mistake, I clicked on "always allow" on a file in my keychain on the Mac. How do I undo this and restrict access? I tried to correct it by clicking on Access Control. There I selected "confirm ...
user avatar
  • 141
5 votes
3 answers
11k views

Stolen iPhone: what is the security risk?

Unfortunately today my iPhone 6 Plus was stolen from my pocket on the streets of Sao Paulo. I did not have cellular data turned on. I had Touch ID and a 4 digit number lock in place. How much data ...
user avatar
  • 209
4 votes
3 answers
23k views

"Accountsd wants to use the 'iCloud' keychain"

I, too, am suddenly getting this message. I don't see a Keychain First Aid option in Keychain, and the two Login Keychain Settings were already unlocked. Any other ideas for what the error message ...
user avatar
4 votes
1 answer
657 views

Mac OS X, passwd, and keychain

As far as I'm aware, passwd doesn't change the keychain password on Mac OS X. Is there a way to do this properly from the command line with a single command? If not, what about with multiple commands?
user avatar
  • 933
41 votes
7 answers
18k views

"Unknown Error = -2,147,414,007" on creating certificate with Certificate Assistant

I am getting "Unknown Error = -2,147,414,007" on creating a certificate through the Keychain app. Steps to Recreate: Open the Keychain Access application. Select Certificate Assistant > ...
user avatar
47 votes
4 answers
126k views

How can I add a private key to my keychain?

I am trying to add myRepositoryKey to my Mac keychain utility so . I exported this item in OpenRSA format from Putty. When I try to use Import Items, the file is unselectable. What do I need to do to ...
user avatar
  • 4,173
42 votes
5 answers
23k views

How to tell why macOS thinks that a certificate is revoked?

I cannot access Wikipedia on both my Macs. macOS says that the intermediate certificate used to sign Wikipedia’s certificate (GlobalSign Organization Validation CA - SHA256 - G2) has been revoked. I ...
user avatar
  • 815
21 votes
5 answers
19k views

How do you get a Cisco VPN connection to remember its password?

The Problem I've got a Cisco IPSEC VPN connection in my network settings on a Yosemite machine. It works fine, aside from prompting for a password on every single connection. The saved password is ...
user avatar
  • 2,595
23 votes
4 answers
17k views

How is the System Keychain secured in OS X?

I'm looking for something either like this security white paper for iOS except for OS X or even better, some kind of security audit report from an independent expert. After reading through ...
user avatar
  • 5,822