Re: Encrypt USB-HDD with LUKS using OpenPGP smartcard?

2018-08-01 Thread Damien Cassou
Dirk Gottschalk via Gnupg-users writes: > Is it possible to encrypt an external USB drive in LUKS format with an > OpenPGP smartcard? The device is, until now, only passphrase encrypted > and mounted on detect. > > Would it be possible to let gpg ask for the PIN of the card, it it's in > locket

GPGME status callback not working for need entropy

2018-08-01 Thread Jacob Adams
I've been trying to use the GPGME status callback to get an indication of when the system is low on entropy, but I don't seem to get a callback when such an even occurs. I've enabled full status and I get Pinentry Launched status messages, so it seems to sort of be working. When generating a key

Re: Encrypt USB-HDD with LUKS using OpenPGP smartcard?

2018-08-01 Thread Peter Lebbing
On 01/08/18 18:16, Dirk Gottschalk wrote: > Coult this be raplaces by the smartcard > to use the gpg key in some way? AFAIK, this is just systemd delegating passphrase querying to the physically present user. I suppose if you could somehow influence where it got the passphrase from, there might

Re: Encrypt USB-HDD with LUKS using OpenPGP smartcard?

2018-08-01 Thread Dirk Gottschalk via Gnupg-users
Hi, Am Mittwoch, den 01.08.2018, 18:06 +0200 schrieb Peter Lebbing: > On 01/08/18 17:41, Dirk Gottschalk via Gnupg-users wrote: > > Is it possible to encrypt an external USB drive in LUKS format with > > an > > OpenPGP smartcard? > > On a system with systemd: no, I don't think this can be done.

Re: Encrypt USB-HDD with LUKS using OpenPGP smartcard?

2018-08-01 Thread Peter Lebbing
On 01/08/18 17:41, Dirk Gottschalk via Gnupg-users wrote: > Is it possible to encrypt an external USB drive in LUKS format with an > OpenPGP smartcard? On a system with systemd: no, I don't think this can be done. Systemd doesn't want to implement cryptsetup keyscripts, and those would be needed.

Encrypt USB-HDD with LUKS using OpenPGP smartcard?

2018-08-01 Thread Dirk Gottschalk via Gnupg-users
Hi. Is it possible to encrypt an external USB drive in LUKS format with an OpenPGP smartcard? The device is, until now, only passphrase encrypted and mounted on detect. Would it be possible to let gpg ask for the PIN of the card, it it's in locket state? Regards, Dirk -- Dirk Gottschalk