Commit Graph
96 Commits
Author SHA1 Message Date
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 BreitmoserandGitHub 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 BreitmoserandGitHub 9fd3fc600f Merge pull request #2087 from open-keychain/handle-crcrlf
Handle crcrlf
2017-04-20 10:18:49 +02:00
Vincent BreitmoserandGitHub 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 BreitmoserandGitHub 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
Vincent BreitmoserandGitHub d93842bdc6 Merge pull request #1920 from open-keychain/text-linkify
auto-linkify text in DisplayTextActivity, if data is signed
2016-12-01 16:42:51 +01:00
Vincent BreitmoserandGitHub d0f6cc6819 Merge pull request #1948 from open-keychain/openpgp-service-refactorings
break down result handling in OpenPgpService into methods
2016-12-01 15:07:20 +01:00
Vincent Breitmoser e9bd8af5d0 break down result handling in OpenPgpService into methods 2016-12-01 13:45:43 +01:00
Vincent Breitmoser 8092896f41 update OpenPgpSignatureResult to version 4, support signatureTimestamp 2016-11-21 16:06:03 +01:00
Vincent Breitmoser 52b1016baa update OpenPgpSignatureResult to use enums 2016-11-21 16:05:42 +01:00
Vincent Breitmoser a094730690 remove support for "Comment" field 2016-08-25 14:54:18 +02:00
Vincent Breitmoser 55eaccce35 test dependencyci.yml 2016-08-22 20:28:01 +02:00
Vincent Breitmoser 5386b4f716 auto-linkify text in DisplayTextActivity, if data is signed 2016-08-22 18:44:53 +02:00
Vincent Breitmoser dab4edb24e inputdataoperation: Only consider data MIME if Content-Type header is present 2016-07-24 15:13:43 +02:00
Vincent Breitmoser aac5ae3a2c handle first time wizard after import from token 2016-07-09 13:42:56 +02:00
Vincent Breitmoser 568b9e1845 use correct method for matching user ids 2016-07-07 15:55:10 +02:00
Vincent Breitmoser 02a5611ec9 service: don't need a wrapper for the parcelable result after all
Conflicts:
	extern/openpgp-api-lib
2016-06-16 10:46:40 +02:00
Vincent Breitmoser b7b7be0e7a service: use new constants, check for address instead of full user id 2016-06-07 14:54:26 +02:00
Vincent Breitmoser f234cd614c make OpenPgpDecryptionResult immutable 2016-06-02 18:26:25 +02:00
Vincent Breitmoser 594d1686c9 service: slightly clearer code for backwards compatibility 2016-06-02 17:21:07 +02:00
Vincent Breitmoser cb11c0ec84 make OpenPgpSignatureResult immutable 2016-06-02 16:04:45 +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
Vincent BreitmoserandVincent Breitmoser 46cc7f8174 tests: add attribute to PgpKeyOperationTest 2015-05-20 12:47:23 +02:00