Repository navigation
Releases: kwtsms/kwtsms-swift
Releases · kwtsms/kwtsms-swift
Release list
0.3.0
Full Changelog: 0.2.0...0.3.0
0.2.0
What's New
Production OTP Example
- Complete send/verify flow with 9-step validation pipeline
- SHA-256 code hashing with per-code salt and constant-time comparison
- Two-tier rate limiting: per-IP (10/hr), per-phone (3/hr), verify brute-force guard (5/hr)
- 4-minute resend cooldown, 5-minute code expiry, max 3 wrong attempts
- OtpStoreProtocol database adapter interface with MemoryOtpStore implementation
- DeviceAttestVerifier protocol with Apple App Attest reference implementation
- TokenAuthenticator protocol for JWT/session-based 2FA flows
- Vapor and Hummingbird framework usage examples
CI & Security
- CodeQL security analysis (weekly + on push/PR)
- Dependabot for Swift packages and GitHub Actions
- Branch protection on main
Improvements
- Additional integration tests: single leading zero, country not in coverage
- Cleaned up .gitignore
- Updated all markdown files for consistency
Install
.package(url: "https://github.com/boxlinknet/kwtsms-swift.git", from: "0.2.0")