Re: [systemd-devel] troubleshooting Clevis

2021-10-12 Thread lejeczek




On 12/10/2021 16:54, Lennart Poettering wrote:

On Di, 12.10.21 16:17, lejeczek (pelj...@yahoo.co.uk) wrote:


I have 'clevis' set to get luks pin from 'tang' but unlock does not happen
at/during boot time and I wonder if someone can share thoughts on how to
investigate that?
I cannot see anything obvious fail during boot, moreover, manual
'clevis-luks-unlock' works no problems.

This is the systemd mailing list, not the clevis/tang mailing
list. Please contact the clevis/tang community instead.

May ask of any possible plans where systemd would, somehow similarly to
'tpm', utilize 'tang'(or similar) technique to unlock luks encrypted
devices?

You mean that networked unlock feature? I mean, it's not always clear
what belongs and systemd and what does not. But outside of data
centers I am not sure tang/clevis really has much use, and that's
quite a limited userbase, so I'd say: no this should be done outside
of systemd. Maybe a plugin for libcryptsetup's "token" feature.
I cannot speak for datacentre conglomerates but I'd dare to 
pose a theory that increasingly more small setups, like mine 
with three nodes, start to find homes in our homes.
In my basic setup where 'tang' on my laptops serves 'clevis' 
(or would if it worked) to unlock home HA cluster (also with 
Shamir's Secret Sharing implemented) having 'systemd' 
integrate all these techniques/method would be, not only for 
big datacentres, fantastic in my opinion.

many thanks for all everybody's work. L.


Lennart

--
Lennart Poettering, Berlin




Re: [systemd-devel] troubleshooting Clevis

2021-10-12 Thread Lennart Poettering
On Di, 12.10.21 16:17, lejeczek (pelj...@yahoo.co.uk) wrote:

> > > I have 'clevis' set to get luks pin from 'tang' but unlock does not happen
> > > at/during boot time and I wonder if someone can share thoughts on how to
> > > investigate that?
> > > I cannot see anything obvious fail during boot, moreover, manual
> > > 'clevis-luks-unlock' works no problems.
> > This is the systemd mailing list, not the clevis/tang mailing
> > list. Please contact the clevis/tang community instead.
>
> May ask of any possible plans where systemd would, somehow similarly to
> 'tpm', utilize 'tang'(or similar) technique to unlock luks encrypted
> devices?

You mean that networked unlock feature? I mean, it's not always clear
what belongs and systemd and what does not. But outside of data
centers I am not sure tang/clevis really has much use, and that's
quite a limited userbase, so I'd say: no this should be done outside
of systemd. Maybe a plugin for libcryptsetup's "token" feature.

Lennart

--
Lennart Poettering, Berlin


Re: [systemd-devel] troubleshooting Clevis

2021-10-12 Thread lejeczek




On 28/09/2021 12:33, Lennart Poettering wrote:

On Di, 28.09.21 12:26, lejeczek (pelj...@yahoo.co.uk) wrote:


Hi guys.

I have 'clevis' set to get luks pin from 'tang' but unlock does not happen
at/during boot time and I wonder if someone can share thoughts on how to
investigate that?
I cannot see anything obvious fail during boot, moreover, manual
'clevis-luks-unlock' works no problems.

This is the systemd mailing list, not the clevis/tang mailing
list. Please contact the clevis/tang community instead.
May ask of any possible plans where systemd would, somehow 
similarly to 'tpm', utilize 'tang'(or similar) technique to 
unlock luks encrypted devices?
ps. clevis + tang seem "broken" in CentOS stream & f35, 
unlocking @boot time to be specific, is not working.

many thanks, L.


Lennart

--
Lennart Poettering, Berlin




[systemd-devel] troubleshooting Clevis

2021-09-28 Thread lejeczek

Hi guys.

I have 'clevis' set to get luks pin from 'tang' but unlock 
does not happen at/during boot time and I wonder if someone 
can share thoughts on how to investigate that?
I cannot see anything obvious fail during boot, moreover, 
manual 'clevis-luks-unlock' works no problems.


many thanks, L.


Re: [systemd-devel] troubleshooting Clevis

2021-09-28 Thread Lennart Poettering
On Di, 28.09.21 12:26, lejeczek (pelj...@yahoo.co.uk) wrote:

> Hi guys.
>
> I have 'clevis' set to get luks pin from 'tang' but unlock does not happen
> at/during boot time and I wonder if someone can share thoughts on how to
> investigate that?
> I cannot see anything obvious fail during boot, moreover, manual
> 'clevis-luks-unlock' works no problems.

This is the systemd mailing list, not the clevis/tang mailing
list. Please contact the clevis/tang community instead.

Lennart

--
Lennart Poettering, Berlin