Commit Graph

119 Commits

Author SHA1 Message Date
Dominik
8452fb62b7 renaming whole package to org.apg to simplifiy name 2012-03-09 16:27:29 +01:00
Dominik
7a2e1e42d9 fixing qrcode integration 2012-03-09 12:13:28 +01:00
Dominik
781f089ee1 merged senecasos repo 2012-03-09 11:08:22 +01:00
Markus Doits
ad16574657 Allow to pass large blobs and a new content provider to simplify this
Since AIDL is not for passing large data, a blob can be passed to APG by
a Uri. This Uri is opened as a file by APG and read/written to. Note the
file is overwritten by APG, so make sure it is a copy if you want to
keep the original.

With the ApgServiceBlobProvider, Apg has an own ContentProvider that can
be used like mentioned above. For now the data is stored in the dir
where APG stores other files and NOT DELETED after en/decryption. This
is tbd. It can only be accessed by an application with the permission
"org.thialfihar.android.apg.permission.STORE_BLOBS".

ApgCon has been updated accordingly and can handle blobs with `setBlob`
and `getBlobResult`. That is a really easy way to en/decrypt large data.

Note that encrypting by blob should only be used for large files (1MB+).
On all other cases, the data should be passed as as String through the
AIDl-Interface, so no temporary file must be created.

See ApgCon for a complete example of how to connect to the AIDL and use
it. Or use it in your own project!
2011-11-04 21:22:49 +01:00
senecaso
debb90409a -implementation of "--send-key"
-implementation of "--sign-key"
-partial implementation of exchanging/verifying keys via QR Code
2011-10-17 10:07:37 +09:00
Thialfihar
9fbda63b6f added Portuguese translation, thanks, Paulo Angelo 2011-09-11 20:02:20 +00:00
Thialfihar
36c2b860ce strings fixes in IT and NO version 2011-02-05 16:09:01 +00:00
Rick Deckard
83a5d5f8f8 Update italian translations 2010-12-28 10:36:41 +00:00
Sander Danielsen
16252e99aa 2010-12-26 00:21:41 +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
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
Rick Deckard
9c251b6809 Added italian translations for the new keys 2010-09-13 10:53:48 +00:00
Thialfihar
3052ae80d5 testing thread-pausing in verifyText() 2010-09-12 19:06:26 +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
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
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
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
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
Thialfihar
b3a63beffc merge conflict fixed 2010-08-15 17:35:21 +00:00
Thialfihar
bd99b2590b 1.0.x merged back into trunk 2010-08-15 17:32:08 +00:00
tripetdevet
e6dc995126 small corrections to slovenian translation 2010-08-15 16:40:16 +00:00
tripetdevet
04b1d08d58 small change to slovenian translation 2010-08-06 20:33:01 +00:00
Thialfihar
281535cfcc changed the account adding a bit, hopefully working with Froyo, at least preventing a crash
Update issue 39
added:
<string name="error_accountReadingNotAllowed">no permission to read the account</string>
2010-08-05 11:25:44 +00:00
Christian Ketti
a88af8a85e Apostrophe fix in italian translation. 2010-07-30 12:50:01 +00:00
tripetdevet
cc27142786 some changes to Slovenian translation. 2010-07-29 19:09:24 +00:00
Thialfihar
b13eb7dbf3 added a "force V3 signature" setting similar to the GPG version, hopefully making APG useful for some special cases where that is needed
Update issue 39
Two new strings:
<string name="section_advanced">Advanced</string>
<string name="label_forceV3Signature">Force V3 Signatures</string>

"V3" is just "version 3" and should remain untranslated, both strings can be seen at the bottom of the preferences activity.
2010-07-27 22:41:50 +00:00
tripetdevet
20f7755b2c small change to Slovenian translation. 2010-07-27 21:13:48 +00:00
Thialfihar
368f0a122f added an optional checkbox to the file dialog, can be used for instance to optionally delete files after importing them, and is used for that, also rearranged the option menu items for the main activity a little
Update issue 39
Added a new string:
<string name="label_deleteAfterImport">Delete After Import</string>
2010-07-26 21:57:28 +00:00
tripetdevet
c1d9bbc644 some more translations to Slovenian language. 2010-07-25 13:20:28 +00:00
tripetdevet
64aaa721f1 mored translations to Slovenian language added. 2010-07-25 12:58:30 +00:00
Thialfihar
46fb6fc613 change the text of encrypt buttons according to selected signature or keys, making sign-only less confusing
Update issue 39
New strings to give the encrypt buttons more meaningful and fitting texts:
<string name="btn_signToClipboard">Sign To Clipboard</string>
<string name="btn_signAndEmail">Sign And Email</string>
<string name="btn_sign">Sign</string>
2010-07-24 18:54:40 +00:00
Thialfihar
f65888046e added a little getting started dialog for first-time use, explaining some basics and recommending other apps
Update issue 39
Added:
    <string name="title_help">Getting Started</string>
    <string name="menu_help">Help</string>
    <!-- "OI File Manager", "ASTRO", and "K-9 Mail" must NOT be translated in order for the links to the market to work. -->
    <string name="text_help">Install K-9 Mail for the best integration, it supports APG for PGP/INLINE and lets you directly encrypt/decrypt emails.
\n\nIt is recommended that you install OI File Manager or ASTRO to be able to use the browse button for file selection in APG.
\n\nFirst you need some keys. Either import them via the option menus in \"Manage Public Keys\" and \"Manage Secret Keys\" or create them in \"Manage Secret Keys\".
\n\nYou can also add a GMail account in the main activity via \"Add Account\", which simplifies decrypting emails received there.
\n\nCheck out the option menus in the various activities to find more functions.
    </string>
2010-07-24 16:30:38 +00:00