Commit Graph

75 Commits

Author SHA1 Message Date
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
0f226e40cb minor Intent/Extra key renamings 2010-08-12 17:00:52 +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
b650b30a11 added secure file deletion, overwriting the file with random data before actual deletion
Update issue 56
Added a method for secure file deletion. We'll possibly have to test this a bit and make sure it actually *is* secure on the filesystems used (vfat for SD card, yaffs2 for phone flash memory by default). This sort of overwrite might be absolutely useless on some filesystems.
I also wanted to add an option at first, but this seems reasonably fast and in general it should be what the user wants, so for now it will ALWAYS securely delete. If there is a demand for plain deletion, then options can be added.

Update issue 39
A new string:
<string name="progress_deletingSecurely">deleting \'%s\' securely...</string>
2010-07-24 14:24:42 +00:00
Thialfihar
93835f5595 1.0.x changes merged into trunk 2010-07-16 20:18:43 +00:00
Thialfihar
f5efd73d33 set svn:eol-style to LF for all code/resource files 2010-07-16 20:13:12 +00:00
Thialfihar
2c47734f0f trying to add support for various source and destination modes for encryption and decryption (String, byte[], filename, content stream), also more Intent options added 2010-07-09 20:55:17 +00:00
Thialfihar
3ac472125a some playing with content stream decryption and providing the result as content stream 2010-07-09 11:28:39 +00:00
Thialfihar
c1699150a8 prevent endless loop on some binary data during stream content determination in GeneralActivity 2010-07-01 23:50:14 +00:00
Thialfihar
16cea885e2 merge 1.0.x back into trunk 2010-06-30 19:59:33 +00:00
Thialfihar
bda9745d8b much better version reading by directly looking for the APG package, rather than looping through all installed packages 2010-06-18 15:14:41 +00:00
Thialfihar
865c998abd recent 1.0.x changes into trunk 2010-06-17 13:08:28 +00:00
Thialfihar
81327ee60b useless imports removed 2010-06-08 13:48:43 +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
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
6a4c8c96db should have been in the last commit 2010-06-06 17:41:40 +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
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
5547f61e4f deliver the user id as well for secret key selection, so k9mail can use it to display the signature key 2010-06-01 14:59:06 +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
d483feb64c minor fixes to make key retrieval more stable 2010-05-30 16:53:04 +00:00
Thialfihar
d1fa1895f1 fixed a method name 2010-05-29 20:38:45 +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
b42f02ba92 some coding practice and potential bug fixes 2010-05-27 20:27:21 +00:00
Thialfihar
570b7a6d8e added revocation and creation/expire time info to key table, use both for public and secret key selection 2010-05-27 20:09:26 +00:00
Thialfihar
edd9a22882 some (hopefully better) database/cursor handling, picking encryption and signature keys working again, tho it'll have to be tidied up 2010-05-27 01:40:50 +00:00
Thialfihar
5fb8cb4d5e use new key database for encryption and decryption 2010-05-26 23:40:12 +00:00
Thialfihar
fa99a70a49 import/export/delete/save keyrings working with new database stuff 2010-05-26 15:25:14 +00:00
Thialfihar
6f28f5ee4e key lists somewhat wrapped into one, using the new database stuff, Apg cleaned up a bit, preparing to use the database there as well 2010-05-26 00:33:26 +00:00
Thialfihar
cbe86d5f2a give 0.10.x branch its version info 2010-05-21 15:46:33 +00:00
Thialfihar
71f5af31e4 catch EOFException during import 2010-05-21 14:42:12 +00:00
Thialfihar
97745873e7 lifting branch to 0.9.8 2010-05-21 03:04:02 +00:00
Thialfihar
2c784554c7 fixed symmetric decrypting, stream didn't support .reset(), I guess, so now creating fresh streams where needed, and changed exception string to "" + e, rather than getMessage(), as that still can be null... annoying. 2010-05-21 02:47:40 +00:00
Thialfihar
0cda18e357 preparing for version 0.9.7 2010-05-20 22:17:17 +00:00
Thialfihar
260946009a properly import keys from streams that may contain multiple blocks of ASCII armour or binary data, also small adjustment in strings 2010-05-20 22:03:41 +00:00
Thialfihar
6d107f3498 promoted to next version 2010-05-19 16:33:02 +00:00
Thialfihar
f7eae9c7e2 actually use the compression settings ;), and give them better default values 2010-05-19 14:38:06 +00:00
Thialfihar
51866bb2b2 keep track of the position the input stream for decryption, makes it possible to give accurate progress information 2010-05-17 14:19:36 +00:00
Thialfihar
eb636fce47 default message/file compression settings added, also a setting for file decryption to change the default when a file requires it 2010-05-16 14:20:17 +00:00
Thialfihar
c7f0041751 give key editing its own pass phrase mechanism, as the new cache won't work there 2010-05-16 13:35:16 +00:00
Thialfihar
9855f4d144 honour the pass phrase cache TTL by running a timer and removing expired cached pass phrases 2010-05-16 13:17:45 +00:00
Thialfihar
363dcb62b8 password cache introduced, not cleared yet. 2010-05-15 15:19:56 +00:00
Thialfihar
c0d24306cb replaced error and progress strings in APG.java with resource IDs as well 2010-05-13 22:47:19 +00:00
Thialfihar
b527ae8b6d a lot of renaming of IDs, following a strict naming scheme again, moved most strings into string.xml in preparation for internationalization, APG.java still has to be changed to allow that, as it isn't Context aware in most methods 2010-05-13 20:41:32 +00:00
Thialfihar
5f6a098914 lifted version to 0.9.5 and cleared change log 2010-05-11 21:34:00 +00:00