If you're building macOS token driver extensions or integrating hardware security tokens with the system keychain, this covers the entire CryptoTokenKit stack. You'll find concrete implementations for TKTokenDriver subclasses, smart card APDU communication, PIN authentication flows, and how to expose token-backed keys as standard keychain items. The architecture split is clear: token extensions run macOS-only to bridge hardware to the system, while client apps on iOS 14+ can query those keychain items. Most useful if you're writing drivers for specific smart cards or USB tokens rather than just consuming existing ones. The session management and certificate authentication patterns are production-ready, not just API surface documentation.

skills.sh installs
3.2K
GitHub stars
1.3K
last updated
Aug 21, 2026

Install

$ npx -y skills add dpearson2699/swift-ios-skills --skill cryptotokenkit --agent claude-code

Installs into .claude/skills of the current project.

Files

CryptoTokenKit

Use CryptoTokenKit for token driver extensions, smart-card communication, token sessions, token-backed keychain integration, and certificate-based authentication in Swift 6.3 apps.

Platform availability: CryptoTokenKit classes are available across Apple platforms, but capability depends on extension point, entitlement, hardware, and OS version. The smart-card app extension flow for login/keychain unlock is macOS. TKSmartCardSlotManager.default is optional and returns nil unless smart-card access is enabled. iOS/iPadOS 26+ add NFC smart-card slots and registration.

Contents

Architecture Overview

Sponsors

Details

Repository
github.com/dpearson2699/swift-ios-skills
Categories
Backend & APIs, Security, DevOps & CI/CD, Mobile Development
First seen
May 16, 2026

More from dpearson2699/swift-ios-skills

All 98
1intellectronica avatarnano-banana-prointellectronica/agent-skillsGenerate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or up3.2Kskills.sh installs
2apify avatarapify-sdk-integrationapify/agent-skillsIntegrate Apify into an existing JavaScript/TypeScript or Python application using the apify-client package. Use when adding web scraping, automation, or data e3.2Kskills.sh installs
3vm0-ai avatarhackernewsvm0-ai/vm0-skillsHacker News API for stories and comments. Use when user mentions "Hacker News", "HN", "Y Combinator", or asks about tech news.3.1Kskills.sh installs
4himself65 avataryc-readerhimself65/finance-skillsLook up Y Combinator companies, batches, and startup ecosystem data using the yc-oss API (read-only). Use this skill whenever the user wants to research YC-back3.1Kskills.sh installs
5oracle avatardboracle/skillsOracle Database guidance for SQL, PL/SQL, SQLcl, ORDS, administration, app development, performance, security, migrations, and agent-safe database workflows. Us3.1Kskills.sh installs
6elastic avatarelasticsearch-authnelastic/agent-skillsAuthenticate to Elasticsearch using native, file-based, LDAP/AD, SAML, OIDC, Kerberos, JWT, or certificate realms. Use when connecting with credentials, choosin3Kskills.sh installs