Statistics
| Branch: | Tag: | Revision:

gnupg-for-android / jni @ master

Name Size
Android.mk 2.68 KB
Application.mk 385 Bytes
GnuPGContext.c 25 KB
GnuPGData.c 5.04 KB
GnuPGGenkeyResult.c 691 Bytes
GnuPGKey.c 5.73 KB
GnuPGSignature.c 2.01 KB
androidlog.h 1.13 KB
config.h 56 Bytes
gpgmeutils.c 2.87 KB
gpgmeutils.h 1.92 KB
info_guardianproject_gpg_Posix.c 1.07 KB
pinentry_cmd_handler.c 18 KB

Latest revisions

# Date Author Comment
b9c634ad 03/17/2014 10:39 pm hans

replace hack using private header with public gpgme_signers_count()

This is how I originally figured out how to get it working, then Werner
added the gpgme_signers_count() function as of gpgme 1.4.3.

fixes #1549 https://dev.guardianproject.info/issues/1549

3119a09d 03/12/2014 02:46 am hans

tame the debug messages for release

Lots of unnecessary debug messages... purge!

0325cc43 01/15/2014 10:36 pm hans

get curl building in Android-style and include it the build

refs #1548

2bc4150f 01/15/2014 10:36 pm hans

remove unused variable in pinentry JNI code

2568f4c3 01/15/2014 10:36 pm hans

gnupg-for-java: replace crazy loops with linked list when building keylists

The old code was buggy and difficult to read. This commit replaces it with
one pass of reading keys from gpgme and writing to a linked list. Then a
second pass that creates a fixed java Array and fills it from the linked...

e5323257 01/15/2014 10:12 pm hans

gnupg-for-java: add changePassphrase() and purge old non-functional code

gnupg-for-java was written for GnuPG 1.x with GPGME. The expectation there
was that the passphrase prompt was handled by the client app. Now in GnuPG
2.x, all passphrase prompting is handled by GnuPG pinentry, which is always...

4982ca54 01/15/2014 10:12 pm hans

lots of debug messages for pinentry

7e56d00a 01/15/2014 10:12 pm hans

remove redundant return statement in android_cmd_handler

refs #2744, #1275

631a555e 01/15/2014 10:12 pm hans

gnupg-for-java: POSIX setenv() to change app's env vars, which GnuPG requires

This allows GPG to set the env vars at app launch, and everything should
magically get the env. There are two things that require setting env vars:

  • Android's linker can only find shared libs by looking in LD_LIBRARY_PATH,...
f0271908 01/15/2014 10:12 pm hans

install libs built Android-style into libs/$(APP_ABI)/ instead of assets/

This means that Android handles the rest for us, including bundling and
unpacking them from the APK, setting the LD_LIBRARY_PATH, etc.

refs #1548

View revisions

Also available in: Atom