Keychain (software)
Keychain is a password management system developed by Apple for macOS. It was introduced with Mac OS 8.6, and was included in all subsequent versions of the operating system, as well as in iOS. A keychain can contain various types of data: passwords (for websites, FTP servers, SSH accounts, network shares, wireless networks, groupware applications, encrypted disk images), private keys, certificates, and secure notes. Some data, primarily passwords, in the Keychain are visible and editable using a user-friendly interface in Passwords, a built in app in macOS Sequoia and iOS 18 and available in System Settings/Settings in earlier versions of Apple's operating systems.
Keychain is a password management system developed by Apple for macOS. It was introduced with Mac OS 8.6, and was included in all subsequent versions of the operating system, as well as in iOS. A keychain can contain various types of data: passwords (for websites, FTP servers, SSH accounts, network shares, wireless networks, groupware applications, encrypted disk images), private keys, certificates, and secure notes. Some data, primarily passwords, in the Keychain are visible and editable using a user-friendly interface in Passwords, a built in app in macOS Sequoia and iOS 18 and available in System Settings/Settings in earlier versions of Apple's operating systems. ==History== Keychains were initially developed for Apple's e-mail system, PowerTalk, in the early 1990s. Among its many features, PowerTalk used plug-ins that allowed mail to be retrieved from a wide variety of mail servers and online services. The keychain concept naturally "fell out" of this code, and was used in PowerTalk to manage all of a user's various login credentials for the various e-mail systems PowerTalk could connect to. The passwords were not easily retrievable due to the encryption, yet the simplicity of the interface allowed the user to select a different password for every system without fear of forgetting them, as a single password would open the file and return them all. At the time, implementations of this concept were not available on other platforms. Keychain was one of the few parts of PowerTalk that was obviously useful "on its own", which suggested it should be promoted to become a part of the basic Mac OS. But due to internal politics, it was kept inside the PowerTalk system and, therefore, available to very few Mac users. It was not until the return of Steve Jobs in 1997 that Keychain concept was revived from the now-discontinued PowerTalk. By this point in time the concept was no longer so unusual, but it was still rare to see a keychain system that was not associated with a particular piece of application software, typically a web browser. Keychain was later made a standard part of Mac OS 9, and was included in Mac OS X in the first commercial versions. ==Locking and unlocking== The default keychain file is the login keychain, typically unlocked on login by the user's login password, although the password for this keychain can instead be different from a user's login password, adding security at the expense of some convenience. The Keychain Access application does not permit setting an empty password on a keychain. The keychain may be set to be automatically "locked" if the computer has been idle for a time, and can be locked manually from the Keychain Access application. When locked, the password has to be re-entered next time the keychain is accessed, to unlock it. Overwriting the file in ~/Library/Keychains/ with a new one (e.g. as part of a restore operation) also causes the keychain to lock and a password is required at next access. ==Password synchronization== If the login keychain is protected by the login password, then the keychain's password will be changed whenever the login password is changed from within a logged-in session on macOS. On a shared Mac/non-Mac network, it is possible for the login keychain's password to lose synchronization if the user's login password is changed from a non-Mac system. Also, if the password is changed from a directory service like Active Directory or Open Directory, or if the password is changed from another admin account e.g. using the System Preferences. Some network administrators react to this by deleting the keychain file on logout, so that a new one will be created next time the user logs in. This means keychain passwords will not be remembered from one session to the next, even if the login password has not been changed. If this happens, the user can restore the keychain file in ~/Library/Keychains/ from a backup, but doing so will lock the keychain, which will then need to be unlocked at next use. ==Third-party software for keychain synchronization== There was a 3rd party software application developed, that enabled synchronization of personal keychains generated using keychain access in Mac OS X, these standard keychain access - generated users keychains could then be synchronised between devices (iPhones - desktop Apple computers), using a pair of keychain synchronization apps developed by Patrick Stein of Jinx Software, one for Mac OS X and another for iOS called Keychain2Go. Keychain2Go could not be successfully updated by the developer to account for restrictions that Apple made to Keychain and access to Keychain in Mac OS X Sierra 10.12. ==Security== Keychain is distributed with both iOS and macOS. The iOS version is simpler because applications that run on mobile devices typically need only very basic Keychain features. For example, features such as ACLs (Access Control Lists) and sharing Keychain items between different apps are not present. Thus, iOS Keychain items are only accessible to the app that created them. As Mac users’ default storage for sensitive information, Keychain is a prime target for security attacks. In 2019, 18-year-old German security researcher Linus Henze demonstrated his hack, dubbed KeySteal, that grabs passwords from the Keychain. Initially, he withheld details of the hack, demanding Apple set up a bug bounty for macOS. Apple had however not done so when Henze subsequently revealed the hack. It utilized Safari's access to security services, disguised as a utility in macOS that enables IT administrators to manipulate keychains. ==See also== List of password managers ==References==
References
- Mac OS X 10.5 Help - Changing your keychain password · retrieved 2026-11-17 · rev 1338180381
Cite this reference
MLA "Mac OS X 10.5 Help - Changing your keychain password." "Mac OS X 10. 2026-11-17. https://web.archive.org/web/20120531093508/http://docs.info.apple.com/article.html?path=Mac%2F10.5%2Fen%2F9066.html. Accessed 24 November 2026.
Chicago "Mac OS X 10.5 Help - Changing your keychain password." "Mac OS X 10. 2026-11-17. https://web.archive.org/web/20120531093508/http://docs.info.apple.com/article.html?path=Mac%2F10.5%2Fen%2F9066.html.
APA "Mac OS X 10. (2026). Mac OS X 10.5 Help - Changing your keychain password. Retrieved November 24, 2026, from https://web.archive.org/web/20120531093508/http://docs.info.apple.com/article.html?path=Mac%2F10.5%2Fen%2F9066.html
- Mac OS X 10.4 Help - Changing your keychain password · retrieved 2026-11-17 · rev 1338180381
Cite this reference
MLA "Mac OS X 10.4 Help - Changing your keychain password." "Mac OS X 10. 2026-11-17. https://web.archive.org/web/20120531093615/http://docs.info.apple.com/article.html?path=Mac%2F10.4%2Fen%2Fmh463.html. Accessed 24 November 2026.
Chicago "Mac OS X 10.4 Help - Changing your keychain password." "Mac OS X 10. 2026-11-17. https://web.archive.org/web/20120531093615/http://docs.info.apple.com/article.html?path=Mac%2F10.4%2Fen%2Fmh463.html.
APA "Mac OS X 10. (2026). Mac OS X 10.4 Help - Changing your keychain password. Retrieved November 24, 2026, from https://web.archive.org/web/20120531093615/http://docs.info.apple.com/article.html?path=Mac%2F10.4%2Fen%2Fmh463.html
- Keychain data protection · retrieved 2026-11-17 · rev 1338180381
Cite this reference
MLA "Keychain data protection." 2026-11-17. https://web.archive.org/web/20211220080716/https://support.apple.com/guide/security/keychain-data-protection-secb0694df1a/web. Accessed 24 November 2026.
Chicago "Keychain data protection." 2026-11-17. https://web.archive.org/web/20211220080716/https://support.apple.com/guide/security/keychain-data-protection-secb0694df1a/web.
APA encyclopegia.org. (2026). Keychain data protection. Retrieved November 24, 2026, from https://web.archive.org/web/20211220080716/https://support.apple.com/guide/security/keychain-data-protection-secb0694df1a/web
- Mac OS X 10.5 Help: Changing your keychain password · retrieved 2026-11-17 · rev 1338180381
Cite this reference
MLA "Mac OS X 10.5 Help: Changing your keychain password." "Mac OS X 10. 2026-11-17. https://web.archive.org/web/20110613180425/http://docs.info.apple.com/article.html?path=Mac%2F10.5%2Fen%2F9066.html. Accessed 24 November 2026.
Chicago "Mac OS X 10.5 Help: Changing your keychain password." "Mac OS X 10. 2026-11-17. https://web.archive.org/web/20110613180425/http://docs.info.apple.com/article.html?path=Mac%2F10.5%2Fen%2F9066.html.
APA "Mac OS X 10. (2026). Mac OS X 10.5 Help: Changing your keychain password. Retrieved November 24, 2026, from https://web.archive.org/web/20110613180425/http://docs.info.apple.com/article.html?path=Mac%2F10.5%2Fen%2F9066.html
- Mac OS X 10.4 Help: Locking and unlocking your keychain · retrieved 2026-11-17 · rev 1338180381
Cite this reference
MLA "Mac OS X 10.4 Help: Locking and unlocking your keychain." "Mac OS X 10. 2026-11-17. https://web.archive.org/web/20110613180521/http://docs.info.apple.com/article.html?path=Mac%2F10.4%2Fen%2Fmh848.html. Accessed 24 November 2026.
Chicago "Mac OS X 10.4 Help: Locking and unlocking your keychain." "Mac OS X 10. 2026-11-17. https://web.archive.org/web/20110613180521/http://docs.info.apple.com/article.html?path=Mac%2F10.4%2Fen%2Fmh848.html.
APA "Mac OS X 10. (2026). Mac OS X 10.4 Help: Locking and unlocking your keychain. Retrieved November 24, 2026, from https://web.archive.org/web/20110613180521/http://docs.info.apple.com/article.html?path=Mac%2F10.4%2Fen%2Fmh848.html
- Keychain2go keychain synhcronisation software · retrieved 2026-11-17 · rev 1338180381
Cite this reference
MLA "Keychain2go keychain synhcronisation software." Stein, Patrick. 2026-11-17. https://web.archive.org/web/20230531040112/https://www.jinx.de/Keychain2Go.html. Accessed 24 November 2026.
Chicago "Keychain2go keychain synhcronisation software." Stein, Patrick. 2026-11-17. https://web.archive.org/web/20230531040112/https://www.jinx.de/Keychain2Go.html.
APA Stein, Patrick. (2026). Keychain2go keychain synhcronisation software. Retrieved November 24, 2026, from https://web.archive.org/web/20230531040112/https://www.jinx.de/Keychain2Go.html
- The Tricky Shenanigans Behind a Stealthy Apple Keychain Attack · retrieved 2026-11-17 · rev 1338180381
Cite this reference
MLA "The Tricky Shenanigans Behind a Stealthy Apple Keychain Attack." Newman, Lily Hay (June 1, 2019). 2026-11-17. https://www.wired.com/story/keysteal-apple-keychain-attack-shenanigans/. Accessed 24 November 2026.
Chicago "The Tricky Shenanigans Behind a Stealthy Apple Keychain Attack." Newman, Lily Hay (June 1, 2019). 2026-11-17. https://www.wired.com/story/keysteal-apple-keychain-attack-shenanigans/.
APA Newman, Lily Hay (June 1, 2019). (2026). The Tricky Shenanigans Behind a Stealthy Apple Keychain Attack. Retrieved November 24, 2026, from https://www.wired.com/story/keysteal-apple-keychain-attack-shenanigans/
- Source Browser · retrieved 2026-11-17 · rev 1338180381
Cite this reference
MLA "Source Browser." Apple Inc. 2026-11-17. https://web.archive.org/web/20120307223051/http://www.opensource.apple.com/source/libsecurity_keychain/libsecurity_keychain-27723/. Accessed 24 November 2026.
Chicago "Source Browser." Apple Inc. 2026-11-17. https://web.archive.org/web/20120307223051/http://www.opensource.apple.com/source/libsecurity_keychain/libsecurity_keychain-27723/.
APA Apple Inc. (2026). Source Browser. Retrieved November 24, 2026, from https://web.archive.org/web/20120307223051/http://www.opensource.apple.com/source/libsecurity_keychain/libsecurity_keychain-27723/
Cite this article
MLA
"Keychain (software)." encyclopegia.org, 2026, https://encyclopegia.org/wiki/keychain-software. Accessed 24 November 2026.
Chicago
"Keychain (software)." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/keychain-software.
APA
encyclopegia.org. (2026). Keychain (software). Retrieved November 24, 2026, from https://encyclopegia.org/wiki/keychain-software
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON