Re: How to encrypt and sign with different keys

2016-07-21 Thread Ingo Klöcker
On Thursday 21 July 2016 12:27:20 d...@mielko.com wrote: > From: "Robert J. Hansen" >> gpg --recipient ID-A --local-user ID-B --encrypt --sign filename.txt > > Still need your help guys. The syntax listed below works (or I think > it does) but how do I verify that the file was encrypted with key

Re: How to encrypt and sign with different keys

2016-07-21 Thread d...@mielko.com
Still need your help guys. The syntax listed below works (or I think it does) but how do I verify that the file was encrypted with key ID-A and signed with key ID-B? When I type "gpg filename.pgp" I get the information about encryption key but nothing mentions ID-B signing key. I am asking beca

gpg4win: gpg agent forwarding from a Windows Workstation with a yubikey to a Linux machine

2016-07-21 Thread Thomas Glanzmann
Hello, I would like to use gpg-agent on Windows with a yubikey and use ssh to forward my gpg agent to a remote machine. Is that already possible, if so how? I assume I can't use putty. So probably I have to use cygwin openssh, but what about the unix socket on windows? Can a named pipe be used? SS

Re: Yubikey + GNUPG 2.1.14 + GPG Agent Forwarding + Mutt 1.6.0 (gpgme 1.6.0): Not asking for PIN for smartcard on first use of an encryption key

2016-07-21 Thread Thomas Glanzmann
Hello Peter, * Thomas Glanzmann [2016-07-21 16:22]: > From what I learned so far, the behaviour depends on the entry > 'pinentry-mode' if you set it to 'default' it asks the remote agent. in order to not spread misinformation myself. 'pinentry-mode default' and no pinentry-mode does the same for

Re: Yubikey + GNUPG 2.1.14 + GPG Agent Forwarding + Mutt 1.6.0 (gpgme 1.6.0): Not asking for PIN for smartcard on first use of an encryption key

2016-07-21 Thread Thomas Glanzmann
Hello Peter, * Peter Lebbing [2016-07-21 11:27]: > extra-socket [socket file] quick follow up. With this option it works like a charm without the need for keep-display or keep-tty. Thanks again for bringing this up. Also you made my private key which is on disk probably much more secure. (remot

Re: Yubikey + GNUPG 2.1.14 + GPG Agent Forwarding + Mutt 1.6.0 (gpgme 1.6.0): Not asking for PIN for smartcard on first use of an encryption key

2016-07-21 Thread Thomas Glanzmann
Hello Peter, > GnuPG doesn't expect that you forward the normal gpg-agent socket. For > forwarding to a remote machine, there is the gpg-agent.conf option > extra-socket [socket file] I see, I read a lot of tutorials on the web, nobody seems to really understand what they're doing. In one of the

Re: Yubikey + GNUPG 2.1.14 + GPG Agent Forwarding + Mutt 1.6.0 (gpgme 1.6.0): Not asking for PIN for smartcard on first use of an encryption key

2016-07-21 Thread Peter Lebbing
On 21/07/16 08:00, Thomas Glanzmann wrote: > From my point of view gpg-agent should ignore any DISPLAY > settings coming over the unix socket, because it already knows the > DISPLAY location. GnuPG doesn't expect that you forward the normal gpg-agent socket. For forwarding to a remote machine, the