24 Commits

Author SHA1 Message Date
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
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
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
2f04e7ee05 some small bugfixes 2010-06-02 19:30:27 +00:00
Thialfihar
9ad474e95b trivial 2010-06-02 19:10:48 +00:00
Thialfihar
2170069d8a force message encrypt/decrypt view if the activities are called via *_AND_RETURN Intents 2010-06-02 15:33:40 +00:00
Thialfihar
1d023b0372 betterly store the information that the intent demands an immediate return, check action equality without verbose null checks 2010-06-02 10:45:26 +00:00
Thialfihar
72b899fa79 by default show the undecrypted block without line wrapping, just feels less messy, switch after decryption 2010-06-02 10:20:41 +00:00
Thialfihar
ca5416532f support ASTRO and others for the file selection 2010-06-01 21:28:30 +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
5fb8cb4d5e use new key database for encryption and decryption 2010-05-26 23:40:12 +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
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
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
363dcb62b8 password cache introduced, not cleared yet. 2010-05-15 15:19:56 +00:00
Thialfihar
cab78bf4c1 remove .pgp for filename guessing for decryption 2010-05-14 11:43:07 +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
77d1bca12f Log removal and such 2010-05-11 17:37:51 +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
e36e8f1dea merged DecryptMessageActivity and DecryptFileActivity into one DecryptActivity as well 2010-05-11 14:07:15 +00:00