Commit graph

1546 commits

Author SHA1 Message Date
Lysann Tranvouez
8d4f3af475 decryption: GopenPGPInterface tries to identify decryption key from message metadata
So the system can have multiple private keys, and the caller doesn't
need to specify a specific one regardless.

Ideally: If there are several matches we could also take into account
which keys have already been unlocked (or passthrases saved in
keychain). Right now it only grabs the first match.
2026-03-11 13:41:59 +01:00
Lysann Tranvouez
f1cb5d27be reference new version of gopenpgp with a new helper (HelperPassGetHexSubkeyIDsJSON) 2026-03-11 13:39:55 +01:00
Lysann Tranvouez
2ae751044c decryption: always request key passphrase based on key ID 2026-03-11 13:32:21 +01:00
Lysann Tranvouez
d136175d93 add detailed API tests checking how calls to PGPAgent propagate to the underlying interface
this is refactoring support, so that we can notice changes in how the
underlying APIs are called, and make changes intentionally when needed,
instead of accidentally.
2026-03-11 11:36:36 +01:00
Lysann Tranvouez
76db529764 add long fingerprints for test keys 2026-03-11 10:34:54 +01:00
Lysann Tranvouez
c4f81c16eb move variables into smaller scope 2026-03-10 16:51:40 +01:00
Lysann Tranvouez
f0c21dd880 Merge branch 'feature/more-tests-pr' into feature/multi-key-support 2026-03-09 23:08:48 +01:00
Lysann Tranvouez
55b682b4b0 improve directory deletion/editing handling 2026-03-09 22:58:05 +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
c6a4f80503 add initPasswordEntityCoreData tests 2026-03-09 22:58:05 +01:00
Lysann Tranvouez
e1da1988b4 add save and decrypt round trip 2026-03-09 22:58:05 +01:00
Lysann Tranvouez
e195280efc test resetting local changes 2026-03-09 22:58:05 +01:00
Lysann Tranvouez
c3bfa861f4 check file system and commits upon changes to store 2026-03-09 22:58:05 +01:00
Lysann Tranvouez
98646242e0 fix deleting directory
this used to corrupt the local state (password entities remained in DB
but files/dirs were removed from git and disk)
2026-03-09 22:58:05 +01:00
Lysann Tranvouez
12c8c04203 test add, edit, delete 2026-03-09 22:58:05 +01:00
Lysann Tranvouez
98ad323431 check notification center notifications 2026-03-09 22:58:05 +01:00
Lysann Tranvouez
e5650ec756 add encrypt-save-decrypt roundtrip test 2026-03-09 22:58:05 +01:00
Lysann Tranvouez
60999c7eab more tests: entity fetching + erase 2026-03-09 22:56:27 +01:00
Lysann Tranvouez
ef188fcfba basic core data tests upon clone 2026-03-09 22:56:27 +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
17b6bb8bc2 fix test cleanup 2026-03-09 22:20:04 +01:00
Lysann Tranvouez
c30e1922f1 feature implementation plans 2026-03-09 15:02:48 +01:00
Lysann Tranvouez
7db85c9939 DO NOT MERGE
local development signing fixes
2026-03-08 21:08:36 +01:00
dependabot[bot]
53ae6426bd
Bump faraday from 1.10.4 to 1.10.5 (#710)
Some checks failed
Deploying / build (release) (push) Has been cancelled
Testing / testing (push) Has been cancelled
Deploying / build (beta) (push) Has been cancelled
Bumps [faraday](https://github.com/lostisland/faraday) from 1.10.4 to 1.10.5.
- [Release notes](https://github.com/lostisland/faraday/releases)
- [Changelog](https://github.com/lostisland/faraday/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lostisland/faraday/compare/v1.10.4...v1.10.5)

---
updated-dependencies:
- dependency-name: faraday
  dependency-version: 1.10.5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-12 16:22:19 +01:00
dependabot[bot]
1a92996a47
Bump rexml from 3.3.9 to 3.4.2 (#702) 2025-09-17 23:28:05 +02: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
dd4dd174d4
Update password in the destination controller when save edit (#688) 2025-03-02 11:43:46 -08:00
Mingshen Sun
0f482709ae Version bump 2025-02-28 20:24:01 -08:00
Mingshen Sun
30ff525224 Update actions to macos-15 2025-02-27 21:29:08 -08:00
Allan Feldman
cb8305f014
(Fix) autofill / extensions and restore persistent storage location (#686) 2025-02-26 20:40:07 -08:00
Mingshen Sun
4ceed65182 Version bump to 0.18.0 2025-02-23 19:40:07 -08:00
Mingshen Sun
fddd0c2563
Show merge conflict file names in the error message (#681) 2025-02-16 13:01:42 -08:00
Mingshen Sun
1d6785511a
Fix symlinks issue (#680) 2025-02-16 10:54:00 -08:00
Mingshen Sun
3292bd3652
Resolving symlinks in path (#679) 2025-02-15 23:38:23 -08:00
Mingshen Sun
1e79e12593
Cleanup duplicated code (#678) 2025-02-08 14:26:45 -08:00
Mingshen Sun
b0a971507f
Fix ui minor issue (#676) 2025-02-07 20:09:17 -08:00
Mingshen Sun
a43f2b017c
Set auto migration to false (#675) 2025-02-07 18:15:39 -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
Giuseppe Ranieri
5a1458e196
Fix typo (#673) 2025-01-28 20:17:27 +01: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
fc35805565 Remove restore key for cache of action 2024-12-14 15:02:57 -08:00
Mingshen Sun
1b84e28a44 Update gopenpgp to v2.8.1 with passforios patches 2024-12-14 12:19:42 -08:00
Mingshen Sun
8acf0cfea4 Version bump to 0.16.0 2024-12-09 20:27:39 -08:00
Mingshen Sun
c5d9d258d8
Use createPGPMessage instead of CryptoNewPGPMessage to support ASCII-armored password with YubiKey (#658) 2024-11-30 11:29:27 -08:00