Commit Graph

388 Commits

Author SHA1 Message Date
Vincent Breitmoser
1556db897f introduce AbstractDao, fix import of keys (missing delete in KeychainProvider) 2018-07-02 14:50:11 +02:00
Vincent Breitmoser
e144a402b5 extract autocrypt_peers from KeychainProvider into AutocryptPeerDao 2018-07-02 14:50:11 +02:00
Vincent Breitmoser
d133b732e5 use SQLDelight, remove ApiApps access from KeychainProvider 2018-07-02 14:50:11 +02:00
Vincent Breitmoser
651e799fe2 fix fragment management in AppSettingsActivity 2018-06-21 13:40:31 +02:00
Vincent Breitmoser
8adf4a8a64 move notification of key changes into DAOs 2018-06-14 16:52:43 +02:00
Vincent Breitmoser
fc6084a7ef set cursor factory before the cursor is actually created 2018-06-12 18:09:47 +02:00
Vincent Breitmoser
4967a49949 fix date queries in autocrypt handling 2018-06-12 16:44:27 +02:00
Vincent Breitmoser
4f6852ccfc log api calls 2018-06-12 15:39:53 +02:00
Vincent Breitmoser
571c02180f clean up ExternalKeychainProvider, remove content resolver hack 2018-06-09 20:29:46 +02:00
Vincent Breitmoser
635ee3e876 Don't pass through selection in ExternalKeychainProvider
The external provider uses the selectionArgs parameter in a non-standard
way, so it doesn't make sense to pass selection to the query
independently. Also enabling strict mode here, to nail down the fields
that can be requested to the contract of the provider.
2018-06-07 14:39:16 +02:00
Vincent Breitmoser
8edd084212 allow setting custom headers in autocrypt setup message 2018-05-03 15:27:04 +02:00
Vincent Breitmoser
a63aca623d make sure all keys are allowed for transfer call 2018-05-03 15:26:27 +02:00
Vincent Breitmoser
be58f2ff4c Add autocrypt key transfer api method 2018-05-03 15:26:24 +02:00
Dominik Schürmann
5db00cd924 Merge pull request #2301 from open-keychain/api-choose-sign-key
New identity chooser dialog for API
2018-05-03 14:58:20 +02:00
Vincent Breitmoser
f8e6e08410 incorporate feedback 2018-05-02 20:02:53 +02:00
Christian Hagau
ba03969f7c Handle EdDSA & DSA SSH signatures separately in SshSignatureConverter 2018-05-01 00:00:00 +00:00
Vincent Breitmoser
ff6c4d50e3 Merge pull request #2309 from hagau/ssh_rsa_sha2_auth
Use correct signature format identifier when creating SSH signatures for RSA with SHA256 & SHA512
2018-05-01 13:55:54 +02:00
Christian Hagau
6b0ac338ca Use correct signature format identifier when creating SSH signatures for
RSA with SHA256 & SHA512
2018-04-27 00:00:00 +00:00
Vincent Breitmoser
d6f8357a76 Slight change to "Use different key" submenu, possibly display Autocrypt Setup Message hint 2018-04-18 16:44:01 +02:00
Vincent Breitmoser
bd7cfb9504 Key selection implies permission to OpenKeychain access 2018-04-18 15:34:39 +02:00
Vincent Breitmoser
650fb911ff Slight layout change, keep id on single line 2018-04-18 15:34:39 +02:00
Vincent Breitmoser
ee7706b5e9 Add a way to call legacy getSignKey dialog 2018-04-18 15:34:39 +02:00
Vincent Breitmoser
8858dd5c3b Return extra values for select sign key call 2018-04-18 15:34:39 +02:00
Vincent Breitmoser
b75cd19a4f add option to choose from unrelated keys 2018-04-18 15:34:39 +02:00
Vincent Breitmoser
336c43cfde Actually save key in identity select dialog, and some more design updates 2018-04-18 15:34:39 +02:00
Vincent Breitmoser
b92ff86988 Redesign "select signing key" api dialog 2018-04-18 15:34:39 +02:00
Vincent Breitmoser
69121bfa98 extract KeyInfoInteractor from KeyLoader 2018-04-18 15:34:39 +02:00
Vincent Breitmoser
8ad2d56f1c Add option to BackupOperation to export only secret keys 2018-04-16 22:14:38 +02:00
Vincent Breitmoser
ca8835420d Remember "origin" of gossip keys 2018-03-12 12:19:47 +01:00
Vincent Breitmoser
e2f89f8d8d Use Autocrypt gossip field for deduplication 2018-03-12 12:19:47 +01:00
Vincent Breitmoser
7d2b356d1c Further small optimizations to Autocrypt logic 2018-03-12 12:19:47 +01:00
Vincent Breitmoser
ebe262015a Change Autocrypt logic to more closely match the spec 2018-03-12 12:19:47 +01:00
Vincent Breitmoser
7c1fe18b2c Fix and optimize Autocrypt 1.0 logic 2018-03-12 12:19:47 +01:00
Vincent Breitmoser
7b268b11ed Fix up logic to match Autocrypt 1.0 2018-03-12 12:19:47 +01:00
Vincent Breitmoser
5a2631841d add support for Autocrypt gossip key updates 2018-03-12 12:19:47 +01:00
Vincent Breitmoser
5c2e4f889f Fix a bunch of trivial code warnings 2018-01-24 01:32:15 +01:00
Dominik Schürmann
8d01e40123 Merge pull request #2254 from hagau/export_pub_ssh_keys
Make predicate names in KeychainProvider consistent and allow export of SSH public keys without associated private key in keyring
2018-01-22 12:44:13 +01:00
Christian Hagau
e251c56e90 Use appropiate getter for authentication public key 2018-01-21 00:00:00 +00:00
Christian Hagau
7f02363801 Remove unnecessary selection predicate 2018-01-21 00:00:00 +00:00
Christian Hagau
9c749658a0 Make predicate names in KeychainProvider consistent 2018-01-21 00:00:00 +00: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
62528fc941 fix NPE in KeyLoader 2017-11-29 14:23:37 +01:00
Vincent Breitmoser
04efa9e66d check all requested keys in PassphraseDialogActivity 2017-11-28 16:18:46 +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
12fdb111c9 Fix error handling in case of an unsupported algorithm parameter in
SshAuthenticationService
2017-11-12 15:01:51 +00:00
Christian Hagau
2619cb1db3 Add sshauthentication-api v1 support 2017-11-01 14:28:17 +00:00
Christian Hagau
c435c3ec22 Fix NPE upon dialog dismissal 2017-10-25 00:00:00 +00:00