Commit Graph

484 Commits

Author SHA1 Message Date
Dominik Schürmann
922ac725bb Renaming some files 2013-09-19 02:17:49 +02:00
Dominik Schürmann
3c4cb1c2d3 Work on new Import activity 2013-09-19 02:02:51 +02:00
ogasser
f6d525da82 Don't use revoked keys
Check if keys are revoked when getting usable encryption keys. Only use keys which are not expired and not revoked.
2013-09-17 23:01:28 +02:00
Ashley Hughes
32b2711e61 null check 2013-09-17 18:31:02 +01:00
Ashley Hughes
b4382db263 add public keys when importing secret keys 2013-09-17 18:19:30 +01:00
Dominik Schürmann
bb657e4add Updated PRNGFixes from official blogpost 2013-09-17 16:53:50 +02:00
Dominik Schürmann
0625061018 API documentation 2013-09-16 16:40:47 +02:00
Dominik Schürmann
e6a37f565f API documentation 2013-09-16 16:33:43 +02:00
Dominik Schürmann
5a947df33e API documentation 2013-09-16 16:30:06 +02:00
Dominik Schürmann
0ef8663422 API documentation 2013-09-16 16:24:11 +02:00
Dominik Schürmann
168432abab API documentation 2013-09-16 16:08:44 +02:00
Dominik Schürmann
0e24a74bb8 Simplify exception handling in service 2013-09-16 13:08:02 +02:00
Dominik Schürmann
363358d30b Better error handling 2013-09-16 13:00:47 +02:00
Dominik Schürmann
4e23cf2edc API update: boolean to allow/disallow user interaction allow real background pgp operations that will not require user input 2013-09-16 12:16:54 +02:00
Dominik Schürmann
900fdcf029 More docs on rng issues 2013-09-15 22:31:52 +02:00
Dominik Schürmann
e05d17eec2 Do not seed /dev/urandom. urandom is non-writeable on some devices. Because only OpenSSL seeding is broken, this should not result in security problems! 2013-09-15 22:27:09 +02:00
Dominik Schürmann
c90e776055 Reorder security providers in application class, document functionality 2013-09-15 22:19:15 +02:00
Dominik Schürmann
0705060eaf remove unused code 2013-09-15 16:49:38 +02:00
Dominik Schürmann
93b460a289 rename encryptAndSign to signAndEncrypt 2013-09-15 16:45:07 +02:00
Dominik Schürmann
5aebd115d4 Put PgpMain methods in separate opbject classes, handle passphrase dialog in EditKey not in SecretKeyList 2013-09-15 16:42:08 +02:00
Dominik Schürmann
121f8aaca0 Move pgp classes into subpackage 2013-09-15 15:29:38 +02:00
Dominik Schürmann
e6801ec951 add untrusted signature status 2013-09-15 15:26:41 +02:00
Dominik Schürmann
468b7181e9 reorder manifest 2013-09-15 15:23:13 +02:00
Dominik Schürmann
312b735fbd Extended api 2013-09-15 15:20:15 +02:00
Dominik Schürmann
1e188ee2fa Define abstract remote service 2013-09-15 14:16:29 +02:00
Dominik Schürmann
9023226e39 once again reorder packages 2013-09-15 13:52:05 +02:00
Dominik Schürmann
96de7cb101 Fix gradle build 2013-09-15 13:47:30 +02:00
Dominik Schürmann
f5b53b58f7 Update Intent API 2013-09-14 03:50:24 +02:00
Dominik Schürmann
bf7fb08bca API update 2013-09-14 02:08:06 +02:00
Dominik Schürmann
ca8f8e3ff7 unify naming of api package and process 2013-09-13 10:05:43 +02:00
Dominik Schürmann
86c84ddbb3 remove unnecessary boolean from SignatureResult 2013-09-13 10:03:26 +02:00
Dominik Schürmann
9a5707c415 rename api to openpgp api 2013-09-10 23:19:34 +02:00
Dominik Schürmann
41622263b9 remove swap file 2013-09-10 00:57:16 +02:00
Dominik Schürmann
56e09b0550 rename extra of import 2013-09-10 00:39:41 +02:00
Dominik Schürmann
b5c865f5a6 API docs 2013-09-10 00:17:18 +02:00
Dominik Schürmann
94a81dd8ae Fixes for decrypt and sign 2013-09-09 22:38:09 +02:00
Dominik Schürmann
1421046c6d update gradle, description,... 2013-09-09 21:11:16 +02:00
Dominik Schürmann
75672fa5b3 Use underscore in extras, cleanup code 2013-09-09 20:06:39 +02:00
Dominik Schürmann
4ca7a12751 Ascii armror doc 2013-09-09 19:55:35 +02:00
Dominik Schürmann
bf1334d6c0 Increase default RSA from 2048 to 4096 due to recent security speculations 2013-09-09 19:50:33 +02:00
Dominik Schürmann
6693b8b75d Handle no selection of pub keys correctly 2013-09-09 19:46:18 +02:00
Dominik Schürmann
8a8d7c7738 Handle dublicate or missing pub keys corresponding to user ids, handle navigating back from service activity properly 2013-09-09 19:38:13 +02:00
Dominik Schürmann
b6d63f95cb fix editactivity crash, default key creation, import from keyserver menu button 2013-09-09 17:43:10 +02:00
Dominik Schürmann
38e8733fd6 task affinity of service activity 2013-09-09 15:19:16 +02:00
Dominik Schürmann
0ee205d245 KEY_IMPORT to IMPORT_KEY 2013-09-09 14:33:37 +02:00
Dominik Schürmann
b6a1bc770c Remove most of old API 2013-09-09 14:03:58 +02:00
Dominik Schürmann
5b6880d2e3 Switch from HtmlSpanner to HtmlTextView 2013-09-09 13:16:54 +02:00
Dominik Schürmann
5dc693c64c Make asciiArmor a parameter, extend advanced app settings 2013-09-09 12:59:53 +02:00
Dominik Schürmann
c4bf7c5d11 Handle wrong/no passphrase 2013-09-08 23:08:30 +02:00
Dominik Schürmann
5d7f8809fc Use handler with messenger instead of Binder for communication between service and activity 2013-09-08 22:52:38 +02:00
Dominik Schürmann
8123fd6925 lock thread for user input 2013-09-08 19:24:47 +02:00
Dominik Schürmann
11103623c5 api: handle passphrase entering correctly 2013-09-08 18:30:22 +02:00
Dominik Schürmann
03d9afffce sign via api 2013-09-08 18:21:04 +02:00
Dominik Schürmann
4d1d3f6f5e Select pub key when email could not be found 2013-09-08 17:04:33 +02:00
Dominik Schürmann
6fdae001cc Make select fragments more reusable 2013-09-08 16:08:36 +02:00
Dominik Schürmann
a890ba5e4f Put actionbar methods in helper 2013-09-08 15:30:05 +02:00
Dominik Schürmann
70fb36d5d6 Change icon of API Demo for differentiation with main app 2013-09-06 19:14:25 +02:00
Dominik Schürmann
7d3113ca15 Preparation for other app settings 2013-09-06 19:06:17 +02:00
Dominik Schürmann
227b277931 sign and encrypt basically working 2013-09-06 18:54:55 +02:00
Dominik Schürmann
d6dd81d444 Work on encryption in new service 2013-09-06 18:36:16 +02:00
Dominik Schürmann
4e378a0a33 Relicensing from Apache License v2 to GPLv3+. This is only done on classes that (have copyright by Dominik Schürmann or Markus Doits) or (are completly refactored by me and contain no remaining code by Thialfihar). Code by Thialfihar (not reachable by mail) and Shaun Senecal (disagreed on license change) remain Apache License v2. 2013-09-06 16:17:01 +02:00
Dominik Schürmann
a0b0eeaf87 Use ButtonBar instead of ActionBar on Done/Cancel activities 2013-09-06 14:42:48 +02:00
Dominik Schürmann
9d30c1ea37 Disable old API 2013-09-06 14:32:12 +02:00
Dominik Schürmann
4813345460 Use mime type in NFC as defined in RFC3156 2013-09-06 14:14:54 +02:00
Dominik Schürmann
a186686109 Always use insertProvider instead of addProvider 2013-09-06 14:05:19 +02:00
Dominik Schürmann
9611236bf1 fix permission check 2013-09-06 14:02:35 +02:00
Dominik Schürmann
51cf7939d8 Add PRNG fixes by Google 2013-09-06 14:00:16 +02:00
Dominik Schürmann
7ba145740b rename version field in data to Keychain 2013-09-06 13:54:53 +02:00
Dominik Schürmann
de8e1a39d5 merge k9mail back into master 2013-09-06 13:52:57 +02:00
Dominik Schürmann
3a66c1c25a Testing encrypt by service 2013-09-06 13:48:27 +02:00
Dominik Schürmann
fabb0389fc Put model into own class for easier use in service 2013-09-06 12:34:06 +02:00
Dominik Schürmann
1beb85acf5 Register works basically 2013-09-06 11:55:08 +02:00
Dominik Schürmann
dc6a709b7a Disable parts of the old API 2013-09-06 11:24:28 +02:00
Dominik Schürmann
c97c57d34e remove dead code 2013-09-06 10:03:25 +02:00
Dominik Schürmann
c9549befb2 Put logic into fragment for reuse 2013-09-06 09:44:56 +02:00
Dominik Schürmann
4030739a99 api apps adapter with icons 2013-09-06 08:40:13 +02:00
Dominik Schürmann
2b303d3558 select key for api apps 2013-09-06 08:29:56 +02:00
Dominik Schürmann
00d03d452e Include DoneBar for edit activities 2013-09-05 21:25:49 +02:00
Dominik Schürmann
8614ff2ec7 Fix revoke and save 2013-09-05 00:27:17 +02:00
Dominik Schürmann
9a737c7318 rename crypto consumers to api apps 2013-09-05 00:02:48 +02:00
Dominik Schürmann
fcec7e830c App settings activity 2013-09-04 23:47:40 +02:00
Dominik Schürmann
d8bd6e2946 Settings fragment and activity for apps 2013-09-04 22:04:27 +02:00
Dominik Schürmann
c3b49a318f Show app name in registered apps 2013-09-04 20:12:58 +02:00
Enrico Oliverio
8becbd0622 Type is set to text/plain so that encrypted messages can be sent with Whatsapp, Hangouts, SMS etc... 2013-08-09 14:57:46 +02:00
Dominik Schürmann
7cca7b1ffa Redifine Service callbacks 2013-07-25 16:25:20 +02:00
bcbarnes-gmx
f74d0b8719 Refactored action constants 2013-07-23 15:18:45 -05:00
bcbarnes-gmx
3d6ae3ee83 Implemented issue #53 - Change intent actions from extra ints to intent actions 2013-07-23 07:49:34 -05:00
bcbarnes-gmx
2ad6cca924 Issue #61 - Unable to upload public keys to PKS 2013-07-22 14:14:06 -05:00
bcbarnes-gmx
a48aa2bcaa Change key bit length control into a dropdown 2013-07-22 11:11:41 -05:00
bcbarnes-gmx
27bf2a5771 Issues #41 and #43 2013-07-22 09:59:14 -05:00
Dominik Schürmann
28b3c20b15 Merge pull request #58 from bcbarnes-gmx/Issue55
Implement Issue55
2013-07-22 06:45:44 -07:00
bcbarnes-gmx
8c18bf8129 Implement issue #55 2013-07-22 08:43:19 -05:00
bcbarnes-gmx
eaeb10c1e8 Implemented issues #56 2013-07-22 08:37:41 -05:00
bcbarnes-gmx
3f97e30fa0 Merge branch 'master' of git://github.com/ashh87/openpgp-keychain 2013-07-19 10:08:52 -05:00
Dominik Schürmann
14350679d1 Restructure 2013-07-01 23:23:53 +02:00
Dominik Schürmann
202ccc2c36 More work on crypto consumers 2013-07-01 23:19:53 +02:00
Dominik Schürmann
36cc814e84 Add database columns for crypto consumer preferences 2013-06-18 01:48:25 +02:00
Dominik Schürmann
d4e054d5f2 some fixes all over 2013-06-17 19:51:41 +02:00
Dominik Schürmann
0f3e78ebf7 Possible to add allowed packages 2013-06-17 16:59:27 +02:00
Dominik Schürmann
918bab3a4e Rename foir clarification 2013-06-17 16:05:39 +02:00
Dominik Schürmann
41338e115c Better API demo, open activity from service, discover crypto provider with packagemanager instead of register intent 2013-06-17 15:52:09 +02:00
Dominik Schürmann
f6fc6caa1c rename to openintents namespace 2013-05-29 15:58:50 +02:00
Dominik Schürmann
438ccd480e Check if passphrase is needed in PassphraseCacheService, extend documentation 2013-05-29 13:57:28 +02:00
Dominik Schürmann
61451fa5b5 update API 2013-05-28 23:42:45 +02:00
Dominik Schürmann
92d76e482a debug infos 2013-05-28 23:16:44 +02:00
Dominik Schürmann
215864a33e Process safe implementation of PassphraseCacheService, First test for crypto provider 2013-05-28 22:48:42 +02:00
Dominik Schürmann
b221c0c905 Crypto Provider implementation start 2013-05-28 15:10:36 +02:00
Ash Hughes
515b415a56 use Bouncycastle updated API 2013-05-18 23:11:14 +01:00
Ash Hughes
723a89079c enable passphrase changing for subkey only keychains 2013-05-13 16:10:11 +01:00
Ash Hughes
5db08b9bdc 2/2 use forked spongycastle to speed up secret key imports 2013-05-13 15:10:52 +01:00
Dominik Schürmann
30fa184e7e Merge with ashh87s pull request 2013-03-22 14:16:49 +01:00
Ash Hughes
0075c522a6 use certification keys to sign keyrings 2013-03-21 14:48:30 +00:00
Ash Hughes
cf34a1720e change edit key for empty private master keys 2013-03-21 14:18:38 +00:00
Ash Hughes
650b22d5e9 only sign keys if private key has capability 2013-03-19 02:04:56 +00:00
Ash Hughes
2d856c5f0e use db to mark keys which can certify 2013-03-18 18:51:24 +00:00
Ash Hughes
12d6cfefd7 change how empty private cheks happen, speeds things up 2013-03-18 16:07:34 +00:00
Ash Hughes
2ccd3796c4 select correct master key for signing public key with 2013-03-16 00:15:06 +00:00
Ash Hughes
4fc4f09e84 Fix decrypt file selection and symmetric decryption failure 2013-03-15 23:24:06 +00:00
Ash Hughes
9985722c6e correctly encrypt using symmetric key if sign box checked 2013-03-15 21:34:31 +00:00
Ash Hughes
dd27d132be tidy up code 2013-03-14 22:04:24 +00:00
Ash Hughes
935274960d remove signing icon for master keys which can't sign 2013-03-14 17:24:22 +00:00
Ash Hughes
911719bdb6 don't cache passphrase twice 2013-03-14 12:58:09 +00:00
Ashley Hughes
cf42bcd039 skip key 0 (master) on retry for passphrase 2013-03-14 12:28:22 +00:00
Ash Hughes
115d34ba0e private keys without master keys and some fixes for things which broke along the way 2013-03-14 03:23:50 +00:00
Michael Dietz
fbe0717ce2 Remove debugging code 2013-02-26 12:03:31 -06:00
Michael Dietz
ed0d7e1a53 Fixed bug in secret key selection fragment where it was displaying public keys 2013-02-26 12:01:27 -06:00
Dominik Schürmann
99122fa8d9 extras for database broadcast 2013-01-19 00:24:27 +01:00
Dominik Schürmann
4177f7159c New broadcast on database change to inform other apps 2013-01-18 23:51:44 +01:00
Dominik Schürmann
d599d26bbd Error handling when keyring is not found 2013-01-18 00:36:30 +01:00
Dominik Schürmann
9e5aab3483 Fix edit key intent, api improvements 2013-01-18 00:33:20 +01:00
Dominik Schürmann
f334dea1b5 rename intent actions to use KEYRING instead of KEY 2013-01-17 01:53:49 +01:00
Dominik Schürmann
40f2355b1a Intent action fixes 2013-01-17 01:48:57 +01:00
Dominik Schürmann
0fffa4500b Rename fixes 2013-01-16 14:45:15 +01:00
Dominik Schürmann
1feb948acf Renaming APG to OpenPGP Keychain 2013-01-16 14:31:16 +01:00