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

2018-08-15 Thread Ciprian Dorin Craciun
On Wed, Aug 15, 2018 at 1:57 PM Peter Lebbing wrote: > > https://gist.github.com/cipriancraciun/c8a0dfb973b586053c167fec91093d9c > > Hey, that systemd service file seems to basically grab cryptsetup > handling from the clutches of systemd, enabling all sorts of operations > not possible with

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

2018-08-15 Thread Peter Lebbing
On 06/08/18 08:38, Ciprian Dorin Craciun wrote: > My script and systemd service file can be found at the following link: > > https://gist.github.com/cipriancraciun/c8a0dfb973b586053c167fec91093d9c Hey, that systemd service file seems to basically grab cryptsetup handling from the clutches of

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

2018-08-06 Thread Ciprian Dorin Craciun
On Wed, Aug 1, 2018 at 7:32 PM Peter Lebbing wrote: > 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 be a way to achieve it, but I > have no idea how. That's all

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

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.