Skip to content

Conversation

@tkrajesh
Copy link

No description provided.

… gpg2

gpg2 is dynamically linked, and the only way in Android to find a dylib is
via the LD_LIBRARY_PATH.  Therefore, the gpg lib dir needs to be added
for gpgme env as well.
I think this are only used for C++, but right now they are just another
file to maintain while providing no benefit to us.  They can be updated in
the gnupg-for-java project once development settles down.
…ctor

Before, it would only search and return public keys
Since ByteArrayOutputStreams are used to get data out of GnuPGData, add a
size() method so that the ByteArrayOutputStream can pre-allocate the memory
needed, or at least close to the final number.
… ones

this should make it a tiny bit harder to sneak a bad .so into gnupg, and
also avoid cases where people might install stuff willy-nilly on their
device.
I want to be able to rapidly scan the methods and see how the args differ.
eighthave and others added 25 commits March 17, 2014 15:27
Currently, this needs stuff in the private gpgme header data.h, so we
include it here for now.  Ultimately this should be replaced by code that
only uses the public API in gpgme.h
The headers are only useful during the implementation process, and are not
needed during the build process.  So make them a separate, optional step.
Running the original script made a lot of changes to the code, the edits to
the script caused the least amount of changes for me.
This makes emacs automatically setup the right code formatting when it
loads any of these files.
The same Makefile is now setup to handle multiple platforms.  It currently
works with Debian/Ubuntu/Mint/etc. and Windows with MinGW.
javah generates C headers from the Java sources, so they provide a way to
check that the C JNI code matches the Java definitions.  This commit
enables that functionality.
Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
@KellySwaine
Copy link

Thanks

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍👍👍

jni/TAGS
# generated JNI headers
jni/com_freiheit_gnupg_GnuPG*.h
lib/libgnupg-for-java.so

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants