Commit Graph

10 Commits

Author SHA1 Message Date
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
Thialfihar
3052ae80d5 testing thread-pausing in verifyText() 2010-09-12 19:06:26 +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
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
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
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
Thialfihar
a34adb09a4 added a language setting to change the language directly 2010-07-18 07:19:57 +00:00
Thialfihar
f5efd73d33 set svn:eol-style to LF for all code/resource files 2010-07-16 20:13:12 +00:00
Thialfihar
315093c5bc finally read APG version dynamicly, so the version name doesn't have to be changed anywhere but the manifest 2010-06-08 13:46:21 +00:00
Thialfihar
ed2cb1e525 overdue merge of 0.9.x into trunk 2010-05-18 15:23:25 +00:00