Vincent Breitmoser
2ac1927cac
add license headers
2017-05-15 13:26:26 +02:00
Vincent Breitmoser
0e3032a192
add database structure for remembering overridden warnings
2017-05-15 13:26:24 +02:00
Vincent Breitmoser
269f98bee0
make KeyIdExtractor code more readable
2017-04-26 11:35:40 +02:00
Vincent Breitmoser
16a0045f9d
use external provider for resolving encryption keys in api
2017-04-26 10:56:54 +02:00
Vincent Breitmoser
27b6e9b625
remove database references to accounts (but don't delete yet)
2017-04-23 13:59:17 +02:00
Vincent Breitmoser
85ee12d143
remove deprecated accounts api, bump min api version to 7
2017-04-23 13:59:17 +02:00
Vincent Breitmoser
05e4cf1ab6
focus key deletion into KeyWritableRepository
2017-02-24 18:50:37 +01:00
Vincent Breitmoser
9cf0b05202
fix unit tests
2017-02-24 18:43:56 +01:00
Vincent Breitmoser
2124a4598a
DatabaseInteractor -> KeyRepository
2017-02-24 18:24:11 +01:00
Vincent Breitmoser
c7e01926e1
add LocalKeyStorage, don't store public keys larger than 50kb in database
2017-02-24 18:06:47 +01:00
Vincent Breitmoser
2bc05a2cd5
focus all read access for key ring data into DatabaseInteractor methods
2017-02-24 18:04:55 +01:00
Vincent Breitmoser
623964701b
get rid of direct query for blob from backup operation
2017-02-24 18:04:55 +01:00
Vincent Breitmoser
c2b9af077a
replace calls to getGenericData with getCachedPublicKeyRing equivalents
2017-02-24 18:04:54 +01:00
Vincent Breitmoser
aef6e6614e
extract DatabaseReadWriteInteractor
2017-02-24 18:04:54 +01:00
Vincent Breitmoser
d577257bd5
rename ProviderHelper -> DatabaseInteractor
2017-02-24 18:04:54 +01:00
Vincent Breitmoser
a9001b3b45
change "select allowed keys" into "request key permission" activity
2017-02-08 00:57:26 +01:00
Dominik Schürmann
d75138e63b
Remove AGP db upgrade
2017-02-07 13:28:59 +01:00
Dominik Schürmann
8fa9f3b2ba
emergency fix for crashing consolidate
2017-02-07 13:18:36 +01:00
Vincent Breitmoser
237a0b1805
add simple tests for KeychainExternalProvider
2017-02-06 21:00:25 +01:00
Hari
62a14399ea
Added warnings for insecure keys
2017-02-03 16:11:29 +05:30
Dominik Schürmann
a29ccdeb4e
Merge pull request #2001 from open-keychain/temp-queried-table
...
externalprovider: use temp table for query
2017-01-27 00:58:55 +01:00
Dominik Schürmann
732aa0de60
Merge branch 'issue_1846' of https://github.com/daquexian/open-keychain into daquexian-issue_1846
2017-01-27 00:11:11 +01:00
Dominik Schürmann
86098688ab
Increase DB version to re-execute splitUserId for each key
2017-01-26 23:04:09 +01:00
daquexian
f26a355bd6
remove some splitUserId
2017-01-21 23:21:19 +08:00
Vincent Breitmoser
d9784cb0ab
externalprovider: use temp table for query
...
This commit introduces a temporary table to KeychainExternal provider.
This is used to return a result set that contains the exact query as
identifying column, rather than the matching user id. This is helpful
because we match case insensitively internally, while the querying
implementation might wish to map search results against verbatim search
strings.
2017-01-17 15:23:27 +01:00
Dominik Schürmann
42f213f4ef
Some docs
2016-12-28 19:05:06 +01:00
Dominik Schürmann
f128653de4
Positive if-else + comments
2016-12-28 19:00:25 +01:00
Andrea Torlaschi
c389e543d0
(WIP) ImportKeys: Check if key is already present and verified
2016-08-28 23:48:08 +02:00
Andrea Torlaschi
702888bbe4
ImportKeys: Add ability to "Show key" instead of "Import" for already imported keys
2016-08-24 12:03:16 +02:00
Andrea Torlaschi
10ce910164
ImportKeys: Fix key preview when already downloaded
2016-08-19 22:35:44 +02:00
Andrea Torlaschi
706840771a
ImportKeys: Fix tests
2016-08-19 22:35:43 +02:00
Andrea Torlaschi
15b7845b16
ImportKeys: Get reference to canonicalized key without saving and refactoring (WIP)
2016-08-19 22:35:37 +02:00
Andrea Torlaschi
db1e8b60ca
ImportKeys: Extract interface and refactoring
...
ImportKeys: Extract interface and refactoring
2016-08-19 22:35:34 +02:00
Vincent Breitmoser
88b0903bf5
service: support sender address status and list of confirmed user ids to OpenPgpSignatureResult
2016-06-02 15:32:45 +02:00
Alex Fong
614f46a630
Shifted duplicate method implementations from KeyRing to openpgp-api submodule
2016-05-15 23:26:09 +08:00
fiaxh
6881754062
Better handle user_id sidecases while splitting
2016-04-12 13:30:43 +02:00
fiaxh
2d73b74dde
Use email field to match email in KeychainProvider
...
fixes #1699
2016-04-12 11:49:48 +02:00
Vincent Breitmoser
ce5e5f36c5
update null-check for duplicates, and add matching indexes to name and email columns
2016-03-16 00:49:19 +01:00
Vincent Breitmoser
6029564d68
small update to duplicate detection
2016-03-15 23:51:21 +01:00
Vincent
5abbe859ff
Merge pull request #1777 from fjodorver/master
...
Updated HAS_DUPLICATE_USER_ID in KeychainProvider #1745
2016-03-15 23:40:09 +01:00
Vincent Breitmoser
eb5eb95a9f
fix ridiculous database migration bug introduced by d6e4936fa5
2016-03-15 23:30:50 +01:00
fjodor
6087b0a6e0
Updated HAS_DUPLICATE_USER_ID in KeychainProvider to use name and email address instead of user id #1745
2016-03-10 21:26:55 +02:00
Vincent
81e46a7bc3
Merge pull request #1763 from fjodorver/master
...
WIP: Save split user ids in database #1745
2016-03-10 19:43:05 +01:00
fjodor
b4ea59bf7c
Increased version DB and added a migration path from an old database format
2016-03-07 16:40:26 +02:00
fjodor
1a202b028d
Save split user ids in database #1745
...
Save split user ids in database
2016-03-07 07:50:39 +02:00
Andrea Torlaschi
26f8a9db9c
Extend FileProvider to support name update
2016-03-05 13:17:15 +01:00
Vincent Breitmoser
5989b7b4b8
add some license headers
2016-02-24 19:08:20 +01:00
Vincent Breitmoser
1c256e9e50
external-provider: add permission check for status query
2016-02-24 11:31:32 +01:00
Vincent Breitmoser
da3167476b
external-provider: add (experimental) external provider
2016-02-24 11:31:32 +01:00
Vincent Breitmoser
b1a978d573
split off ApiDataAccessObject from ProviderHelper
2016-02-24 11:31:32 +01:00