3 ms·
I know the video had limited times, but in regards to enterprise authentication, is there any consideration to data ownership? In this scheme can the enterpris
by jasonjayr 7y ago
I know the video had limited times, but in regards to enterprise authentication, is there any consideration to data ownership? In this scheme can the enterprise, or any superior device/data owner have a master key to decrypt home directory of a subordinate user?
- candiddevmike 7y agoI 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.html https://www.freedesktop.org/software/systemd/man/homectl.htm...
- jasonjayr 7y agoThanks 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.
- nullc 7y agoFWIW, 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).
- throw0101a 7y ago> 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.