MacOS TIP: Keychain vs Keychain Access

Author: You.com AI enhanced with Claude 3 Sonnet, July 14, 2024

Editor: John Carter

Apple's Keychain and Keychain Access have been integral parts of macOS for securely

storing and managing passwords, encryption keys, and other sensitive information.

Here's an overview of their historical and present usage:

Keychain

The Keychain is a secure storage system introduced in macOS (previously called Mac

OS X) to store passwords, encryption keys, certificates, and other sensitive data. It uses

robust encryption to protect this information, which can only be accessed with the user's

login password or a specific keychain password.

Keychain Access

Keychain Access is a macOS application that provides a user interface for managing

the various keychains on a Mac. It allows users to view and edit the contents of their

keychains, including passwords, certificates, and secure notes. Keychain Access has

been a part of macOS since its early versions, providing a convenient way for users to

manage their sensitive information.

Historical Usage

The Keychain system and Keychain Access app have been integral components of

macOS since its inception. They have evolved over time to enhance security and

functionality:

1. Early Versions: In the initial releases of Mac OS X, Keychain Access was a basic

tool for managing passwords and encryption keys.

2. Improved Security: With each subsequent macOS release, Apple has

strengthened the security of the Keychain system, introducing features like access

control lists (ACLs) and better integration with other Apple services.

3. iCloud Keychain: With the introduction of iCloud Keychain in macOS Sierra

(2016), users could sync their passwords, credit card information, and other secure

data across their Apple devices.Present Usage

In the latest versions of macOS, Keychain and Keychain Access continue to play a

crucial role in password management and secure data storage:

1. Password Management: Keychain Access stores passwords for websites,

applications, and services, allowing users to autofill login credentials securely.

2. Secure Notes: Users can store encrypted notes, such as credit card information or

secure documents, within their keychains.

3. Certificate Management: Keychain Access manages digital certificates used for

secure communication and authentication.

4. iCloud Keychain Integration: iCloud Keychain synchronizes passwords, credit

card information, and other secure data across a user's Apple devices, ensuring

seamless access.

While the terminology and specific features have evolved, the core functionality of

Keychain and Keychain Access remains essential for macOS users to securely store

and manage their sensitive information across devices and services.

Creating a New Keychain:

When you create a new keychain using Keychain Access, it serves as an additional

secure storage location separate from the default keychains. To create a new keychain,

right-click in a blank part of the left sidebar of Keychain Access and select an option

(new or add) from the menu.

The main reasons for creating a new keychain include:

1. Separate Password: You can set a different password for the new keychain,

distinct from your user account password. This can provide an additional layer of

security if your user account password is compromised.2. Selective Access: You can control which applications or services have access to

the new keychain, allowing you to isolate sensitive information and grant access

only to specific applications.

3. Backup and Portability: New keychains can be easily backed up, copied, or

transferred to other Macs, providing a convenient way to manage and share

specific sets of credentials or secure data.

4. Organization: Creating multiple keychains can help you organize your sensitive

information based on different categories or purposes, such as separating work-

related credentials from personal ones.

While the default login and system keychains are essential for storing and managing

your day-to-day passwords and credentials, creating additional keychains can offer

more flexibility, security, and organizational benefits, depending on your specific needs.

1. Selecting "New": When you choose "New" from the "File" menu in Keychain

Access, it allows you to create a brand new keychain file. This is essentially a

separate container or database that can store passwords, certificates, and other

secure items independently from your existing keychains. You can create a different

password for each Keychain or use the same password used to log in. All Keychains

are stored in ~/Library/Keychains (where “~” is the user’s Home directory).

Creating a new keychain is useful when you want to:

• Organize your secure items into different logical groups or categories.

• Set a different password for the new keychain, separate from your login or

system keychain.

• Share or transfer a specific set of secure items with others by providing them

with the new keychain file.

2. Selecting "Add": When you choose "Add" from the menu, it allows you to add a

new secure item (like a password, secure note, certificate, or key) to an existing

keychain that is already open in Keychain Access.

Adding a new item is useful when you want to:

• Store a new password, secure note, or other sensitive information in your login

or system keychain.

• Add a new certificate or encryption key to an existing keychain for authentication

or encryption purposes.

• Organize your secure items within the same keychain by creating categories or

folders.

In summary:"New" creates a brand new keychain file, which acts as a separate container for storing

secure items.

"Add" allows you to add new secure items (like passwords, notes, certificates) to an

existing keychain that is already open and accessible in Keychain Access.

The choice between "New" and "Add" depends on whether you need to create a

separate keychain for organizational or sharing purposes, or if you simply want to add

new secure items to an existing keychain that you're already using.

The Proposed Apple Passwords App

Apple is set to introduce a new standalone app called "Passwords" that aims to

enhance and streamline the password management experience across its ecosystem of

devices and platforms.

Key Features and Functionality

Unified Password Manager:

The Passwords app will serve as a centralized hub for managing all your saved

passwords, passkeys, and verification codes across Apple devices, including Macs,

iPhones, iPads, and even the upcoming Vision Pro headset.

It will replace the current method of accessing passwords through individual app

preferences or system settings.

Cross-Platform Synchronization:

Passwords will sync seamlessly across macOS, iOS, iPadOS, and Vision Pro devices

using iCloud Keychain.

Notably, it will also sync with Windows PCs via the iCloud for Windows app, expanding

password management capabilities beyond Apple's ecosystem.

Improved Organization and Accessibility:

The app promises better methods for organizing and accessing your saved passwords,

logins, and other secure information.

It aims to provide a more user-friendly interface compared to the current iCloud

Keychain experience.

Security Alerts and Recommendations:

Passwords will likely incorporate security features like compromised password alerts

and recommendations for improving password strength and enabling two-factor

authentication.

Passkey Support:In line with Apple's push for passwordless authentication, the Passwords

app will support managing and using passkeys, which leverage public-key

cryptography for secure sign-ins.

Potential Benefits

1. Centralized Management: A dedicated app for managing passwords across

devices can streamline the user experience and make it easier to access and

update login credentials.

2. Cross-Platform Accessibility: Extending password synchronization to Windows

PCs addresses a long-standing limitation and caters to users who operate in multi-

platform environments.

3. Enhanced Security: Features like security alerts, recommendations, and passkey

support can help users maintain better password hygiene and adopt more secure

authentication methods.

While the Passwords app is still in development, it represents Apple's commitment to

improving password management and security for its users across various platforms

and devices.

-o-