Commit Graph

1929 Commits

Author SHA1 Message Date
Dominik
4a8d9694c4 new icon, new about dialog, some refactorings 2012-03-09 18:43:10 +01:00
Dominik
8452fb62b7 renaming whole package to org.apg to simplifiy name 2012-03-09 16:27:29 +01:00
Dominik
df6933bfb8 fixes to clipboard management 2012-03-09 15:41:31 +01:00
Dominik
7a2e1e42d9 fixing qrcode integration 2012-03-09 12:13:28 +01:00
Dominik
781f089ee1 merged senecasos repo 2012-03-09 11:08:22 +01:00
Dominik
5ede7d4756 Merge branch 'pampa' 2012-03-09 10:53:53 +01:00
Dominik
a942c4a507 merged apg_service from googlecode 2012-03-09 10:51:38 +01:00
Markus Doits
ad16574657 Allow to pass large blobs and a new content provider to simplify this
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!
2011-11-04 21:22:49 +01:00
Markus Doits
a7294d50b1 Ignore good old mac's .DS_Store ... 2011-11-04 20:53:01 +01:00
Markus Doits
8d9b0e1db8 Switch to spongycastle
https://github.com/rtyley/spongycastle

It replaces bouncycastle2. Looks like a cleaner and better integration. A
precompiled .jar ist in the "lib/"-dir.
2011-11-03 22:15:31 +01:00
Markus Doits
e6c86a8892 Add .gitignore to ignore eclipse-specific files 2011-11-03 22:14:37 +01:00
Markus Doits
1b7fbb1eeb Update to latest version in master
Merge branch 'master' into apg_service

Conflicts:
	src/org/thialfihar/android/apg/Apg.java
	src/org/thialfihar/android/apg/Preferences.java
2011-11-03 20:14:24 +01:00
senecaso
debb90409a -implementation of "--send-key"
-implementation of "--sign-key"
-partial implementation of exchanging/verifying keys via QR Code
2011-10-17 10:07:37 +09:00
senecaso
6f2333b7d3 -mavenizing the project
-moving all org.bouncycastl2.* dependencies to Sponcy Castle instead. 
This way multiple people dont need to maintain rebased versions of BC
2011-10-06 15:31:16 +09:00
Alex Zhukov
70b75e7312 skip PGPSignatureList if it comes before PGPLiteralData 2011-09-27 22:01:04 +04:00
Oliver Runge
3ec27e07ae @Override refactoring, some explicit casting added 2011-09-17 23:44:06 +02:00
Oliver Runge
50036a4642 added .gitignore 2011-09-17 23:31:12 +02:00
Thialfihar
9fbda63b6f added Portuguese translation, thanks, Paulo Angelo 2011-09-11 20:02:20 +00:00
Thialfihar
cb8d589034 upgraded to target android-13 2011-09-11 19:15:58 +00:00
Markus Doits
0502be7652 Documentation update of ApgCon 2011-06-05 19:47:41 +00:00
Markus Doits
24205b8dbc Cleanup of code, AIDL-calls renamed! 2011-06-05 19:05:57 +00:00
Markus Doits
6502e58c26 Possibility to not compile Log.d and Log.v in 2011-06-05 19:05:18 +00:00
Markus Doits
3be076d024 Little better log-managing for release-versions of ApgCon 2011-05-18 18:19:47 +00:00
Thialfihar
3a22ac4197 applied proposed patch by mattispasch for issue 99 2011-03-19 18:23:54 +00:00
Thialfihar
4e37568eab remove the null check for progress again, not needed in the trunk for now 2011-02-05 16:40:46 +00:00
Thialfihar
f37204321d don't include a Preference re-instantiation for now, will see about that when merging apg_service 2011-02-05 16:11:07 +00:00
Thialfihar
36c2b860ce strings fixes in IT and NO version 2011-02-05 16:09:01 +00:00
Markus Doits
c497e48817 Define interface without imports 2011-01-25 19:51:35 +00:00
Markus Doits
7278932990 Make callback use an interface 'the java way'_tm 2011-01-25 19:39:07 +00:00
Markus Doits
1036eb6bd5 Log stacktraces the android way 2011-01-25 19:38:56 +00:00
Markus Doits
3372e57157 Allow to retrieve connection status
This tells, if a connection to APG *might* be possible (right version of
APG found)
2011-01-23 21:37:06 +00:00
Markus Doits
66263ab6e3 Allow to return itself on callback 2011-01-23 21:36:59 +00:00
Markus Doits
cb4f1933d5 Dont remove result and warnings from result
Some more debug output, too
2011-01-23 21:36:51 +00:00
Markus Doits
efc5575d56 Change the way the complete result can be retrieved 2011-01-23 21:36:44 +00:00
Markus Doits
1ec5fc0541 Allow to retrieve fingerprints and user ids through AIDL
Update ApgCon and doc accordingly.

Not very tested.
2011-01-23 21:36:35 +00:00
Markus Doits
6b7db8161a Don't query things we don't need 2011-01-23 21:36:27 +00:00
Markus Doits
4b882fa90b Other applications must user permission to read key details to connect
to AIDL interface

This is necessary, because upcoming version of the aidl-interface will
be able to return fingerprints and user ids to applications.
2011-01-23 21:36:20 +00:00
Markus Doits
b5097b7a41 Some more verbose logs 2011-01-20 20:23:13 +00:00
Markus Doits
c9f6f56827 Work on errors and documentation - once more 2011-01-20 20:00:28 +00:00
Markus Doits
392969629c Some better (non-misleading) error msgs
Also some reindentation
2011-01-20 18:38:15 +00:00
Markus Doits
1af5a985b5 Redefine some log-msges 2011-01-20 18:25:38 +00:00
Markus Doits
05627fbd62 Print some info about keys on asymmetric encryption 2011-01-20 18:19:42 +00:00
Markus Doits
730b44bc73 Make the stacktrace enabler static 2011-01-20 18:19:34 +00:00
Markus Doits
dfb4f4e030 Allow at compile time to enable stacktraces on exceptions 2011-01-20 17:38:25 +00:00
Markus Doits
d4901f5999 Catch callback's and apg-call's (are there any?) exceptions 2011-01-20 16:53:51 +00:00
Markus Doits
72ab7fb25f Some more error output 2011-01-20 16:40:45 +00:00
Markus Doits
3e158d0afc Some better errors (hopefully more information)
Some smaller fixes and some new functions/doc, too
2011-01-20 16:36:03 +00:00
Markus Doits
15bf93de34 Fix wrong param in doc 2011-01-20 12:49:49 +00:00
Markus Doits
e73794a5cc Add javadoc on public things
Small other changes, too.
2011-01-20 11:55:36 +00:00
Markus Doits
be2476e0ba Allow async execution of an AIDL call
Calls can now be executed asyncronously. Callback methods are supported,
too. See comments of "set_callback()".

First tries with javadoc.
2011-01-19 22:33:06 +00:00