{"repo":"dm-zharov/swift-security","free":true,"listed":false,"github":"https://github.com/dm-zharov/swift-security","clone":"git clone https://github.com/dm-zharov/swift-security.git","description":"Modern Swift framework for Keychain API. Supports iOS, macOS, watchOS, tvOS and visionOS","language":"Swift","stars":318,"topics":["keychain","security","swift","swiftui","cryptokit","identity","pkcs12","x509","certificate"],"license":"MIT","category":"security-tools","readme_excerpt":"SwiftSecurity SwiftSecurity is a modern Swift API for Apple's Security framework (Keychain API, SharedWebCredentials API, Cryptography, etc). Secure the data your app manages in a much easier way with compile-time checks. Features How does SwiftSecurity differ from other popular frameworks? Supports every Keychain item (Generic & Internet Password, Key, Certificate and Identity). Prevents usage of an incorrect set of attributes for Keychain items. Provides consistent behavior across platforms. Verified through apple-oss-distributions/Security. Follows recommendations from DTS Engineer. Excludes legacy from OS X. Compatible with CryptoKit, SwiftUI and apple/swift-certificates. Installation Requirements iOS 14.0+ / macOS 11.0+ / Mac Catalyst 14.0+ / watchOS 7.0+ / tvOS 14.0+ / visionOS 1.0+ Swift 5.9 Swift Package Manager To use the SwiftSecurity , add the following dependency in your Package.swift : Finally, add import SwiftSecurity to your source code. Quick Start Basic Basic (SwiftUI) Web Credential A password for a website or an area on a server, that requires authentication. For example, if you need to store distinct ports credentials for the same user working on the same server, you might further characterize the query by specifying protection space. Get Attributes Error Handling SwiftSecurityError offers values for the most common issues. If case of the rare issue, you'll receive .underlyingSecurityError(error:) with an OSStatus code that can be matched with underlying S","default_branch":null,"files":null,"tree":[],"storefront":"/r/dm-zharov","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dm-zharov/swift-security/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}