diff options
| author | Mimi Zohar <[email protected]> | 2024-01-24 19:21:44 +0000 |
|---|---|---|
| committer | Mimi Zohar <[email protected]> | 2024-01-24 21:11:59 +0000 |
| commit | 1ed4b563100230ea68821a2b25a3d9f25388a3e6 (patch) | |
| tree | b1f9b3b7c619ccf78dbc02e39afea52408078eb4 | |
| parent | Linux 6.8-rc1 (diff) | |
| download | kernel-1ed4b563100230ea68821a2b25a3d9f25388a3e6.tar.gz kernel-1ed4b563100230ea68821a2b25a3d9f25388a3e6.zip | |
Revert "KEYS: encrypted: Add check for strsep"
This reverts commit b4af096b5df5dd131ab796c79cedc7069d8f4882.
New encrypted keys are created either from kernel-generated random
numbers or user-provided decrypted data. Revert the change requiring
user-provided decrypted data.
Reported-by: Vishal Verma <[email protected]>
Signed-off-by: Mimi Zohar <[email protected]>
| -rw-r--r-- | security/keys/encrypted-keys/encrypted.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/security/keys/encrypted-keys/encrypted.c b/security/keys/encrypted-keys/encrypted.c index 76f55dd13cb8..8af2136069d2 100644 --- a/security/keys/encrypted-keys/encrypted.c +++ b/security/keys/encrypted-keys/encrypted.c @@ -237,10 +237,6 @@ static int datablob_parse(char *datablob, const char **format, break; } *decrypted_data = strsep(&datablob, " \t"); - if (!*decrypted_data) { - pr_info("encrypted_key: decrypted_data is missing\n"); - break; - } ret = 0; break; case Opt_load: |
