Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to run gpg on livecd
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
petan
n00b
n00b


Joined: 18 Jan 2016
Posts: 55

PostPosted: Fri Jan 22, 2016 12:59 pm    Post subject: How to run gpg on livecd Reply with quote

I am giving up on ecrpytfs as it doesn't seem to be supported on Gentoo, and want to try full disk encryption, following https://wiki.gentoo.org/wiki/DM-Crypt_LUKS I can't get this command to work in LiveCD:

Code:
openssl rand -base64 48 | gpg --symmetric --cipher-algo aes --armor >/path/to/key.gpg


What do I need to do to get it working? Errors I get:

gpg-agent: command get_passphrase failed: Inappropriate ioctl for device
Back to top
View user's profile Send private message
Keruskerfuerst
Advocate
Advocate


Joined: 01 Feb 2006
Posts: 2288
Location: near Augsburg, Germany

PostPosted: Thu Feb 04, 2016 6:05 am    Post subject: Reply with quote

Try Systemrescue CD.
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Thu Feb 04, 2016 8:23 am    Post subject: Re: How to run gpg on livecd Reply with quote

petan wrote:
gpg-agent: command get_passphrase failed: Inappropriate ioctl for device

petan ... this is probably pinentry failing due to the GPG_TTY variable being empty (see common problems) ... you should be able to resolve it by setting GPG_TTY

Code:
# GPG_TTY=$(tty) openssl rand -base64 48 | gpg --symmetric --cipher-algo aes --armor >/path/to/key.gpg

... if that isn't the case, and you're using ssh, then see the "SSH hangs while a popping up pinentry was expected" in the above linked "common problems".

best ... khay
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum