Vincent Breitmoser
81bceb9e16
use autovalue for BenchmarkInputParcel
2017-05-25 15:42:24 +02:00
Vincent Breitmoser
f1cf759e0a
use autovalue for UploadKeyringParcel
2017-05-25 15:42:24 +02:00
Vincent Breitmoser
53dcb4102d
use autovalue for CertifyActionsParcel
2017-05-25 15:42:24 +02:00
Vincent Breitmoser
63774a0632
use autovalue for CryptoInputParcel
2017-05-25 15:42:24 +02:00
Vincent Breitmoser
368528e9dd
use autovalue for PgpSignEncryptData class
2017-05-25 15:39:48 +02:00
Vincent Breitmoser
97ac237ac3
add google autovalue
2017-05-25 15:39:48 +02:00
Vincent Breitmoser
5a02488e52
update nordpol library
2017-05-25 15:36:23 +02:00
Vincent Breitmoser
6739e1e1d4
remember state in key creation
2017-05-25 15:36:21 +02:00
Vincent Breitmoser
32e8367e29
fix keybase proofs
2017-05-23 21:09:44 +02:00
Vincent Breitmoser
b328c97853
move ViewKeyActivity classes into their own package structure
2017-05-21 05:28:13 +02:00
Vincent Breitmoser
1331d3960c
treat missing keys (from 404 errors) individually during key import
2017-05-21 04:15:51 +02:00
Vincent Breitmoser
add9bf8973
use byte[] for expected fingerprint
2017-05-21 04:15:47 +02:00
Vincent Breitmoser
0699d3cdb5
clean up ImportOperation
2017-05-21 04:15:44 +02:00
Vincent Breitmoser
c91b7e377a
simplify progress for key import operations
2017-05-21 04:15:41 +02:00
Vincent Breitmoser
f34edae294
use mvp pattern for linked id card
2017-05-21 03:09:19 +02:00
Vincent Breitmoser
d919180219
extract system contact info loading into Loader
2017-05-21 01:57:41 +02:00
Vincent Breitmoser
fd813353b5
use mvp pattern for system contact card
2017-05-21 01:57:31 +02:00
Vincent Breitmoser
7699f0374b
fix linked id verification
2017-05-21 00:50:09 +02:00
Vincent Breitmoser
c05dc5ad56
fix display of linked identity card
2017-05-20 22:10:11 +02:00
Vincent Breitmoser
10a0c3e70b
fix database upgrade
2017-05-17 12:48:08 +02:00
Vincent Breitmoser
f72b877849
set cache notification to low priority
2017-05-17 01:15:24 +02:00
Vincent Breitmoser
c6bec99fe3
add note about ecdsa signature encoding in SecurityTokenHelper
2017-05-16 13:43:35 +02:00
Vincent Breitmoser
eb9d991ea9
add unit tests for insecure decrypt operations
2017-05-15 17:16:16 +02:00
Vincent Breitmoser
e424ad3f8e
work on insecurity warning strings
2017-05-15 13:26:26 +02:00
Vincent Breitmoser
2ac1927cac
add license headers
2017-05-15 13:26:26 +02:00
Vincent Breitmoser
3910c248cc
communicate override state via api
2017-05-15 13:26:25 +02:00
Vincent Breitmoser
11f10cf85f
add override mechanism to ui
2017-05-15 13:26:25 +02:00
Vincent Breitmoser
0e3032a192
add database structure for remembering overridden warnings
2017-05-15 13:26:24 +02:00
Vincent Breitmoser
10112eeea8
add override button to security problem dialog
2017-05-15 13:26:24 +02:00
Vincent Breitmoser
78c3e17d0a
improve presentation of security problems
2017-05-15 13:26:24 +02:00
Vincent Breitmoser
1868aed53b
flesh out security warning dialog
2017-05-15 13:26:24 +02:00
Vincent Breitmoser
c1ba764ce8
change security problem structure
2017-05-15 13:26:24 +02:00
Vincent Breitmoser
10dfcb08fc
service: return pending intent for details dialog if security problems occur
2017-05-15 11:13:57 +02:00
Vincent Breitmoser
623d8a0bf5
add initial state attribute to FoldableLinearLayout
2017-05-15 11:13:57 +02:00
Vincent Breitmoser
bf8507bab8
fix logic error in openpgpservice
2017-05-02 07:36:36 +02:00
Vincent Breitmoser
43757bf345
actually stop PassphraseCacheService when it's empty
2017-05-01 00:58:27 +02:00
Vincent Breitmoser
269f98bee0
make KeyIdExtractor code more readable
2017-04-26 11:35:40 +02:00
Vincent Breitmoser
612cd89046
service: support EXTRA_DRY_RUN to get key status for a sign/encrypt run
2017-04-26 10:57:38 +02:00
Vincent Breitmoser
2a26908fb6
extract creation of error result intent into method
2017-04-26 10:56:54 +02:00
Vincent Breitmoser
16a0045f9d
use external provider for resolving encryption keys in api
2017-04-26 10:56:54 +02:00
Vincent Breitmoser
542e0733cb
remove revoke/expired/insecure status text from toolbar
2017-04-25 16:25:59 +02:00
Vincent Breitmoser
2f57c52d52
rename Special key health status to Defective
2017-04-25 15:00:17 +02:00
Vincent Breitmoser
0332b2f984
add license headers
2017-04-25 15:00:17 +02:00
Vincent Breitmoser
1a60c2156d
add fallback if security problem is unknown
2017-04-25 15:00:17 +02:00
Vincent Breitmoser
0db22b55e1
add expiry date info to key status card
2017-04-25 15:00:16 +02:00
Vincent Breitmoser
1e8d5bdad3
use info from SecurityProblem class in health card
2017-04-25 15:00:16 +02:00
Vincent Breitmoser
fed0fff9d7
add secret key status (wip)
2017-04-25 15:00:16 +02:00
Vincent Breitmoser
720f2dbef1
remember the specific security problems of keys and symmetric algos during decryption
2017-04-25 14:34:39 +02:00
Vincent Breitmoser
c59a570a27
fix nullpointer in ViewCertActivity
2017-04-25 14:32:01 +02:00
Vincent Breitmoser
976708c332
non primary keys can never certify
2017-04-24 21:11:09 +02:00
Vincent Breitmoser
e73596f7b9
prevent NPE in getRevocationReason()
2017-04-24 21:05:04 +02:00
Vincent Breitmoser
c9f9ad0477
add test for opaque cv25519 subkey (which previously crashed)
2017-04-24 19:40:34 +02:00
Vincent Breitmoser
c313f45219
whitelist sec and brainpool curves
2017-04-24 19:28:29 +02:00
Vincent Breitmoser
a380405c80
don't sync contacts on import if skipSave is enabled
2017-04-24 19:27:06 +02:00
Vincent Breitmoser
8429977966
treat ecc keys with unknown curves as opaque keys
2017-04-24 19:24:53 +02:00
Vincent Breitmoser
eb736faded
remove EXTRA_ACCOUNT_NAME from openpgp-api-lib
2017-04-23 13:59:17 +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
85f7e342d6
skip license check for fontawesome-typeface
2017-04-23 13:58:36 +02:00
Vincent Breitmoser
005f93a4f3
don't set critical bit for empty revocation reason subpacket
2017-04-20 10:54:34 +02:00
Vincent Breitmoser and GitHub
93010e3926
Merge pull request #2072 from open-keychain/opaque-keys
...
handle unknown key algorithms using opaque keys
2017-04-20 10:38:12 +02:00
Vincent Breitmoser
c7d174c930
handle unknown key algorithms using opaque keys
2017-04-20 10:36:23 +02:00
Vincent Breitmoser and GitHub
9fd3fc600f
Merge pull request #2087 from open-keychain/handle-crcrlf
...
Handle crcrlf
2017-04-20 10:18:49 +02:00
Vincent Breitmoser and GitHub
625e02d385
Merge pull request #2065 from icyflame/fix-crash-on-empty-name
...
Fix crash inside MultiUserIdsFrag because of null lastName
2017-04-05 16:25:53 +02:00
Vincent Breitmoser
5cb81fef94
skip redundant CRs while parsing ascii armor headers
2017-04-02 22:24:33 +02:00
Vincent Breitmoser
7caf02a4e6
add test for CRCRLF armored files
...
This is an incorrect format that has been generated by GPG4USB (any
possibly GPG4WIN) for a long time. We better be compatible :(
2017-04-02 22:18:11 +02:00
Vincent Breitmoser
3f674f8bbe
nicer errors if key cannot be found in preselect
2017-02-27 15:13:15 +01: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
0277ba1afa
replace DatabaseReadWriteInteractor with DatabaseInteractor where possible
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
1724636caf
backport openpgp-api changes from K9 to OpenPgpAppPreference
2017-02-09 23:26:57 +01:00
Vincent Breitmoser
1ae3ba9b72
pass all subkeys to request permission activity, select best out of these there
2017-02-08 02:10:04 +01:00
Vincent Breitmoser
eb349eb80f
fix connected tests
2017-02-08 00:57:26 +01:00
Vincent Breitmoser
4be2f6e98e
change RemoteRegisterActivity into a dialog
2017-02-08 00:57:26 +01:00
Vincent Breitmoser
9cdb5ae0a9
move remoteregister logic into presenter
2017-02-08 00:57:26 +01:00
Vincent Breitmoser
4498bd0d44
dialog can only handle one key access request at a time
2017-02-08 00:57:26 +01:00
Vincent Breitmoser
e06205ae55
redesign request key into dialog
2017-02-08 00:57:26 +01:00
Vincent Breitmoser
074be9e798
extract request key logic into presenter
2017-02-08 00:57:26 +01:00
Vincent Breitmoser
a9001b3b45
change "select allowed keys" into "request key permission" activity
2017-02-08 00:57:26 +01:00
Vincent Breitmoser
33790d9dc8
fix KeychainExternalProvider from tests
2017-02-06 21:00:25 +01:00
Vincent Breitmoser
237a0b1805
add simple tests for KeychainExternalProvider
2017-02-06 21:00:25 +01: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
Vincent Breitmoser and GitHub
2c7d8761a6
Merge pull request #1995 from open-keychain/security-token-odd-rsa-moduli
...
support odd rsa moduli on security tokens
2017-01-16 15:40:07 +01:00
Vincent Breitmoser
5268db3393
at least crash with better stack trace in ImportOperation
2017-01-14 14:09:58 +01:00
Vincent Breitmoser
a1127bdf1a
support odd rsa moduli on security tokens
2017-01-13 02:39:51 +01:00
Vincent Breitmoser
1e280d92c5
add tests for OpenPgpServiceKeyIdExtractor
2017-01-11 17:43:14 +01:00
Vincent Breitmoser
c83c68c085
extract key extraction from intents into extractor class
2017-01-11 17:43:14 +01:00
Vincent Breitmoser
d389ec21e2
match mail addresses case insensitively for checking confirmed uids
2017-01-10 23:30:53 +01:00
Vincent Breitmoser
27670d55e8
incorporate feedback
2017-01-04 12:11:13 +01:00
Vincent Breitmoser
2ed485fd12
fix loop bug in key selection
2017-01-04 02:21:12 +01:00
Vincent Breitmoser
ac4bb3450f
extract extension manually if getFileExtensionFromUrl failed
...
This fixes issues with whitespace in filenames
2017-01-03 19:06:43 +01:00
Vincent Breitmoser
b4b13b6afe
fix loading of multiple keys simultaneously
2016-12-31 21:42:08 +01:00
Vincent Breitmoser
5fb8efa816
use utf-8 as fallback if keyservers specify a bad charset ("uft-8")
2016-12-31 21:41:56 +01:00