Swift-native smart-card and token driver guide for CryptoTokenKit, covering extensions, sessions, NFC slots, and keychain integration.

CCM score
69 of 100
skills.sh installs
3.4K
GitHub stars
1.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers token driver extensions, token sessions, smart-card APDU communication, token-backed keychain items, and certificate-based smart-card authentication
  • Includes driver, token, and session class patterns plus Info.plist registration via com.apple.ctk-tokens and PIN authentication with TKTokenSmartCardPINAuthOperation
  • Notes that TKSmartCardSlotManager.default returns nil unless smart-card access is enabled, and that the login/keychain extension flow is macOS-only
  • Designed for Swift 6.3 developers building macOS token extensions or iOS/iPadOS 26+ NFC smart-card integrations

Install

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

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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

Details

Repository
github.com/dpearson2699/swift-ios-skills
Categories
Mobile Apps, Security
First seen
May 16, 2026

More from dpearson2699/swift-ios-skills

All 94

Similar to Cryptotokenkit

More Mobile Apps