New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using SplitPGP to perform actions throws a tty error #1160

Closed
bnvk opened this Issue Sep 2, 2015 · 2 comments

Comments

Projects
None yet
2 participants
@bnvk

bnvk commented Sep 2, 2015

I've got SplitGPG setup working, or at least I think it is working. When I type qubes-gpg-client -K it properly shows my key UIDs correctly, and importing keys all work fine. However, if I try to encrypt anything from my work-gpg VM I get the following error:

[user@work-gpg ~]$ qubes-gpg-client --encrypt my-files.zip 
gpg: cannot open tty `/dev/tty': No such device or address

Is using --encrypt not allowed? As far as I understand from the use case of SplitGPG and the Docs, that sort of call should be allowed. Is this a bug in my system setup or a misunderstanding?

@bnvk bnvk changed the title from Using SplitPGP to encrypt throwing a tty error to Using SplitPGP to perform actions throws a tty error Sep 2, 2015

@bnvk

This comment has been minimized.

Show comment
Hide comment
@bnvk

bnvk Sep 2, 2015

Am also noticing this same error with trying to decrypt files using qubes-gpg-client my-encrypted-file.gpg so I'm going to assume it's something borked with my setup :/

bnvk commented Sep 2, 2015

Am also noticing this same error with trying to decrypt files using qubes-gpg-client my-encrypted-file.gpg so I'm going to assume it's something borked with my setup :/

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Sep 2, 2015

Member

This is because it can't prompt you for a password (which would be
stupid to do in calling VM). Try adding --batch and/or --use-agent.

Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

Member

marmarek commented Sep 2, 2015

This is because it can't prompt you for a password (which would be
stupid to do in calling VM). Try adding --batch and/or --use-agent.

Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

@marmarek marmarek added the notanissue label Sep 5, 2015

@marmarek marmarek closed this Sep 5, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment