Bram Kolkman a7cdef977b SecItem
* Added a SecItem enum to wrap existing security API functions
* Updated the SecError to easily create an error from an OSStatus
* Updated the SecError.Code to be more future proof and performant
* Removed the unused Keychain.swift file
2026-02-23 14:09:05 +01:00
2026-02-23 09:11:09 +00:00
2026-02-23 14:09:05 +01:00
2026-02-23 13:03:28 +00:00
2026-02-20 14:49:58 +00:00
2026-02-23 09:11:09 +00:00
2026-02-23 09:11:09 +00:00

Keychain

A Swift package for interacting with the Keychain.

Requirements

  • macOS 12+
  • Swift 6.2+

Package Structure

Keychain/
├── Package.swift
├── Package.resolved
└── Sources/
    └── Keychain/
        └── Keychain.swift

Dependencies

  • SwiftLintPlugins (≥ 0.63.2) — enforces Swift style and conventions at build time.

Usage

Add the package to your Package.swift dependencies and import Keychain in your Swift files.

Makefile

A Makefile is provided at the root of the repository to simplify common tasks.

Command Description
make build Builds the Swift package
make resolve Resolves package dependencies
make clean Removes build artifacts and .swiftpm

Build artifacts are placed in .build/ at the repository root (outside the package directory).

Description
A Swift package for the Keychain
Readme GPL-3.0 65 KiB
Languages
Swift 99.1%
Makefile 0.9%