On Fri, Apr 05, 2019 at 12:25:30AM +0100, unman wrote:
> On Thu, Apr 04, 2019 at 10:52:09AM -0400, J.M. Porup wrote:
> > hi,
> >
> > Configuring split pgp for mutt on a Qubes 4 laptop using Debian 9 vms.
> >
> > split pgp works to sign documents from the email vm:
> >
> > qubes-gpg-client-wrapper --clearsign foo.txt
> >
> > but does not work to encrypt documents/emails:
> >
> > /usr/lib/mutt/pgpewrap qubes-gpg-client-wrapper --encrypt foo.txt
> >
> > which returns the error message:
> >
> > gpg: cannot open '/dev/tty': No such device or address
> >
> > I've been tinkering with this for several days, and am not finding a
> > solution. Why is split pgp working for signing, but not encrypting?
>
> Add --batch or put this in your gpg.conf
thanks. adding --batch gives me the following error:
/usr/lib/mutt/pgpewrap qubes-gpg-client-wrapper --encrypt --batch foo.txt
gpg: no valid addressees
gpg: [stdin]: encryption failed: No user ID
For some reason qubes-gpg-client-wrapper can find my signing subkey
but not the encryption subkey.
ideas?
thanks
jmp