Re: using with su/sudo

2016-10-06 Thread NIIBE Yutaka
On 10/07/2016 12:21 AM, John Lane wrote: > The requirement for tty ownership for commands where pinentry is > required causes problems for shells opened with sudo or su, where > such commands generally result in a "permission denied" kind of error: > > $ gpg -d /tmp/encrypted.asc > gpg: pu

RE: Syntax Question on GPG2 on LINUX

2016-10-06 Thread Steve Butler
Jim, I don't use modern but I do have a script for classic that works in unattended mode on a Linux box. The caller knows the input file name and the script knows my passphrase -- default gpg_pass2. Hope this helps with gpg2! --Steve $ cat gpg_encrypt #!/bin/ksh usage="gpg_encrypt [ -a -b -e

Syntax Question on GPG2 on LINUX

2016-10-06 Thread Jim Ernst
Hello All - I am working in a LINUX environment using GPG version 2.1.15 Can anyone give me the syntax to use gpg2 to create a signed, encrypted file using a passphrase in a LINUX shell script ? This is being run from Oracle EBS on a schedule so there would not be a user interacting to answer

Re: Listing signatures in edit mode?

2016-10-06 Thread John Lane
On 06/10/16 19:41, Peter Lebbing wrote: > On 06/10/16 21:10, John Lane wrote: >> Would I not expect to see sigs by FC91A390 and 63AB1D1A on E8BB8D0 ? > No, the cross-certification signature is part of the signature of > 1E8BB8D0 on 63AB1D1A. This cross-certification signature is not really > that w

Re: Listing signatures in edit mode?

2016-10-06 Thread Peter Lebbing
On 06/10/16 21:10, John Lane wrote: > Would I not expect to see sigs by FC91A390 and 63AB1D1A on E8BB8D0 ? No, the cross-certification signature is part of the signature of 1E8BB8D0 on 63AB1D1A. This cross-certification signature is not really that well visible. For instance, take my key: --

Re: Listing signatures in edit mode?

2016-10-06 Thread Werner Koch
On Thu, 6 Oct 2016 21:10, gn...@jelmail.com said: > where it says "Subkey cross-certification (sometimes called "back > signing") involves the subkey issuing a signature on the primary key, Ah well, this is a property of the key binding signature for signature subkeys. You can look at them usin

Re: Listing signatures in edit mode?

2016-10-06 Thread John Lane
On 06/10/16 08:11, Werner Koch wrote: > On Wed, 5 Oct 2016 17:26, gn...@jelmail.com said: >> I know how to list signatures with "gpg --list-sigs" but is it possible >> to do so whilst in "gpg --edit-key" mode ? > > There is a "check" command which does the same as --check-sigs. > However, I just

Re: Listing signatures in edit mode?

2016-10-06 Thread Werner Koch
On Wed, 5 Oct 2016 17:26, gn...@jelmail.com said: > I know how to list signatures with "gpg --list-sigs" but is it possible > to do so whilst in "gpg --edit-key" mode ? There is a "check" command which does the same as --check-sigs. However, I just realized that there is a regression in 2.1 in th

using with su/sudo

2016-10-06 Thread John Lane
The requirement for tty ownership for commands where pinentry is required causes problems for shells opened with sudo or su, where such commands generally result in a "permission denied" kind of error: $ gpg -d /tmp/encrypted.asc gpg: public key decryption failed: Permission denied I can