Commit graph

272 commits

Author SHA1 Message Date
Lysann Tranvouez
f0c21dd880 Merge branch 'feature/more-tests-pr' into feature/multi-key-support 2026-03-09 23:08:48 +01:00
Lysann Tranvouez
b8b7e1f913 PersistenceController tests 2026-03-09 22:58:05 +01:00
Lysann Tranvouez
cde82d956b rename file to match contained class 2026-03-09 22:58:05 +01:00
Lysann Tranvouez
4c21ab99ad add tests for AppKeychain 2026-03-09 22:58:05 +01:00
Lysann Tranvouez
85972a02c3 include repo as text fixture, no need to clone from actual github 2026-03-09 22:56:27 +01:00
Lysann Tranvouez
7db85c9939 DO NOT MERGE
local development signing fixes
2026-03-08 21:08:36 +01:00
Mingshen Sun
c3e67967cc Update YubiKit to 4.7.0 2025-06-08 16:35:50 -07:00
Danny Mösch
4288c4e218
Update dependencies (#690) 2025-04-04 10:43:59 -07:00
Mingshen Sun
0f482709ae Version bump 2025-02-28 20:24:01 -08:00
Mingshen Sun
4ceed65182 Version bump to 0.18.0 2025-02-23 19:40:07 -08:00
Mingshen Sun
a69c4d16b1
Refactor git repository model (#674)
- Create a new model class for operations of Git repository.
- Refactor everything related with git.
- Add unit tests for git functions.
2025-02-02 22:18:16 -08:00
Mingshen Sun
d1de81d919
Refactor core data classes (#671) 2025-01-25 15:40:12 -08:00
Danny Mösch
ab453580ad
Update SwiftLint to version 0.58.x (#669) 2025-01-14 21:49:05 +01:00
Mingshen Sun
ebd26ecb12 Version bump to 0.17.0 2024-12-23 18:35:26 -08:00
Mingshen Sun
a410c9480a
Refactor YubiKey decryptor (#663)
- Add YKFSmartCardInterface extension to simplify smart card related calls
- Use async/await to rewrite callback closures
- Update YubiKeyConnection
- Better error handling
2024-12-15 21:08:27 -08:00
Mingshen Sun
8acf0cfea4 Version bump to 0.16.0 2024-12-09 20:27:39 -08:00
Danny Mösch
0d7e6fd6c6 Update to latest package versions 2024-11-29 00:18:30 +01:00
Danny Mösch
e297ef9086 Consume SVProgressHUD via SPM getting rid of Carthage 2024-11-29 00:18:30 +01:00
Danny Mösch
1bdf9d684b Rely on SPM plugins to consume SwiftLint and SwiftFormat
Use their latest releases and fix some violations and issues.

# Conflicts:
#	.github/workflows/linting.yml
#	.github/workflows/testing.yml
2024-11-29 00:18:30 +01:00
Mingshen Sun
a22e872a8c Version bump to 0.15.0 2023-03-22 18:49:47 -07:00
Mingshen Sun
14115ea266 Update Yubikit to 4.3 2023-03-19 14:08:31 -07:00
Mingshen Sun
bead9eaf21 Fix UI issue 2023-03-18 11:21:55 -07:00
Mingshen Sun
788adee1a7 Unify cell style for the password generator 2023-03-12 21:30:31 -07:00
Mingshen Sun
5a91db4f76 Fix warnings and deprecated APIs 2023-03-10 20:56:56 -08:00
Mingshen Sun
e6c1dc8dee
Fix missing Italian translation (#607) 2023-03-09 22:05:42 -08:00
Anton Krasovsky
6fa4968bec Update deployment target to 13.0 2023-03-09 11:40:33 -08:00
Mingshen Sun
c1376f873a Version bump to 0.14.0 2023-03-09 11:40:33 -08:00
Mingshen Sun
972cf20d34
Fix umbrella header warnings (#563) 2022-05-31 10:33:54 -07:00
Bradley Walters
0f98569d54
Update ObjectiveGit to 0.18-passforios (#561)
This should resolve an incompatibility with older iOS versions.
2022-05-23 15:28:09 -07:00
Mingshen Sun
440b0123f2 Fix building issues with XCode 2022-05-23 10:54:11 -07:00
Bradley Walters
6f5385fe4a
Force weak linking of CryptoTokenKit (#543)
Apple's CryptoTokenKit is only present in iOS 13.0+ however it exports
symbols with availability annotations going back to iOS 10.0.

In the Pass app we have a deployment target of iOS 12.0. Apple's
automatic weak linking system apparently only looks at the
symbol-level availability annotations so it assumes the symbols
we use will always be present (even though they won't pre-iOS-13).

We can work around this issue by forcing weak linking using the
"Optional" framework setting. (Note that this workaround would not
work if CryptoTokenKit was used from a third-party swift package.)

This is necessary to restore iOS 12 support after #533.

For further history see https://github.com/mssun/passforios/issues/539
2022-05-22 22:35:53 -07:00
Mingshen Sun
90f1f54a21 Fix building issue 2022-05-22 21:40:35 -07:00
Danny Moesch
2e951497ad
Update ObjectiveGit to version 0.17-passforios (#545) 2022-02-05 11:01:39 -08:00
Danny Moesch
71260f52aa
Update ObjectivePGP to version 0.99.2 (#544) 2022-02-04 20:54:36 -08:00
Mingshen Sun
955e50c3d3
Initial implementation of using YubiKey for decryption (#533) 2022-01-09 21:38:39 -08:00
Mingshen Sun
13804b79e6 Version bump to 0.13.0 2022-01-07 10:04:40 -08:00
Danny Moesch
819371f55e
Remove unused elements (#530) 2021-12-30 22:35:17 -08:00
Mingshen Sun
ff6a1edf62 Add confirmation prompt for removing keys (fix #491) 2021-12-29 16:19:12 -08:00
Mingshen Sun
c0582c8dba Embed SVProgressHUD framework 2021-12-28 19:28:38 -08:00
Danny Moesch
e5bd678aaa
Consume ObjectiveGit through a binary Swift package (#528) 2021-12-28 15:17:11 -08:00
Danny Moesch
cdedff0d4d
Use SwiftFormat version 0.49.x and enable some new rules (#527) 2021-12-27 17:57:11 -08:00
Mingshen Sun
08ce198334 Update OneTimePassword dependency 2021-12-27 17:19:48 -08:00
Danny Mösch
afe0397dcf
Update ObjectivePGP to version 0.99.0 (#521) 2021-10-21 12:28:16 -07:00
Danny Mösch
32b7c9b635
Some cleanup especially regarding method references (#516)
* Remove superfluous method arguments in method references

* Use 'Self' for internal static access

* Convert static to instance field in singleton class

* Remove class name prefix in references to local methods

* Remove nested frameworks in all extensions and frameworks
2021-10-02 20:46:07 -07:00
Danny Mösch
e1cbcb5d7a
Add notification action to copy OTP or just inform about the copied OTP (#513)
* Add notification action to copy OTP or just inform about the copied OTP

The notification either shows the current OTP which can be copied by a notification action or it shows just a hint to inform about the copied OTP. This depends on the new option "autoCopyOTP".

* Extract method

* Set type and style one-time
2021-10-01 10:32:14 -07:00
Mingshen Sun
f2ab400f4b
Support Steam OTP (#505) 2021-09-06 10:47:04 -07:00
Mingshen Sun
228f06a886
Fix Invalid Bundle issues in Swift Package 2021-08-31 18:21:36 -07:00
Mingshen Sun
a01e6116a2
Fix Invalid Bundle issues in Swift Package 2021-08-31 11:32:31 -07:00
Mingshen Sun
2afd533393 Fix CFBundleIdentifier Collision and Invalid Bundle issues when uploading to App Store Connect 2021-08-31 00:32:17 -07:00
Danny Mösch
77ca3ff383
Remove duplicate bundles from build products (#501)
Due to a bug in Xcode using SPM, dependencies used in internal frameworks are present multiple times in the built product. See for example:

    https://forums.swift.org/t/swift-package-binary-framework-issue/41922/3
    https://stackoverflow.com/questions/40005130/error-itms-90685-cfbundleidentifier-collision-there-is-more-than-one-bundle

This "hack" removes them from the internal framework and only includes all of them in the main application.
2021-08-30 15:00:06 -07:00