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
Markus Doits
4b882fa90b
Other applications must user permission to read key details to connect
...
to AIDL interface
This is necessary, because upcoming version of the aidl-interface will
be able to return fingerprints and user ids to applications.
2011-01-23 21:36:20 +00:00
Markus Doits
e6ece71fa0
Add AIDL API version
2011-01-18 22:08:56 +00:00
Markus Doits
7bf8649d95
Update version information to reflect branch
2011-01-17 21:15:31 +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
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
428cf39ba3
added an Intent and functionality to generate detached signatures
2010-12-25 14:00:25 +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
18de5178f8
starting new versioning for beta builds, only show changelog on release builds
2010-08-18 00:42:45 +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
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
bd99b2590b
1.0.x merged back into trunk
2010-08-15 17:32:08 +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
Thialfihar
ff2da0c5d1
added some info about the speed of compression algorithms, mostly to warn about BZIP2, also added support for content URIs in file encrypt/decrypt activities
2010-07-05 13:22:03 +00:00
Thialfihar
16cea885e2
merge 1.0.x back into trunk
2010-06-30 19:59:33 +00:00
Thialfihar
865c998abd
recent 1.0.x changes into trunk
2010-06-17 13:08:28 +00:00
Thialfihar
8d19e3d422
lift trunk to 1.0.3
2010-06-08 15:26:21 +00:00
Thialfihar
0c073ca8eb
better filter for GeneralActivity again
2010-06-06 20:34:44 +00:00
Thialfihar
6d2a1edd17
limit GeneralActivity to non-Uri Intents or file:// Uri Intents, now handling key imports as well
2010-06-06 19:46:49 +00:00
Thialfihar
a0ab240214
some Activity Intent filter cleanup, pass messages via Strings rather than ByteArrays, avoid some encoding issues
2010-06-06 11:42:41 +00:00
Thialfihar
26a500956f
working encryption/decryption of text and files after GeneralActivity hands it over
2010-06-06 00:35:00 +00:00
Thialfihar
84d00abea1
added search feature for key management and select Activities
2010-06-05 21:47:16 +00:00
Thialfihar
a089dbbb73
introduced a general application to handle certain Intents, only to hand them to other APG Activities after looking at the content of the passed data
2010-06-05 17:54:40 +00:00
Thialfihar
4acca3b54f
lifted 1.0.x to new version
2010-06-03 21:31:02 +00:00
Thialfihar
600b44b9fc
added a service to handle the caching, this'll ensure the cache works while no activity is around, which is better for k9mail integration
...
it also is a more efficient and much smarter cache, not requiring an own timer thread, just a service that sleeps must of the time, it also is more accurate in cleaning up the entries, ensuring that the worst case of too late removal is 5 seconds
2010-06-03 16:17:55 +00:00
Thialfihar
7193edbba2
added content provider again and read permission to grab key details
2010-06-02 14:01:18 +00:00
Thialfihar
4229b94270
working encryption out of k9mail
2010-06-01 03:20:13 +00:00
Thialfihar
24a53d548b
use string constants for bundle keys, first Intent for k9mail
2010-05-31 23:15:20 +00:00
Thialfihar
334852402d
adjust version number
2010-05-28 11:15:54 +00:00
Thialfihar
eed42b2e34
fully removed old DataProvider for now, manage queries, clean up old database stuff
2010-05-28 07:04:01 +00:00
Thialfihar
cbe86d5f2a
give 0.10.x branch its version info
2010-05-21 15:46:33 +00:00
Thialfihar
97745873e7
lifting branch to 0.9.8
2010-05-21 03:04:02 +00:00
Thialfihar
eb6001cf65
preparing for version 0.9.7
2010-05-20 22:19:33 +00:00
Thialfihar
6d107f3498
promoted to next version
2010-05-19 16:33:02 +00:00
Thialfihar
508d7ac197
catch ACTION_SEND intent to decrypt, allowing k9mail's "Forward (alternate)" feature to send to APG
2010-05-18 15:02:57 +00:00
Thialfihar
5f6a098914
lifted version to 0.9.5 and cleared change log
2010-05-11 21:34:00 +00:00
Thialfihar
358d0a41c1
setting the min SDK version to 1.5, it now should work for all Android versions 1.5+
2010-05-11 17:26:12 +00:00
Thialfihar
e36e8f1dea
merged DecryptMessageActivity and DecryptFileActivity into one DecryptActivity as well
2010-05-11 14:07:15 +00:00
Thialfihar
5e73b696d1
new EncryptActivity to handle message and file encryption all in one
2010-05-09 19:51:21 +00:00
Thialfihar
49be34c4a4
lift version to 0.9.4
2010-05-04 17:38:54 +00:00
Thialfihar
95e02158d8
increased app version and cleared change log for 0.9.3
2010-04-29 13:31:10 +00:00
Thialfihar
e83a5311ae
add preferences, use them where applicable
2010-04-28 23:35:11 +00:00
Thialfihar
86192e39d9
file encrypt layout entirely rewritten, should be much more userfriendly and work on more devices, changed message encrypt layout to match
2010-04-26 17:41:06 +00:00
Thialfihar
b01a47a115
set branch to next version, reset changelog
2010-04-24 18:10:53 +00:00
Thialfihar
b52103295a
version lifted to 0.9.1
2010-04-24 13:16:21 +00:00
Thialfihar
0e14dcb290
layout adjustments, force portrait layout for EncryptFileActivity for now, (En|De)cryptFileActivity can now handle symmetric algorithms
2010-04-23 17:00:52 +00:00
Thialfihar
78193007b2
added file decryption, rewrote the various "Choice" derivations to us the Id structure as well
2010-04-22 15:30:19 +00:00
Thialfihar
d5c5a2c43b
major restructuring, moving dialog, message, menu, option menu, task, type IDs into Id in a similar structure as the generated R, also introducing a BaseActivity class that almost all activities derive from, which generates some common dialogs, handles the progress update, thread management, and thread communication
...
also adding first draft of encrypt file activity, not very functional yet
2010-04-19 02:12:13 +00:00
Thialfihar
4fc97b90fc
lift branch 0.9.x's version to 0.9.0 and set version code to 5 for now
2010-04-17 18:19:13 +00:00