Commit Graph

164 Commits

Author SHA1 Message Date
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
f94af3e4e6 unused imports removed 2010-05-15 16:11:28 +00:00
Thialfihar
2c5a80a16f added pass phrase cache to preferences, not used yet, but preference and about menu item now show up in every activity 2010-05-15 16:09:49 +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
5f6a098914 lifted version to 0.9.5 and cleared change log 2010-05-11 21:34:00 +00:00
Thialfihar
77d1bca12f Log removal and such 2010-05-11 17:37:51 +00:00
Thialfihar
5a7e3e3938 brought change log up to date 2010-05-11 17:36:10 +00:00
Thialfihar
a8ee0bd863 small fix to be compatible with Android 1.5 2010-05-11 16:35:41 +00:00
Thialfihar
09ad7df83d use XML layout for pass phrase dialogs as well now, doing away with awkward manual padding, important for Android 1.5 compatibility 2010-05-11 16:33:34 +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
Thialfihar
5e73b696d1 new EncryptActivity to handle message and file encryption all in one 2010-05-09 19:51:21 +00:00
Thialfihar
6e3f182291 minor 2010-05-09 13:38:05 +00:00
Thialfihar
73888622f4 added a button to encrypt to clipboard, change log and about window got their own layout now with proper linkification 2010-05-09 13:29:30 +00:00
Thialfihar
2e1aad0f81 reset changelog for 0.9.4 2010-05-04 23:19:39 +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
3008f2c51f added an option to delete files after encryption or decryption, also no longer delete the output file if either fails 2010-05-04 15:56:55 +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
e4183c1fcd update signature layout even if select key was cancelled 2010-04-29 12:56:55 +00:00
Thialfihar
0b397581a7 update signature layout even if select key was cancelled 2010-04-29 12:53:33 +00:00
Thialfihar
e36dfa324a removed some useless imports 2010-04-29 12:45:11 +00:00
Thialfihar
3dc5e37cc6 use the app directory for default import/export file paths 2010-04-29 12:44:08 +00:00
Thialfihar
dc5125787d updated changes dialog 2010-04-29 11:51:34 +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
a6fe3364d1 changed the option menu item order 2010-04-29 10:55:50 +00:00
Thialfihar
f01c1a6679 updated changes dialog 2010-04-29 01:47:04 +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
a037815454 removed some useless imports 2010-04-29 01:18:42 +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
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
d8e89c8822 choose the NEAREST prime for ElGamal, rather than the next lowest 2010-04-24 17:52:13 +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
e30a531229 bug prevents pass phrase being recognized, making key creation unusable 2010-04-24 16:00:56 +00:00
Thialfihar
25b8eb9d77 reset changelog for 0.9.1 2010-04-24 13:30:22 +00:00
Thialfihar
b52103295a version lifted to 0.9.1 2010-04-24 13:16:21 +00:00
Thialfihar
2c093b3e0d clean up for release, AsciiArmour was a Button instead of CheckBox... fixed 2010-04-24 02:16:45 +00:00
Thialfihar
89b8ff7862 slight text change 2010-04-23 17:03:05 +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
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
09741b0286 use OI File Manager intents to handle open/save file selection 2010-04-17 23:36:47 +00:00
Thialfihar
de6743e4f5 copyright header in new file 2010-04-17 19:12:21 +00:00
Thialfihar
0f0f02776d wrapped file dialogs into class in preparation for proper file picking 2010-04-17 19:10:39 +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
Thialfihar
5b5e15c886 changelog details for 0.8.1 2010-04-15 16:44:45 +00:00
Thialfihar
c212f28c44 rewrote sign-only code, also finally recognize sign-only emails in the list and allow opening them for verification 2010-04-15 16:37:32 +00:00
Thialfihar
acd71a45c0 minor layout fixes, replace non breakable spaces if found in an encrypted armored message, as they break the decryption, the HTML representation of GMail introduces them for empty lines ending in a normal space, also adjusted the PGP_MESSAGE regex to allow for spaces after the -----, which seems to be added by some implementations 2010-04-15 14:37:46 +00:00
Thialfihar
b8009d6d43 0.8.x branch promoted to version 0.8.1, fixed list view of mail accounts not filling the main layout, made a bunch of private classes static 2010-04-14 14:08:24 +00:00
Thialfihar
42f1720bb3 initial commit of v0.8.0 2010-04-06 19:54:51 +00:00