Commit graph

13 commits

Author SHA1 Message Date
Lysann Tranvouez
01739e5aec decryption: always request key passphrase based on key ID 2026-03-10 17:14:11 +01: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
Danny Mösch
d9bd0f3014
Update SwiftLint and SwiftFormat (#613)
* Update Swift version used by SwiftFormat

* Update SwiftLint version

* Rely on new virtual 'all' rule in SwiftLint

* Enable SwiftLint rule 'direct_return' rule and fix all violations

* Enable SwiftLint rule 'shorthand_optional_binding' rule and fix all violations

* Enable SwiftLint rule 'blanket_disable_command' rule and fix all violations
2023-04-23 13:01:37 -07:00
Danny Moesch
cdedff0d4d
Use SwiftFormat version 0.49.x and enable some new rules (#527) 2021-12-27 17:57:11 -08:00
Danny Moesch
93954f3bec Use ProtonMail's GopenPGP library
This allows for a simpler setup and the usage of a recent version of Go. The library provides a build script which creates an XCFramework containing binaries for multiple target architectures. The gnu-dummy.patch is taken from mssun/gopenpgp. The forks are not needed anymore.
2021-06-20 12:30:14 +02:00
Danny Moesch
1454693308 Remove redundant 'else' blocks 2021-01-31 20:16:57 -08:00
Mingshen Sun
011762c4bd
Fix decryption issue when key without passphrase set 2021-01-10 15:01:21 -08:00
Mingshen Sun
a62792bd11
Add ignore .gpg-id switch default ON 2021-01-07 21:58:38 -08:00
Danny Moesch
49c6b25611 Use SwiftFormat version 0.47.x 2020-11-09 10:13:05 -08:00
Danny Moesch
e8389eb262 Enable SwiftLint rule 'identifier_name' and handle all violations 2020-09-20 17:25:50 -07:00
Danny Moesch
56b7b24fce Move Crypto functionality back to passKit 2020-09-06 17:59:55 -07:00
Mingshen Sun
a92940e610
Add beta distrubution channel 2020-07-19 18:25:21 -07:00
Danny Moesch
4c2693e2c7 Name classes/structs consistently 2020-04-19 13:42:41 -07:00
Renamed from passKit/Crypto/GopenPgp.swift (Browse further)