Commit Graph

743 Commits

Author SHA1 Message Date
Vincent Breitmoser
eb34f900e4 clean up package structure 2018-07-04 13:59:21 +02:00
Vincent Breitmoser
1635c261b8 ditch CachedPublicKeyRing, and some cleanup 2018-07-02 14:50:11 +02:00
Vincent Breitmoser
31830a8c86 extract database access from CachedPublicKeyRing 2018-07-02 14:50:11 +02:00
Vincent Breitmoser
4416ddf11c Get rid of more places where URIs are used for loading 2018-07-02 14:50:11 +02:00
Vincent Breitmoser
1425f34321 back to using an operation for interactive update (for progress dialog) 2018-07-02 14:50:11 +02:00
Vincent Breitmoser
c8481d0247 use Enum for verification status of certificates 2018-07-02 14:50:11 +02:00
Vincent Breitmoser
6cd065a3bd extract subkey loading from KeychainProvider 2018-07-02 14:50:11 +02:00
Vincent Breitmoser
921431b05f more Dao work 2018-07-02 14:50:11 +02:00
Vincent Breitmoser
89aa99a13f show Snackbar if clipboard contains key data 2018-06-19 13:28:29 +02:00
Vincent Breitmoser
700e06dcb9 Catch SecurityException when opening URIs during decrypt 2018-06-14 14:24:56 +02:00
Vincent Breitmoser
9bb19a3ad7 Support import from application/autocrypt-setup type 2018-04-16 16:45:16 +02:00
Vincent Breitmoser
ffc28f408e Drop support for BackupVersion header in PgpSignEncryptOperation 2018-04-13 21:12:21 +02:00
Vincent Breitmoser
ded58588ad Support numeric9x4 passphrase-format during decryption 2018-04-13 21:12:21 +02:00
Vincent Breitmoser
cb56a44f77 Support Passphrase-Format and -Begin headers in PgpSignEncryptOperation 2018-04-13 21:03:53 +02:00
Vincent Breitmoser
02010dab71 add cv25519 to whitelisted curves 2018-02-16 18:02:12 +01:00
Vincent Breitmoser
5c2e4f889f Fix a bunch of trivial code warnings 2018-01-24 01:32:15 +01:00
Vincent Breitmoser
22c65f2ab8 Use Timber instead of Android.Log 2018-01-20 21:32:37 +01:00
Vincent Breitmoser
510d7aa796 Merge pull request #2226 from open-keychain/multi-passphrase
Handle decryption with multiple candidate keys
2018-01-12 15:10:25 +01:00
Dominik Schürmann
3cc43e9f69 Adapt copyright headers according to CLA 2017-12-15 16:03:36 +01:00
Vincent Breitmoser
04efa9e66d check all requested keys in PassphraseDialogActivity 2017-11-28 16:18:46 +01:00
Vincent Breitmoser
5e416d6ae5 collect all potential keys before asking for passphrase 2017-11-28 16:15:11 +01:00
Christian Hagau
de695fa2b0 Improve error handling for curve OID to SSH curve identifier translation 2017-11-28 03:58:14 +00:00
Christian Hagau
6e5f5405a2 Return encoded signature blob instead of a raw signature in
SshAuthenticationService
2017-11-28 03:58:07 +00:00
Christian Hagau
f70b10d548 Use a custom EdDsaAuthenticationContentSignerBuilder for signing with
EdDSA, since EdDSA expects the raw data instead of a hash
2017-11-22 18:03:04 +00:00
Christian Hagau
2e3649100c Rename PGPAuthenticationSignatureGenerator to
AuthenticationSignatureGenerator & reformat
2017-11-22 18:03:04 +00:00
Christian Hagau
2619cb1db3 Add sshauthentication-api v1 support 2017-11-01 14:28:17 +00:00
Vincent Breitmoser
90b7a0f4f1 handle one-octet length headers in public key block reformatting 2017-09-19 15:04:25 +02:00
Vincent Breitmoser
ded139d302 aggressively reformat public key blocks from clipboard 2017-09-19 12:58:42 +02:00
Vincent Breitmoser
863651918e token-import: use entire fingerprint for promote operation 2017-09-11 15:30:10 +02:00
Vincent Breitmoser
10eeb5672b token-import: match fingerprints of subkeys 2017-09-11 15:30:06 +02:00
Vincent Breitmoser
2d2dce754d fix stupid error in UncachedKeyRing 2017-09-08 15:16:50 +02:00
Vincent Breitmoser
e44d668e27 tls-psk: display list of incoming keys on receiving side 2017-08-29 20:03:02 +02:00
Vincent Breitmoser
d3746b89e5 respect most recent sig with actual key flags, if available 2017-08-29 01:46:19 +02:00
Vincent Breitmoser
b7968d6279 don't encrypt twice to the same key if additional encryption id is in recipient list 2017-08-28 17:36:30 +02:00
Vincent Breitmoser
c7bb6a7bc0 extract trust id handling into method 2017-07-25 22:15:26 +02:00
Vincent Breitmoser
84d5ca7cd9 wip: trust id logic 2017-07-25 22:15:26 +02:00
Vincent Breitmoser
d4731f68bd introduce minimize extra to ACTION_GET_KEY 2017-07-25 21:32:47 +02:00
Vincent Breitmoser
8551440316 add EdDSA support 2017-06-16 18:29:45 +02:00
Vincent Breitmoser
dfdfd733f3 drop key encryption altogether for empty passphrase 2017-06-13 12:42:29 +02:00
Vincent Breitmoser
e7b9b48d5c get rid of pin and pattern SecretKeyTypes 2017-05-29 14:20:25 +02:00
Vincent Breitmoser
6459deb6b8 Merge pull request #2111 from open-keychain/auto-value
Auto value
2017-05-25 19:42:02 +02:00
Vincent Breitmoser
118b7b56a8 accept primary key binding signatures as signed subpackets (fixes #2113) 2017-05-25 19:40:23 +02:00
Vincent Breitmoser
79af393847 use autovalue for PgpDecryptVerifyInputParcel 2017-05-25 15:42:30 +02:00
Vincent Breitmoser
76e9f6b229 use suitable signing subkey if none provided 2017-05-25 15:42:29 +02:00
Vincent Breitmoser
cb204d3edb fix handling of algorithm tags in parcels 2017-05-25 15:42:29 +02:00
Vincent Breitmoser
7e6cac3317 use autovalue for PgpSignEncryptInputParcel, move allowedKeys into PgpSignEncryptData 2017-05-25 15:42:29 +02:00
Vincent Breitmoser
9d485dfe9f use autovalue for InputDataParcel and SignEncryptParcel 2017-05-25 15:42:28 +02:00
Vincent Breitmoser
c4a4fdadff suppress mutable warnings for primitive arrays (we don't wanna wrap those) 2017-05-25 15:42:28 +02:00
Vincent Breitmoser
d58f1bd225 use autovalue for SaveKeyringParcel 2017-05-25 15:42:27 +02:00
Vincent Breitmoser
147e4dbee7 use autovalue for SubkeyAdd and SubkeyChange 2017-05-25 15:42:27 +02:00