Commit Graph

56 Commits

Author SHA1 Message Date
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
Thialfihar
29ea6f2f6f fix a signature bug, which resulted in wrongly read signatures if there was only one line 2010-05-11 15:11:24 +00:00
Thialfihar
49be34c4a4 lift version to 0.9.4 2010-05-04 17:38:54 +00:00
Thialfihar
168795b827 removed unnecessary imports 2010-05-04 16:07:44 +00:00
Thialfihar
f34fcaabf3 give decryption a moving progress bar for a data of unknown size 2010-05-04 15:20:30 +00:00
Thialfihar
6b52878056 close streams more consistently (outside of encrypt/decrypt), force a new output filename guess if the ASCII armour checkbox state changes 2010-05-04 14:27:31 +00:00
Thialfihar
e542c37eb3 use buffers for encryption, so large files work as well... also showing encryption progress with better accuracy, which is especially useful for large encryptions
Fixes issue 18.
2010-05-04 14:07:18 +00:00
Thialfihar
778f51dbaa check whether the hashed packet is non-null before using it, also checking the unhashed ones in the same manner... not sure whether that's needed, but can't hurt? Fixes issue 17. 2010-05-04 13:11:56 +00:00
Thialfihar
95e02158d8 increased app version and cleared change log for 0.9.3 2010-04-29 13:31:10 +00:00
Thialfihar
b20419fbf3 recognize RSA_SIGN and RSA_ENCRYPT keys correctly, which fixes the hushmail problems 2010-04-29 11:50:25 +00:00
Thialfihar
5cf07b4a03 only allow asymmetric encryption or symmetric encryption of files, not both like before 2010-04-29 01:38:19 +00:00
Thialfihar
88fc659ff6 put return values into the Id class as well, changed encrypt file layout to use symmetric OR asymmetric again, layout and string adjustments 2010-04-29 01:11:26 +00:00
Thialfihar
e83a5311ae add preferences, use them where applicable 2010-04-28 23:35:11 +00:00
Thialfihar
b01a47a115 set branch to next version, reset changelog 2010-04-24 18:10:53 +00:00
Thialfihar
81cdd6b943 ElGamal support added, fix of some minor GUI bugs, added a bunch of safe primes for ElGamal key creation 2010-04-24 17:40:09 +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
ab6c884bdf steps towards symmetric file encryption 2010-04-23 00:01:59 +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
26cf672d67 set svn:ignore for bin directory and .project/.classpath
asymmetric file encryption working, some more cleanup, introduced an application directory to encrypt to by default
2010-04-19 13:56:43 +00:00