aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/thialfihar/android/apg/Id.java
Commit message (Collapse)AuthorAgeFilesLines
* renaming whole package to org.apg to simplifiy nameDominik2012-03-091-185/+0
|
* merged senecasos repoDominik2012-03-091-1/+10
|\
| * -implementation of "--send-key"senecaso2011-10-171-1/+11
| | | | | | | | -implementation of "--sign-key" -partial implementation of exchanging/verifying keys via QR Code
| * -mavenizing the projectsenecaso2011-10-061-1/+1
| | | | | | | | -moving all org.bouncycastl2.* dependencies to Sponcy Castle instead. This way multiple people dont need to maintain rebased versions of BC
* | Allow to pass large blobs and a new content provider to simplify thisMarkus Doits2011-11-041-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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!
* | Switch to spongycastleMarkus Doits2011-11-031-1/+1
|/ | | | | | | https://github.com/rtyley/spongycastle It replaces bouncycastle2. Looks like a cleaner and better integration. A precompiled .jar ist in the "lib/"-dir.
* testing thread-pausing in verifyText()Thialfihar2010-09-121-0/+1
|
* moved some Intent extra constants into more appropriate places, some basic ↵Thialfihar2010-09-111-0/+1
| | | | preparations to test thread-pausing during decryption/encryption to deal with certain situations, mainly an unknown signature key
* catch null pointer exceptions when the private key cannot be extracted, also ↵Thialfihar2010-09-101-0/+1
| | | | | | | prevent such keys from getting imported, so the error message should never be encountered anyway Fixes issue 66
* added a context menu item to update public keys via key server, adding a key ↵Thialfihar2010-08-181-0/+2
| | | | | | | | id look up Intent for the key server query Update issue 9 Status: Fixed Added public key update via key server. Considering this issue fixed now. More key server features will be added, but general support is added.
* added a key server preference, allowing multiple key servers to be addedThialfihar2010-08-171-0/+1
| | | | | Update issue 9 Key server preference added.
* added initial support for HKP key servers, allowing searching and key importThialfihar2010-08-171-0/+8
| | | | | 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.
* added a little getting started dialog for first-time use, explaining some ↵Thialfihar2010-07-241-0/+2
| | | | | | | | | | | | | | | | | basics and recommending other apps Update issue 39 Added: <string name="title_help">Getting Started</string> <string name="menu_help">Help</string> <!-- "OI File Manager", "ASTRO", and "K-9 Mail" must NOT be translated in order for the links to the market to work. --> <string name="text_help">Install K-9 Mail for the best integration, it supports APG for PGP/INLINE and lets you directly encrypt/decrypt emails. \n\nIt is recommended that you install OI File Manager or ASTRO to be able to use the browse button for file selection in APG. \n\nFirst you need some keys. Either import them via the option menus in \"Manage Public Keys\" and \"Manage Secret Keys\" or create them in \"Manage Secret Keys\". \n\nYou can also add a GMail account in the main activity via \"Add Account\", which simplifies decrypting emails received there. \n\nCheck out the option menus in the various activities to find more functions. </string>
* added secure file deletion, overwriting the file with random data before ↵Thialfihar2010-07-241-0/+2
| | | | | | | | | | | | | 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>
* set svn:eol-style to LF for all code/resource filesThialfihar2010-07-161-155/+155
|
* trying to add support for various source and destination modes for ↵Thialfihar2010-07-091-0/+7
| | | | encryption and decryption (String, byte[], filename, content stream), also more Intent options added
* working encryption/decryption of text and files after GeneralActivity hands ↵Thialfihar2010-06-061-0/+6
| | | | it over
* added search to option menu and make it pop up when keys on the physical ↵Thialfihar2010-06-051-0/+1
| | | | keyboard are pressed
* introduced a general application to handle certain Intents, only to hand ↵Thialfihar2010-06-051-0/+7
| | | | them to other APG Activities after looking at the content of the passed data
* key lists somewhat wrapped into one, using the new database stuff, Apg ↵Thialfihar2010-05-261-5/+5
| | | | cleaned up a bit, preparing to use the database there as well
* first steps towards better low-level key management, database upgrade to use ↵Thialfihar2010-05-251-0/+5
| | | | KeyRing, Key, and UserId tables
* default message/file compression settings added, also a setting for file ↵Thialfihar2010-05-161-0/+9
| | | | decryption to change the default when a file requires it
* password cache introduced, not cleared yet.Thialfihar2010-05-151-0/+5
|
* a lot of renaming of IDs, following a strict naming scheme again, moved most ↵Thialfihar2010-05-131-0/+2
| | | | 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
* merged DecryptMessageActivity and DecryptFileActivity into one ↵Thialfihar2010-05-111-0/+1
| | | | DecryptActivity as well
* new EncryptActivity to handle message and file encryption all in oneThialfihar2010-05-091-0/+1
|
* added a button to encrypt to clipboard, change log and about window got ↵Thialfihar2010-05-091-0/+5
| | | | their own layout now with proper linkification
* added an option to delete files after encryption or decryption, also no ↵Thialfihar2010-05-041-0/+1
| | | | longer delete the output file if either fails
* put return values into the Id class as well, changed encrypt file layout to ↵Thialfihar2010-04-291-0/+7
| | | | use symmetric OR asymmetric again, layout and string adjustments
* add preferences, use them where applicableThialfihar2010-04-281-0/+1
|
* added file decryption, rewrote the various "Choice" derivations to us the Id ↵Thialfihar2010-04-221-1/+14
| | | | structure as well
* set svn:ignore for bin directory and .project/.classpathThialfihar2010-04-191-0/+2
| | | | asymmetric file encryption working, some more cleanup, introduced an application directory to encrypt to by default
* major restructuring, moving dialog, message, menu, option menu, task, type ↵Thialfihar2010-04-191-0/+82
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