Commit Graph

24 Commits

Author SHA1 Message Date
Constantine Verutin
4e4c070228 Make sure auth key selection dialog lists only keys with auth subkey available.
Presently the dialog lists all master keys, and keys without auth subkeys are not marked in any way. Sleecting one of those via SSH authentication API will result in cryptic "Could not create description: null" message.
2018-12-04 15:17:31 +00:00
Vincent Breitmoser
4dfe32120e fix encryption key selection (fixes #2403) 2018-10-22 21:01:54 +02:00
Vincent Breitmoser
400db49e75 Use specialized query exclusively to select authentication key 2018-10-01 21:36:01 +02:00
Vincent Breitmoser
e2505dd308 support encryption subkeys with future signature dates 2018-07-27 10:54:36 +02:00
Vincent Breitmoser
b79572d17f fix subkeys query (again) 2018-07-24 20:03:02 +02:00
Vincent Breitmoser
ecf2c4500f don't use * in SELECT on keys table! column order might change during migrations 2018-07-24 15:56:38 +02:00
Vincent Breitmoser
e3e5f7feec use explicit order for insert operations
This prevents a problem from different column orders in database tables.
In particular, this occurred with the user_packets table, where the `rank` column moved up in order.
2018-07-14 13:05:08 +02:00
Vincent Breitmoser
4c8fda0798 Introduce uidStatus view for external provider 2018-07-13 16:27:12 +02:00
Vincent Breitmoser
86ecd13c1d use correct sqlite expression for expiry 2018-07-13 16:26:35 +02:00
Vincent Breitmoser
0b28add654 Use SQLDelight for inserts instead of KeychainProvider 2018-07-13 16:26:35 +02:00
Vincent Breitmoser
51551eb0c7 don't include revoked user packets in search string 2018-07-04 21:57:52 +02:00
Vincent Breitmoser
794b1dc8e0 group non-letters in "#" group, display keys with only an address in-order 2018-07-04 13:59:21 +02:00
Vincent Breitmoser
a7e6dc35a8 clean up KeySignatures.sq 2018-07-04 13:59:21 +02:00
Vincent Breitmoser
19dfac7fc9 querying by key id shouldn't care about revoked keys 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
64bde4c680 extract findByUserId and findByEmail usage from KeychainProvider 2018-07-02 14:50:11 +02:00
Vincent Breitmoser
5cfe0d140f use LiveData to load data in ViewKeyActivity 2018-07-02 14:50:11 +02:00
Vincent Breitmoser
2d1ff8cdcc use LiveData in ViewKeyAdvActivity 2018-07-02 14:50:11 +02:00
Vincent Breitmoser
d57a409fac extract select by signer from KeychainProvider 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
f87209d242 use FlexibleAdapter with LiveData in KeyListFragment 2018-07-02 14:50:11 +02:00
Vincent Breitmoser
bae90f1b23 extract UpdatedKeys access from KeychainProvider into KeyMetadataDao 2018-07-02 14:50:11 +02:00