Swiftpack.co -  epitonium/SecuritySuite as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
epitonium/SecuritySuite
📦 Swift Package 🔸 iOS platform security & anti-tampering Swift library.
.package(url: "https://github.com/epitonium/SecuritySuite.git", from: "1.0.0")

SecuritySuite

Swift Package

Description

iOS platform security & anti-tampering Swift library. Refactored version of the IOSSecuritySuite by securing.

Integration

Use Swift Package Manager to integrate.

Usage

// Setup.
SecuritySuite.setup(.enabled(isJailBrokenCheckEnabled: true,
                             isDebuggerCheckEnabled: true,
                             isEmulatorCheckEnabled: true,
                             isReverseEngineeringCheckEnabled: true))

// Get security check result.
// If the first true condition check was met the later checks are stopped.
switch SecuritySuite.checkSecurityIssues() {
case .succes:
    // Proceed to normal flow.
case .failure(let securityError):
    // Present cannot proceed scene.
}

Logging

SecuritySuite uses its own printing methods to log errors or success by default, but if you want those messages to pass through your own logging system create an adapter instance by conforming to SecuritySuiteLogAdapter protocol and pass it as log parameter when calling setup function or you can completely disable it.

License

SecuritySuite is distributed under the terms and conditions of the MIT license.

GitHub

link
Stars: 0
Last commit: 6 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Related Packages

Release Notes

1.0.0
6 weeks ago

First version.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API