SwiftFastPass

HuChengzhenGPL-3.0更新放缓

一款用 Swift 写的 iOS 离线密码管理器,基于 KeePassKit,支持多层加密、生物识别解锁和密码生成,中英双语界面,适合想要本地保管密码、不依赖云同步的用户。

A Swift-based, offline password manager built on KeePassKit, featuring multi-layer encryption, biometric authentication, password generation, and a fully localized English–Chinese interface. 一款基于 Swift 开发的本地离线密码管理器,使用 KeePassKit 构建,支持多层级加密、生物识别认证、密码生成,以及完整的中英双语界面本地化。

2.2发布于 2025-11-28 20:23 UTC362star21fork同步于 2026-11-07 07:33 UTC

怎么上手

README 里没有找到可直接复制的安装命令

README 里没有找到可直接复制的安装命令,请到 README 或官方文档查看安装方式。

硬件要求

README 没有说明硬件要求。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

这个项目的说明还在生成中,先参考下面「最近发版」和 README。

最近发版

1 个版本2.2
  1. 2.2SwiftFastPass 2.2 — App Store Synchronized Release最新正式版2025-11-28 · 2025-11-28 20:23 UTC

    📦 SwiftFastPass 2.2 — App Store Synchronized Release

    This is the exact source code for SwiftFastPass version 2.2, fully matching the binary submitted to Apple for review and currently published on the App Store. I guarantee with my personal credibility that this source code is identical to the version reviewed and approved by Apple, with no additions, removals, or modifications.

    You are welcome to:

    • ✅ Download the complete source code
    • ✅ Build and run it yourself
    • ✅ Inspect and verify the App Store version
    • ✅ Learn from or reference the implementation

    If you wish to fork, modify and redistribute, or re-publish any part of this project, you must:

    • Comply with the GPLv3 license
    • Retain the copyright and license notices
    • Clearly indicate any modifications you make

    SwiftFastPass remains fully open, transparent, and strictly offline with no data uploads, and continues to uphold the spirit of an open community.


    📦 SwiftFastPass 2.2 — App Store 同步版本发布

    这是 FastPass 在 App Store 上架的 2.2 版本 的完整对应源码发布。 我以个人信用保证:此版本的源码与我提交给 Apple 审核并在 App Store 上架的二进制完全一致,未作任何增删改。

    你可以:

    • ✅ 下载完整源代码
    • ✅ 自行编译运行
    • ✅ 查看、验证 App Store 版本的一切实现
    • ✅ 在自己的项目中参考或学习这些代码

    如果你希望 Fork / 修改后再发布 / 二次分发,则必须:

    • 遵守相同的 GPLv3 开源协议
    • 保留版权声明与协议条款
    • 明确标注修改内容

    SwiftFastPass 始终坚持公开透明、完全本地离线、不上传任何用户数据,并继续保持开放社区的精神。

    Below is the polished English version of your GitHub Release note, suitable for the v2.2 tag:

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    SwiftFastPass

    English | 简体中文

    SwiftFastPass is a fully open-source, offline password manager for iOS. It uses KeePassKit to read and write .kdbx databases, supports master password + key file encryption, biometric unlock, secure clipboard handling, and a built-in password generator.

    The app works entirely offline and does not upload or collect any user data — ideal for users who prefer the KeePass ecosystem on iOS.

    📌 SwiftFastPass has been fully redesigned in 2025 Featuring card-style UI, rounded lists, layered shadows, unified visual guidelines, a redesigned password generator, and upgraded LockView / Onboarding / Paywall screens.

    This repository contains the complete app source code, test suites, and all dependency configurations (CocoaPods / Carthage).



    ✨ Features

    🔐 Security & Encryption

    • Fully offline encrypted storage, no analytics or data uploads
    • Master password + key file combined encryption
    • Security-level driven Keychain policy via SecAccessControl
    • Face ID / Touch ID unlock with optional enable/disable

    🧩 AutoFill (Coming Soon)

    Based on the recent implementation plan:

    • System-level AutoFill Credential Provider
    • Reads encrypted credential snapshots stored in the App Group
    • Automatically registers KeePass entries as iOS-fillable identities

    (Detailed roadmap is included below.)

    🔑 Password Experience

    • Built-in password generator (length slider, charset toggles)
    • Large password preview
    • Secure clipboard cleaning
    • Automatic URL domain extraction for matching
    • Supports KeePass native entry icons

    🎨 Fully Redesigned UI (2025)

    To improve readability and modern aesthetics, most screens have been upgraded:

    • Card-style layout for major sections
    • Shadows & rounded corners on rows
    • Hero Header with gradient background and unified typography
    • Rounded Character Set selector
    • Refined Onboarding badges
    • Updated Paywall UI & subscription state card
    • More prominent and structured LockView design

    🌏 Complete Localization

    • English / Simplified Chinese (zh-Hans)
    • All strings fully synchronized across Base.lproj, en.lproj, and zh-Hans.lproj
    • Updated copy for newly redesigned UI and subscription screens

    📁 Project Structure

    SwiftFastPass/                # Main app code (UI, Models, Utils, PasswordCreator, AutoFillStore)
    SwiftFastPassAutoFill/        # AutoFill extension (WIP)
    SwiftFastPassTests/           # Unit tests
    SwiftFastPassUITests/         # UI automation tests
    Pods/、Carthage/              # Third-party dependencies
    Assets.xcassets/              # Icons & resources
    Base.lproj/ en.lproj/ zh-Hans.lproj/  # Localization files
    

    📦 Dependencies & Tools

    • Xcode 15+ / Swift 5+
    • CocoaPods (SnapKit, MenuItemKit, Eureka, etc.)
    • Carthage (KeePassKit framework requirements)

    🔧 Setup

    pod install
    carthage bootstrap --platform iOS --use-xcframeworks
    

    Open the project via .xcworkspace.


    ▶️ Build & Run

    xcodebuild -workspace SwiftFastPass.xcworkspace \
               -scheme SwiftFastPass \
               -destination "platform=iOS Simulator,name=iPhone 15"
    

    🧪 Testing

    xcodebuild test -workspace SwiftFastPass.xcworkspace \
                    -scheme SwiftFastPass \
                    -destination "platform=iOS Simulator,name=iPhone 15"
    
    • Every new feature should include at least one unit test
    • UI modifications must include updated UITest screenshots

    💳 Subscription (Pro) Implementation

    Your current App Store subscription setup:

    • FastPass Pro – Monthly
    • Product ID: com.huchengzhen.swiftfastpass.pro.monthly

    Apple's requirement:

    The first subscription must be submitted together with a new app version. Upload new build → App Store → In-App Purchases → Link subscription → Submit for review.

    The paywall uses the redesigned card-style UI and Hero Header. Subscription status is integrated using StoreKit 2.

    TestFlight Subscription Testing

    • Log in with a Sandbox Account (iOS 17+ removed the Sandbox toggle; logout via App Store → Avatar → Sign Out)
    • Sandbox subscriptions renew quickly and cost $0

    🔧 AutoFill Extension Roadmap

    1. App Group + AutoFill Entitlements

    Add to both main app and extension .entitlements:

    • com.apple.security.application-groups → group.com.huchengzhen.swiftfastpass
    • com.apple.developer.authentication-services.autofill-credential-provider

    2. Shared Storage Helper: AutoFillCredentialStore.swift

    • Convert KeePass entries → credential snapshots (uuid/title/username/password/domain)
    • Store securely in App Group as encrypted plist
    • Sync all entry mutations (add/edit/delete)

    3. Read Snapshots in the Extension

    • Match entries by domain
    • Provide suggestions in Safari / apps requiring passwords

    4. Register Credential Identities

    Use:

    ASCredentialIdentityStore.shared.save(...)
    

    Automatically registers all stored snapshots as iOS AutoFill identities.


    🧩 Coding Guidelines

    • 4-space indentation with same-line braces
    • Avoid large files; separate UI / logic / models
    • Prefer final class
    • Localization must be updated across all languages
    • Follow the 2025 FastPass Card-Style UI system
    • Subscription strings must use NSLocalizedString
    • Keychain policy is handled in FileSecretStore

    🔐 Security Notes

    • Do not commit certificates or private keys
    • Sensitive configuration should come from build settings or environment variables
    • Keychain uses strict SecAccessControl.biometryCurrentSet
    • Expose only required Objective-C symbols in bridging headers

    🤝 Contributing

    Issues and pull requests are welcome.

    PR requirements:

    1. Description and related issue
    2. Screenshots for UI changes
    3. Confirm xcodebuild test passes

    📜 License

    SwiftFastPass is distributed under the GNU GPLv3, consistent with KeePassKit.

    • Any distributed binary must remain GPL-licensed
    • Modified versions must keep the same license
    • Full copyright and license notices must be preserved