Re: git repo won't build for lack of source files?

2018-06-20 Thread Mike Inman
Sorry, forgot a critical trick or maybe 2, should have just pasted the script in the first place: #!/bin/bash # # https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=blob;f=README set -e export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH pushd npth ./autogen.sh --force ./configure --enab

Re: git repo won't build for lack of source files?

2018-06-20 Thread Mike Inman
Are you also building the required support libraries? I have recently build 2.2.8 successfully using this set of support libs: git checkout npth-1.5 git checkout libgpg-error-1.31 git checkout libgcrypt-1.8.2 git checkout libksba-1.3.5 git checkout libassuan-2.5.1 git checkout gnupg-2.2.8 then r

Re: gpgme_op_delete_ext flag GPGME_DELETE_FORCE not working?

2018-06-19 Thread Mike Inman
As a followup: I have done some tracing of the code, found that the GPGME_DELETE_FORCE flag to gpgme_op_delete_ext causes a --yes option to be added to the gpg command. I confirmed on command line that the behavior is the same there: --yes does not suppress the "are you sure" graphic dialog boxes

gpgme_op_delete_ext flag GPGME_DELETE_FORCE not working?

2018-06-18 Thread Mike Inman
Hi, I've been trying to use the GPGME_DELETE_FORCE flag in gpgme_op_delete_ext, but I'm still getting not one, but two "Do you really want to delete..." prompts popping up, one for the secret key, one for the sub-key. I am using GPGme version 1.11.1 in combination with gpg 2.2.8 (as confirmed by r

gpgme_key_t or gpgme_op_export_keys keydata to gcry_sexp_t

2018-06-07 Thread Mike Inman
Hi, I'm trying to work with gpgme to manage public/private key pairs on a keyring, but also use these keys with libgcrypt for signing, verifying signatures, etc. without interacting with gpg or the keyring... I've found and used the functions like: https://www.gnupg.org/documentation/manuals/gpgm

Re: GnuPG usage for automatic remote decryption

2018-04-11 Thread Mike Inman
Errata, 3 - Compute SHe = sk^d mod n of course really meant: 3 - Compute SHe = SH^d mod n Mike ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users

Re: GnuPG usage for automatic remote decryption

2018-04-11 Thread Mike Inman
eys with new updates, but does it provide a mechanism for multiple authentications on a single message? ( Like: SHe1+SHe2...+SHeN+"Authenticated message" ? ) Thanks, Mike On Wed, Apr 11, 2018 at 10:29 AM, Peter Lebbing wrote: > On 11/04/18 14:51, Mike Inman wrote: > > Encrypt the

Re: GnuPG usage for automatic remote decryption

2018-04-11 Thread Mike Inman
*** Correcting one, somewhat important, word *** Hi Dirk & Ken, I'm working on a similar problem... automated decryption "in the field" and what I have come to is this: Encrypt the message with a symmetric algorithm, adding salt and a hash/checksum to ensure validity. Then, taking that result a

Re: GnuPG usage for automatic remote decryption

2018-04-06 Thread Mike Inman
Hi Dirk & Ken, I'm working on a similar problem... automated decryption "in the field" and what I have come to is this: Encrypt the message with a symmetric algorithm, adding salt and a hash/checksum to ensure validity. Then, taking that result and signing with a private key. In the field - the

Features vs versions

2018-03-27 Thread Mike Inman
Hi, I'm working with libgcrypt in a CentOS 7 distribution that includes version 1.5.3... I'd like to use GCRY_CIPHER_MODE_CCM but this https://markmail.org/message/pavkgenzrd4mmbpu makes me think that it isn't available in 1.5.3? Is there an easy table of what features became stable in libgcrypt

Followup: gpgme_set_passphrase_cb not working...

2018-03-22 Thread Mike Inman
FWIW, here's the log entry from an attempt to use gpgme_set_passphrase_cb on a symmetric encryption. For some reason I still cannot figure out, my callback function isn't being used, the system prompt still appears (twice, once to confirm.) GPGME 2018-03-21 18:58:18 <0x6205> gpgme_release: cal

Re: gpgme_set_passphrase_cb not cooperating...

2018-03-22 Thread Mike Inman
Thanks Werner, I did that, saw the call to gpg2 (2.0.28, libcrypt 1.6.3), tried changing the engine to /usr/bin/gpg ( using gpgme_ctx_set_engine_info( ctx, GPGME_PROTOCOL_OpenPGP, "/usr/bin/gpg", NULL ) ) and that worked under Ubuntu. Now, my target environment is CentOS 7, and they resolve /usr

gpgme_set_passphrase_cb not cooperating...

2018-03-21 Thread Mike Inman
_version returns 1.5.5 and gpg --version returns 1.4.18 in Ubuntu 15.10 Any help would be appreciated. Thanks, Mike Inman ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users