1631 Commits

Author SHA1 Message Date
Matt Rubin d78a48c5a5 Merge pull request #272 from mattrubin/bump-supported-os-versions
Bump deployment targets to the current version minus one
2024-08-19 10:05:02 -04:00
Matt Rubin d990b9d014 Drop unsupported runtimes from GitHub Actions test config 2024-08-19 09:18:50 -04:00
Matt Rubin 3f5c3ed7ef Bump deployment targets to the current version minus one 2024-08-19 08:59:16 -04:00
Matt Rubin b00df04268 Merge pull request #271 from mattrubin/modernize
Modernize for Xcode 15.4 and Swift 5.10
2024-08-19 08:53:51 -04:00
Matt Rubin 79a812f4b9 Bump swift-tools-version to 5.10 2024-08-19 08:14:00 -04:00
Matt Rubin 0249bd3b4f Merge pull request #269 from rkramvs/bugfix_swift_package_import
swift tools version updated to 5.9
2024-08-19 08:12:47 -04:00
Matt Rubin b9ef4072ed Merge pull request #268 from leoparenti/develop
Update Package.swift for Swift 5.8
2024-08-19 08:10:19 -04:00
Matt Rubin 038be6f2a4 Fix and update GitHub Actions workflow for Xcode builds
- Update action dependencies
- Switch from `xcversion` to `xcodes`
- Update target devices and runtimes
2024-08-18 23:28:32 -04:00
Matt Rubin 2f5d43c337 Merge package-dependencies into modernize 2024-08-18 20:38:23 -04:00
Matt Rubin 9fb9cf7b20 Add .git suffix to package dependency URL
This is consistent with the URL in Package.swift, and the Git URL that GitHub provides.
2024-08-18 20:33:21 -04:00
Matt Rubin aacd0ecc2f Update GitHub Actions configs 2024-08-18 16:37:21 -04:00
Matt Rubin 42964a4aea Fix SwiftLint violations 2024-08-18 15:05:21 -04:00
Matt Rubin 7d99656d71 Update project configuration for Xcode 15.4 2024-08-18 14:58:28 -04:00
rkram ad83a11748 swift tools version updated to 5.9 2024-01-20 11:52:55 +05:30
leoparenti c83f9f852b Update Package.swift 2023-10-23 17:14:23 +02:00
Matt Rubin 66f284e22c Merge pull request #262 from mattrubin/readme
Update README
4.0.0-pre.0
2023-02-10 22:49:38 -05:00
Matt Rubin 901b43f098 Add SPM installation instructions to the README 2023-02-10 22:28:10 -05:00
Matt Rubin efc3945baf Add macOS to the platforms badge in the README 2023-02-10 22:24:18 -05:00
Matt Rubin 59cf3af5f7 Merge pull request #259 from mattrubin/legacy-tests
Convert legacy tests to Swift
2022-12-28 22:20:15 -05:00
Matt Rubin 13231d4b45 Remove unused invalid token fallbacks in token deserialization tests 2022-12-28 21:41:19 -05:00
Matt Rubin fbd02eb514 Delete OneTimePasswordLegacyTests 2022-12-28 21:12:34 -05:00
Matt Rubin 0d1d61a06f Convert token serialization "brute force" tests to Swift 2022-12-28 21:12:34 -05:00
Matt Rubin d4b8b7a4fc Convert more legacy Token serialization tests to Swift 2022-12-28 21:12:34 -05:00
Matt Rubin 4e4915af10 Convert some legacy Token serialization tests to Swift 2022-12-28 21:12:34 -05:00
Matt Rubin 589c6b70c1 Merge pull request #258 from mattrubin/refactor-authentication-code
Refactor HMAC generation
2022-12-28 18:31:22 -05:00
Matt Rubin b2624c8691 Merge branch 'develop' into refactor-authentication-code 2022-12-28 18:06:47 -05:00
Matt Rubin 0904254666 Merge pull request #257 from mattrubin/github-actions-set-output
Migrate GitHub Actions off of deprecated `set-output` command
2022-12-28 17:23:08 -05:00
Matt Rubin 0254da27aa Refactor HMAC generation into Generator
Now that the code required is much simpler, there's no need for a separate file.
2022-12-28 16:52:42 -05:00
Matt Rubin a09ee52207 Refactor HMAC generation to avoid code repetition 2022-12-28 16:52:42 -05:00
Matt Rubin b8d5446367 Migrate GitHub Actions off of deprecated set-output command
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
2022-12-28 16:51:42 -05:00
Matt Rubin 742bdd7350 Merge pull request #256 from mattrubin/cryptokit-linker-flags
Delete linker flags for weak-linking CryptoKit
2022-12-28 16:46:37 -05:00
Matt Rubin 4333f7fbc4 Update the changelog 2022-12-28 15:30:48 -05:00
Matt Rubin d604ec7020 Delete linker flags for weak-linking CryptoKit
CryptoKit is required as of https://github.com/mattrubin/OneTimePassword/pull/230
2022-12-28 15:29:21 -05:00
Matt Rubin ac12662c79 Merge pull request #255 from mattrubin/version-bump
Bump the version number to 4.0
2022-12-28 15:29:03 -05:00
Matt Rubin 12849c6873 Update the changelog 2022-12-28 15:01:24 -05:00
Matt Rubin 81a8e9ba17 Bump the version number to 4.0
The upcoming release will include source-breaking changes.
2022-12-28 14:41:25 -05:00
Matt Rubin 10fb9b8c7c Merge pull request #254 from mattrubin/throwing-initializers
Replace optional initializers with throwing initializers
2022-12-28 13:57:35 -05:00
Matt Rubin b526f18b7c Improve doc comment for Token(url㊙️) 2022-12-28 13:35:28 -05:00
Matt Rubin c79a6a16f8 Tweak XCTAssertThrowsError handler closures 2022-12-28 13:17:31 -05:00
Matt Rubin fb7a259e04 Simplify handling of errors thrown in TokenSerializationTests
This change will cause `testSerialization` to return on the first thrown error, instead of continuing to try every combination of token parameters.
2022-12-28 13:07:35 -05:00
Matt Rubin 7471afc7a5 Improve doc comment for Generator's throwing initializer 2022-12-28 13:01:59 -05:00
Matt Rubin 160d90d118 Merge develop into throwing-initializers 2022-12-28 12:30:18 -05:00
Matt Rubin c86bf7f737 Update references to the now-deleted xcworkspace file 2022-12-23 02:35:57 -05:00
Matt Rubin b4279ca307 Delete Base32 submodule and xcworkspace 2022-12-23 02:35:57 -05:00
Matt Rubin c1b6d307a3 Depend on Base32 via an Xcode package dependency 2022-12-23 02:35:57 -05:00
Matt Rubin 8e44891c69 Merge pull request #253 from mattrubin/swiftlint
SwiftLint updates
2022-12-23 02:35:19 -05:00
Matt Rubin 4c276c1b2a Delete a stray swiftlint:enable comment 2022-12-23 01:47:14 -05:00
Matt Rubin 7aeba6a81b Add new SwiftLint opt-in rules (and remove one that is now on by default) 2022-12-23 01:47:14 -05:00
Matt Rubin 923e0bb5f2 Disable a large_tuple warning in GeneratorTests.swift 2022-12-23 01:47:14 -05:00
Matt Rubin 70464123c6 [Lint] Prefer Self in static references
The `prefer_self_in_static_references` rule can't be enabled because it also triggers on constructor calls.
2022-12-23 01:47:14 -05:00