split pgp not working in debian 9 vms

10 views
Skip to first unread message

J.M. Porup

unread,
Apr 4, 2019, 10:52:19 AM4/4/19
to qubes...@googlegroups.com
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?

Any ideas?

thanks!

jmp

--
J.M. Porup
www.JMPorup.com

unman

unread,
Apr 4, 2019, 7:25:34 PM4/4/19
to qubes...@googlegroups.com
Add --batch or put this in your gpg.conf

J.M. Porup

unread,
Apr 4, 2019, 7:51:39 PM4/4/19
to unman, qubes...@googlegroups.com
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

unman

unread,
Apr 4, 2019, 8:10:50 PM4/4/19
to qubes...@googlegroups.com
You havent specified who it's encrypted to.
-r <name>
Reply all
Reply to author
Forward
0 new messages