Commit Graph

1546 Commits

Author SHA1 Message Date
Markus Doits
ed0df2803f Allow to regenerate shared preferences
I encountered a problem that changing preferences in APG did not change
the preferences in ApgService after it was called once:

1. call getPreferences
2. change settings in APG
3. call getPreferences again

--> the result at 3. was still having preferences from 1.

To work around this, the function getPreferences has been updated to
force the new generation of preferences while not breaking any other
code relying on the old behaviour.
2010-12-30 13:39:46 +00:00
Markus Doits
ec988efb55 Remove weird chars at the beginning of xml 2010-12-29 16:49:27 +00:00
Markus Doits
455510e0c0 Fix wrong placed backslash 2010-12-29 16:47:55 +00:00
Markus Doits
6634f40bc2 Merge trunk into apg_service 2010-12-29 16:43:10 +00:00
Markus Doits
e8d29c01c2 Add first basic implementation of Apgservice
Provides an AIDL-API for other apps to encrypt and decrypt a string
symmetrically with a passphrase. Function names and API is by no way
finalized and will change!

Support for asymetric encription will follow.

For reference and discussion see issue #71,
https://code.google.com/p/android-privacy-guard/issues/detail?id=71
2010-12-29 16:31:58 +00:00
Markus Doits
1edac5a61e Allow progress-meter to be null
No need to force people to use progressmeter
2010-12-29 12:11:25 +00:00
Rick Deckard
83a5d5f8f8 Update italian translations 2010-12-28 10:36:41 +00:00
Markus Doits
fc08f14ef1 Branch for ApgService AIDL development until spec is final 2010-12-27 18:33:05 +00:00
Sander Danielsen
16252e99aa 2010-12-26 00:21:41 +00:00
Thialfihar
50bc9bf6f2 trunk lifted to next beta version 2010-12-25 22:20:34 +00:00
Thialfihar
bf6029124f prepare 1.0.8 release 2010-12-25 21:53:48 +00:00
Thialfihar
9687e9b1a3 auto-click encrypt/decrypt button when using an *_AND_RETURN Intent with EXTRA_DATA or ContentURI
Fixes issue 67
2010-12-25 19:24:04 +00:00
Thialfihar
9e8b266bf0 show key fingerprint in key list
Fixes issue 76
2010-12-25 19:12:35 +00:00
Thialfihar
9e54b3d99d added Chinese translation 2010-12-25 17:45:03 +00:00
Thialfihar
f28d0549e0 renamed values-nb to values-no as the correct macro language code 2010-12-25 17:10:14 +00:00
Thialfihar
1447092e36 renamed values-nb to values-no as the correct macro language code 2010-12-25 17:10:10 +00:00
Thialfihar
c86dc10264 changed values-nn to values-nb for Norsk bokmål, added it as supported language 2010-12-25 17:04:42 +00:00
Thialfihar
6439859c66 changed values-nn to values-nb for Norsk bokmål, added it as supported language 2010-12-25 17:04:39 +00:00
Thialfihar
ee1918b7c8 DataSource: consider content URI sources "binary" also 2010-12-25 14:12:12 +00:00
Thialfihar
428cf39ba3 added an Intent and functionality to generate detached signatures 2010-12-25 14:00:25 +00:00
Thialfihar
01889c405f strings fixes 2010-12-22 22:55:28 +00:00
Thialfihar
322d2e139f Danish pass phrase ttyl hour options added 2010-12-22 20:24:58 +00:00
Thialfihar
7b145777cf unescaped apostrophe fix in a strings.xml 2010-12-22 20:24:01 +00:00
Thialfihar
b731c3c2f8 added pass phrase cache ttl options 2 hours, 4 hours, 8 hours 2010-12-22 19:55:14 +00:00
Sander Danielsen
979ce1b052 2010-12-08 00:47:36 +00:00
Thialfihar
f55d4d55a5 start encryption/decryption for ENCRYPT_AND_RETURN/DECRYPT_AND_RETURN if MESSAGE_DATA is used rather than MESSAGE_TEXT 2010-09-26 17:46:13 +00:00
Rick Deckard
9c251b6809 Added italian translations for the new keys 2010-09-13 10:53:48 +00:00
Thialfihar
22adc769bc removed the accidentally created directory 2010-09-12 19:07:53 +00:00
Thialfihar
3052ae80d5 testing thread-pausing in verifyText() 2010-09-12 19:06:26 +00:00
Sander Danielsen
2e981bf3db 2010-09-12 18:25:43 +00:00
Thialfihar
b91f9397d9 moved some Intent extra constants into more appropriate places, some basic preparations to test thread-pausing during decryption/encryption to deal with certain situations, mainly an unknown signature key 2010-09-11 23:21:53 +00:00
Thialfihar
bc50ca0093 catch null pointer exceptions when the private key cannot be extracted, also prevent such keys from getting imported, so the error message should never be encountered anyway
Fixes issue 66
2010-09-10 20:36:38 +00:00
Thialfihar
c4489dc31e prepared Norwegian translation 2010-09-10 17:53:06 +00:00
Thialfihar
41c3c52a42 trivial variable renaming 2010-08-31 20:25:14 +00:00
tripetdevet
f9daee0449 2010-08-29 17:04:48 +00:00
Thialfihar
1cf8c24931 added Spanish to list of supported languages in language preference 2010-08-29 12:39:35 +00:00
Thialfihar
564be4ec71 Spanish translation added, thanks arnauh 2010-08-29 12:36:41 +00:00
Thialfihar
12d9bb8dee moved key editing beta warning into strings.xml
Update issue 39
added:
<string name="keyEditingIsBeta">Key editing is still kind of beta.</string>
2010-08-22 10:51:24 +00:00
tripetdevet
453c8e2fb9 changes to slovenian translation. 2010-08-22 10:35:36 +00:00
Thialfihar
bcde95e18d enabled app2sd, changed build target to API level 8 (2.2) for this
Fixes issue 65
2010-08-18 13:27:54 +00:00
Thialfihar
996a1dbe1c integrated key server look-up into decrypt Activity, allowing to touch an unkown signature to import the key
Update issue 39
added:
<string name="unknownSignatureKeyTouchToLookUp">Unknown signature, touch to look up key.</string>
2010-08-18 12:26:13 +00:00
Thialfihar
08305b4963 explicitly set a timeout for connecting and reading for a key server query 2010-08-18 00:53:18 +00:00
Thialfihar
18de5178f8 starting new versioning for beta builds, only show changelog on release builds 2010-08-18 00:42:45 +00:00
Thialfihar
4f25edbe97 added a context menu item to update public keys via key server, adding a key id look up Intent for the key server query
Update issue 9
Status: Fixed
Added public key update via key server. Considering this issue fixed now. More key server features will be added, but general support is added.
2010-08-18 00:23:28 +00:00
Thialfihar
c57c36b3a5 use the key server preference to fill a Spinner in the key server query activity, allowing to query each server, also moved some previously static labels into strings.xml
Update issue 9
Key server preferences are now used in key server query activity.
2010-08-17 23:05:41 +00:00
Thialfihar
fc0ae774cd moved IntegerListPreference to apg.ui.widget 2010-08-17 22:03:56 +00:00
Thialfihar
446f4b493d added a key server preference, allowing multiple key servers to be added
Update issue 9
Key server preference added.
2010-08-17 21:49:34 +00:00
Thialfihar
e4dd80005c gave HKP server proper error handling, going through all IPs of a pool until a response is received, reporting "too many responses", "no keys found", "insufficient query" correctly
Update issue 9
Proper error handling added.
2010-08-17 14:51:39 +00:00
Thialfihar
96162b6608 properly URI-decode file:// URIs, so the files can be found
Fixes issues 63
2010-08-17 12:50:42 +00:00
Thialfihar
6e9146c91a added initial support for HKP key servers, allowing searching and key import
Update issue 9
Can search a key server now, touch a result to import the key. Still needs better error handling and some Intents to import keys based on key ID. Also still need key server preferences.
2010-08-17 01:02:39 +00:00