78 Commits (abc253884fbd846c5a08122e16e7957cb9be738f)

Author SHA1 Message Date
Paul Crowley abc253884f Don't evict keys when we delete users
8 years ago
Jeff Sharkey d24aeda425 Only restorecon CE storage after unlocked.
8 years ago
Paul Lawrence 6abe6831b5 Stop dropping caches now we have kernel fix
8 years ago
Paul Lawrence 6e41059734 Set encryption mode in mode file
8 years ago
Paul Lawrence 3ae29e7740 Revert "Add fileencrypted=software/ice to fstab options"
8 years ago
Paul Crowley 8fd77a05cc Two phases to set the password for disk encryption
8 years ago
Paul Crowley a363036b44 Two phases to set the password for disk encryption
8 years ago
Paul Lawrence 01f1bc7254 Add fileencrypted=software/ice to fstab options
8 years ago
Paul Crowley 44ddebaac0 Merge "e4crypt_is_native has been moved into system/extras." into nyc-dev
8 years ago
Paul Crowley cfa03d4a4c Merge "e4crypt_is_native has been moved into system/extras." into nyc-dev
8 years ago
Paul Crowley 26642bf7bf Revert "Two phases to set the password for disk encryption"
8 years ago
Paul Crowley d402389290 Revert "Two phases to set the password for disk encryption"
8 years ago
Paul Crowley 4d2d5244d6 e4crypt_is_native has been moved into system/extras.
8 years ago
Paul Crowley 4e44272c3d Two phases to set the password for disk encryption
8 years ago
Paul Crowley 92c5eeb467 Two phases to set the password for disk encryption
8 years ago
Paul Lawrence 85e3d8cd50 Drop caches after installing key policy to avoid cache clashes
8 years ago
Jeff Sharkey be70c9ae22 Consistent creation/destruction of user data.
8 years ago
Paul Crowley 71ee662ec3 Don't fail if the CE key isn't loaded in destroy_user_key
8 years ago
Paul Crowley df528a7011 Run clang-format over ext4crypt related code
8 years ago
Paul Crowley a051eb7a22 Use pointers not references for out arguments
8 years ago
Paul Crowley d9b9295b8c Fix memory leak in generate_key wrapper. Other fixes.
8 years ago
Paul Crowley ad8e26297b Merge "Use a proper key length for the mode." into nyc-dev
8 years ago
Paul Crowley 2199069aca Use a proper key length for the mode.
8 years ago
Calin Juravle d1ee944f08 Prepare profile directories only for the internal storage
8 years ago
Calin Juravle 493f5aa160 Create profile folder for foreign dex markers.
8 years ago
Calin Juravle 79f55a461f Prepare user profile folder
8 years ago
Paul Crowley ad2eb64413 Log a warning if old creds passed to change_user_key don't work.
9 years ago
Paul Crowley 63c18d3ba9 Add scrypt-based password stretching.
9 years ago
Paul Crowley 76107cb3f4 Prefer bool returns to int throughout
9 years ago
Paul Crowley 38132a1f66 Refactor now that global DE has been reworked
9 years ago
Paul Crowley 57eedbf8cb Fix some "false" returns to be "-1" where appropriate in e4crypt_enable
9 years ago
Jeff Sharkey 695d928286 e4crypt_unlock_user_key no longer likes nullptr.
9 years ago
Paul Crowley f7a0d007d2 Add new argument to unlock_user_key, fixing merge-caused error.
9 years ago
Paul Crowley 5c025bd9a5 Merge "Password security for FBE disk encryption keys" into nyc-dev
9 years ago
Paul Crowley 0572080814 Password security for FBE disk encryption keys
9 years ago
Jeff Sharkey 0754a45539 Emulation fixes: mics dirs, recover after disable.
9 years ago
Jeff Sharkey 47695b29af Allow callers to prepare CE/DE user storage.
9 years ago
Paul Lawrence f10544df96 Remove unencrypted_properties
9 years ago
Paul Lawrence 5a06a6481b Fix minor issues with previous change
9 years ago
Paul Lawrence aec34dfb1d Use consistent method for device key
9 years ago
Paul Lawrence 7b6b565fa0 Remove support for non-default root passwords in FBE
9 years ago
Paul Crowley b92f83c051 Add support for per-user DE keys.
9 years ago
Paul Crowley b1f3d242dd Refactor of Ext4Crypt.cpp in preparation for DE keys
9 years ago
Paul Crowley 8fb12fd835 Add init_user0 command.
9 years ago
Paul Crowley ea62e26ad3 Create disk encryption keys only when FBE enabled
9 years ago
Paul Crowley 13ffd8ef7a Improvements to the key storage module
9 years ago
Paul Crowley 1ef255816c Use a keymaster-based key storage module
9 years ago
Paul Crowley a042cb5761 Don't fail on unlock if we're not even emulating FBE
9 years ago
Paul Crowley 285956fe11 Rework FBE crypto to match the N way of doing things
9 years ago
Jeff Sharkey 7a9dd95cbc Offer to enforce "locked" state using SELinux.
9 years ago