Re: cython wrapping gpgme WAS: Thoughts on GnuPG and automation

2015-03-09 Thread Daniele Nicolodi
On 09/03/15 20:27, Hans-Christoph Steiner wrote: I have no idea about the Java tooling for interfacing to external libraries, but (after seeing so many complaints on the mailing list) I've recently started to work on Python bindings to GPGME using Cython, and so far it has been an extremely

Re: PGP/MIME (Was: One alternative to SMTP for email: Confidant Mail)

2015-03-25 Thread Daniele Nicolodi
On 25/03/15 23:56, Ville Määttä wrote: On 26.03.15 00:14, Ingo Klöcker wrote: So it's not mailman that's not smart enough, but the mail clients the other recipients are using. Mail clients showing a signature.asc attachment probably do not understand PGP/MIME (which isn't that unusual because

Re: Thoughts on GnuPG and automation

2015-03-04 Thread Daniele Nicolodi
On 03/03/15 14:29, Hans of Guardian wrote: It is actually more difficult to wrap GPGME in Java than to have just rewritten GPGME in Java. GPGME is a fine API for C/C++, it is a bad API for other languages. You end up with an API that feels like a C API forced into the language, e.g. Java,

Surprising command line options handling

2015-02-23 Thread Daniele Nicolodi
Hello, I've been struggling quite a long while today trying to understand why the following command does not do what I expected: gpg --export-secret-subkeys 41E999D7! \ --export-options export-reset-subkey-passwd It does not reset the password on the exported subkey. After some head

Re: Unattended signing

2015-02-23 Thread Daniele Nicolodi
Hello Daniel, thanks for your reply. On 21/02/15 20:11, Daniel Kahn Gillmor wrote: On Wed 2015-02-18 13:46:19 -0500, Daniele Nicolodi wrote: I have a sufficient trust in the security of the server where the automated process runs, but I would like to reduce to a minimum the risks

Re: Surprising command line options handling

2015-02-23 Thread Daniele Nicolodi
On 24/02/15 00:19, Doug Barton wrote: On 2/23/15 2:51 PM, Daniele Nicolodi wrote: Hello, I've been struggling quite a long while today trying to understand why the following command does not do what I expected: gpg --export-secret-subkeys 41E999D7! \ --export-options export-reset

Re: Surprising command line options handling

2015-02-24 Thread Daniele Nicolodi
On 24/02/15 09:34, Werner Koch wrote: I find it surprising that unrecognized tokens are simply ignored. Wouldn't it be preferable to error out, at least on unrecognized options? GnuPG does not follow the common GNU model of interchangeable options and args. It is modeled like a classic Unix

Re: Unattended signing

2015-02-21 Thread Daniele Nicolodi
On 18/02/15 19:46, Daniele Nicolodi wrote: I have an automated process that collects some data and unattended sends it via email. I want that data to be encrypted and signed. The encryption part is easy as it requires only public keys of the recipients. Signing, however, requires to make

Re: absolutely nothing to panic over

2015-10-27 Thread Daniele Nicolodi
On 27/10/15 08:25, listo factor wrote: > On 10/27/2015 03:55 AM, Robert J. Hansen wrote: >> You start from tautology and conclude at paradox. This doesn't appear >> to be something to be taken seriously. > > Allow me to try again: > > *There is no secure communication over an insecure channel >

Re: Should I be using gpg or gpg2?

2015-09-28 Thread Daniele Nicolodi
On 28/09/15 22:00, listo factor wrote: > On 09/28/2015 05:40 PM, Werner Koch - w...@gnupg.org wrote: > > On Mon, 28 Sep 2015 13:23, listofac...@mail.ru said: > > > >> Unless you have specific reasons for transitioning to gpg2, stick > >> with gpg (GnuPG) 1.4.16. It is just as secure, and much

Re: Documentation format

2016-02-06 Thread Daniele Nicolodi
On 06/02/16 21:59, Robert J. Hansen wrote: >>> (For the record: yes, I know why org-mode has trouble with i18n export >>> to LaTeX. Yes, it's a hard problem. Yes, fixing it might not be worth >>> the effort. All of this is true. None of it changes how annoyed I am >>> by the bug, though.) >>

Re: How to encrypt and sign with different keys

2016-07-18 Thread Daniele Nicolodi
On 7/18/16 2:49 PM, Dashamir Hoxha wrote: > On Mon, Jul 18, 2016 at 9:40 PM, d...@mielko.com > > wrote: > > I am struggling with GPG command line that will encrypt file with > key A and sign it with key B. You can select

Re: --export-options export-reset-subkey-passwd

2017-08-13 Thread Daniele Nicolodi
On 12/08/17 20:15, Daniele Nicolodi wrote: > Hello, > > I have a workflow were I use this option to reset the subkey passphrase > during export to a remote system where the subkey is used for unattended > signing. This option has been removed in GnuPG 2.1, and I haven't found &g

--export-options export-reset-subkey-passwd

2017-08-12 Thread Daniele Nicolodi
Hello, I have a workflow were I use this option to reset the subkey passphrase during export to a remote system where the subkey is used for unattended signing. This option has been removed in GnuPG 2.1, and I haven't found a way to obtain the same result. Does anyone have any tip? Thanks!

Re: --export-options export-reset-subkey-passwd

2017-08-28 Thread Daniele Nicolodi
Hello Werner, On 8/23/17 11:59 PM, Werner Koch wrote: > On Sun, 13 Aug 2017 08:17, dani...@grinta.net said: > >> Digging a bit more, it seems that the functionality got dropped because >> with GnuPG 2.x all key manipulations go through gpg-agent and it does >> not (yet?) support password reset