News for hackers. Stuff that matters.
Re:Systemd Home Directories by candiddevmike on Sunday February 09, 2020 @10:34PM (#22286238)
I do not believe so. The homectl docs state that the encryption password == user password without any alternative:

https://www.freedesktop.org/software/systemd/man/homectl.htm...

Re:Systemd Home Directories by jasonjayr on Sunday February 09, 2020 @10:42PM (#22286271)
Thanks for that link. I see further down that PKCS#11 is supported:

> Takes an RFC 7512 PKCS#11 URI referencing a security token (e.g. YubiKey or PIV smartcard) that shall be able to unlock the user account. The security token URI should reference a security token with exactly one pair of X.509 certificate and private key. A random secret key is then generated, encrypted with the public key of the X.509 certificate, and stored as part of the user record. At login time it is decrypted with the PKCS#11 module and then used to unlock the account and associated resources. See below for an example how to set up authentication with security token.

Key hierarchy management can probably be delegated to an external system.

Re:Systemd Home Directories by nullc on Sunday February 09, 2020 @11:18PM (#22286407)
FWIW, if you want to do dynamic mounted encrypted home you can do so today with pam_mount pretty easily. The two passwords can even disagree, you'll just get prompted twice during the login process.

In fedora, at least, it requires only three lines of configuration changes (adding the pam hooks, and setting up the mount point in the pam_mount config).

Re:Systemd Home Directories by throw0101a on Monday February 10, 2020 @01:33PM (#22291820)
> encryption password == user password

What if your password is in LDAP, and you change it the OpenLDAP back-end? Or if you have OpenLDAP talk to AD (via SASL) for password checks, but the rest of the GECOS & group is in LDAP? Is Kerberos covered? How is NFS handled? Automounts?

Doing a ^F I find no mention in the man page of either LDAP or Kerberos.