Vincent Breitmoser
c3e330b304
Fix incorrect querying of autocrypt peer master key id
2024-02-26 17:37:30 +01:00
Vincent Breitmoser
b209835285
Return full result set from external provider autocrypt_status query
2024-02-26 17:16:30 +01:00
Vincent Breitmoser
5d84bd8387
Update AGP to 7.4.2, update SqlDelight to 1.4.2
...
The adaptations to SqlDelight 1.4.2 leave the type namings *extremely*
messy. But it works and is as semantically equivalent as I could make
it.
2024-01-29 16:42:28 +01:00
Vincent Breitmoser
6cb773c45d
Drop index on key metadata table
...
Key metadata can exist without a keyring in the table, so we don't lose
it on reinsertion.
Also, don't use transactions inside database upgrade tasks. The entire
update is wrapped in a transaction, and we don't want to break this!
2019-06-27 19:24:52 +02:00
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
e62cfd0185
fix expiry bug in autocrypt key retrieval
2018-07-19 10:37:09 +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
a69eaab0ea
fix insertion of data into KeySignature table
2018-07-14 12:03:44 +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
76a8aa1fbc
Fix selectFingerprintsForKeysolderThan query
2018-07-13 16:13:42 +02:00
Vincent Breitmoser
3e00320bac
Correctly fold user packet queries and display verification status
2018-07-05 20:46:30 +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
60ec78b9ae
always insert autocrypt key before update operations
2018-07-04 13:59:21 +02:00
Vincent Breitmoser
70be2c8ba1
clean up OverriddenWarnigsDao
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
39f5c5fd03
ignore redundantly inserted allowed api 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
4cdc57c690
clean up KeychainDatabase a bit
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
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
500c219fa0
Extract remaining user id 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
377bf55b70
extract linked id loading from ContentProvider
2018-07-02 14:50:11 +02:00
Vincent Breitmoser
9ad29318e8
extract deletion of keys from ContentProvider
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
77c89cfa98
extract reading of public key data from ContentProvider
2018-07-02 14:50:11 +02:00
Vincent Breitmoser
6585e7113d
move loading of certs into CertificationDao
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
bae90f1b23
extract UpdatedKeys access from KeychainProvider into KeyMetadataDao
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
59c9f52e85
Store secret keys in private storage instead of database
2018-07-02 14:50:11 +02:00