Commit graph

22 commits

Author SHA1 Message Date
Mingshen Sun
d1de81d919
Refactor core data classes (#671) 2025-01-25 15:40:12 -08: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
Martin Nowak
3ab334dd00 fix #488 - support user field for completion
- a few other backends use `user` instead of `username` or `login`
  (e.g. gopass-jsonapi, keepass2csv importer, fpm2 importer)
- shorter to type when extracting field separately (e.g. CLI/clipboard) tools
2023-01-22 09:44:41 -08:00
Danny Moesch
819371f55e
Remove unused elements (#530) 2021-12-30 22:35:17 -08:00
Danny Moesch
b7e08dfb9e Enable SwiftLint rule 'static_operator' and fix all violations 2021-10-07 19:48:57 +02:00
Mingshen Sun
f2ab400f4b
Support Steam OTP (#505) 2021-09-06 10:47:04 -07:00
Mingshen Sun
56a5cbe5cb Fix expired test sub key 2021-08-15 00:46:45 -07:00
Mingshen Sun
011762c4bd
Fix decryption issue when key without passphrase set 2021-01-10 15:01:21 -08:00
Danny Moesch
e8389eb262 Enable SwiftLint rule 'identifier_name' and handle all violations 2020-09-20 17:25:50 -07:00
Danny Moesch
79dbac4e9e Enable SwiftLint rule 'strict_fileprivate' and fix all violations 2020-08-28 16:42:30 -07:00
Danny Moesch
959ef659d2 Enable SwiftLint rule 'multiline_parameters' and fix all violations 2020-08-28 16:42:30 -07:00
Danny Moesch
b4c25726a5 Enable SwiftLint rule 'lower_acl_than_parent' and fix all violations 2020-08-28 16:42:30 -07:00
Danny Moesch
7f9f0e43b2 Format code with SwiftFormat automatically in every build 2020-08-25 15:10:13 -07:00
Danny Moesch
e2e3275293 Refactor and rename in test code 2020-04-19 13:42:41 -07:00
Mingshen Sun
4fdf9767c5 Add test key in different passphrase 2020-04-13 21:23:23 -07:00
Mingshen Sun
e9c5b63c4b Refactor logic of request PGP key passphrase 2020-04-13 21:23:23 -07:00
Mingshen Sun
b7ee00815c Partially implement multikeys support (decryption) 2020-04-13 21:23:23 -07:00
Mingshen Sun
7f6e3f1909 Enable RSA4096 subkey and clone 2020-04-12 20:15:49 -07:00
Mingshen Sun
84b1c07f64 Update to gopengpg v2.0.0 2020-04-12 20:15:49 -07:00
Danny Moesch
e2201ffa52 Add general tests for basic encryption and decryption with Crypto framework 2019-09-15 00:32:18 -07:00
Danny Moesch
5c7d4e55a4 Introduce KeyStore protocol in order to provide specialized key store implementations for tests
With the DictBasedKeychain the main AppKeychain is not influenced by tests. The previous implementation led to an empty Keychain requiring a new setup of the simulator.
2019-07-20 23:42:32 +02:00
Danny Moesch
5527c98568 Group test support files 2019-07-20 23:42:32 +02:00