On 09/10/2015 05:17 PM, Antony Prince wrote: > without gpgme installed). I'm not 100% sure how to test the > functionality of the binary and library, so if anyone wants to give it a > go, I'd be glad to hear the results. The ftp server[2] allows for > anonymous download. > [2]ftp://blazrsoft.com/ >
As an update on this, I've written a very short program to invoke the test functions of the library. This is more of a learning exercise for me, but I figured I'd let anyone interested know that I was still pursuing it. It doesn't work 100% yet and I'm working towards figuring it out, but at the very least, I've got the suite() method in com.freiheit.gnupg.tests.GnuPGTestSuite to start attempting its key creation tests. The results are: suite() genKey: " <GnupgKeyParms format="internal"> Key-Type: DSA Key-Length: 1024 Subkey-Type: ELG-E Subkey-Length: 1024 Name-Real: alpha Name-Comment: just a test Name-Email: al...@alpha.org Expire-Date: 0 Passphrase: alpha </GnupgKeyParms>" Exception in thread "main" com.freiheit.gnupg.GnuPGException: 117440513: General error at com.freiheit.gnupg.GnuPGContext.gpgmeOpGenKey(Native Method) at com.freiheit.gnupg.GnuPGContext.genKey(GnuPGContext.java:748) at com.freiheit.gnupg.tests.GnuPGTestSuite.suite(GnuPGTestSuite.java:66) at com.blazrsoft.gnupg4javatester.MainClass.main(MainClass.java:8) It is failing at the call to genKey(). I'll figure it out eventually I'm sure. This is using the .jar and .so files created by the Travis CI builds that I mentioned earlier. I'll likely perform tests with natively built files to see if the issue lies there, etc. If I can maintain the motivation, I may eventually work on my own Java front-end for the library, just to see if I can do it. -- Antony Prince Key ID: 0xAF3D4087301B1B19 Fingerprint: 591FF17F7A4AA8D0F659C482AF3D4087301B1B19 URL: https://keyserver.blazrsoft.com
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users