Don\'t try to fixate CE keys for ephemeral users
am: 25a713873c
Change-Id: I7ecf1fcc6763943c124a93c433f49274579851ae
This commit is contained in:
commit
048d4c8518
1 changed files with 1 additions and 0 deletions
|
@ -614,6 +614,7 @@ bool e4crypt_add_user_key_auth(userid_t user_id, int serial, const char* token_h
|
|||
bool e4crypt_fixate_newest_user_key_auth(userid_t user_id) {
|
||||
LOG(DEBUG) << "e4crypt_fixate_newest_user_key_auth " << user_id;
|
||||
if (!e4crypt_is_native()) return true;
|
||||
if (s_ephemeral_users.count(user_id) != 0) return true;
|
||||
auto const directory_path = get_ce_key_directory_path(user_id);
|
||||
auto const paths = get_ce_key_paths(directory_path);
|
||||
if (paths.empty()) {
|
||||
|
|
Loading…
Reference in a new issue