Eric Biggers
b170ae24d0
ANDROID: fscrypt, blk-crypto: drop HW-wrapped key compatibility check
...
In the updated HW-wrapped key code in the android14 kernels, HW-wrapped
keys are only allowed on a multi-block-device filesystem if they have a
compatible HW-wrapped keys implementation. While in principle this is a
good thing to check, my implementation of it, which simply checks
whether the block devices have the same crypto profiles, doesn't work
when device-mapper is being used.
To actually do that check correctly, I think we'd need to add a
HW-wrapped keys implementation name or ID to the crypto capabilities.
That being said, in Android the HW-wrapped keys implementation is a
global thing anyway. So in the interest of not overcomplicating things,
for now let's just drop these extra checks that are causing problems.
Bug: 160883801
Bug: 265180564
Fixes: 4887dd4fe3 ("ANDROID: fscrypt: add support for hardware-wrapped keys")
Fixes: 3918b39c3e ("ANDROID: update "block: add basic hardware-wrapped key support" to v7")
Change-Id: Ia49d62cc2c56447fb898f19bf67df1a38af379f8
Signed-off-by: Eric Biggers <ebiggers@google.com >
2023-01-13 19:18:55 +00:00
..
2022-09-21 17:30:12 +02:00
2022-04-07 15:14:24 +02:00
2022-04-07 15:14:24 +02:00
2022-12-08 16:43:35 +00:00
2022-04-07 15:14:24 +02:00
2022-04-07 15:14:24 +02:00
2022-04-07 15:14:24 +02:00
2022-12-14 13:04:18 +01:00
2023-01-04 13:00:52 -08:00
2022-12-04 12:02:10 +00:00
2022-12-14 13:04:18 +01:00
2022-04-07 15:14:24 +02:00
2022-04-30 00:08:48 +00:00
2022-04-07 15:14:24 +02:00
2023-01-13 19:18:55 +00:00
2022-09-15 11:30:02 +02:00
2022-02-01 17:27:01 +01:00
2022-10-29 10:12:57 +02:00
2023-01-04 13:00:52 -08:00
2022-04-07 15:14:24 +02:00
2022-04-07 15:14:24 +02:00
2022-12-19 16:30:28 +00:00
2022-08-02 08:37:15 +02:00
2022-06-09 10:23:32 +02:00
2022-11-02 08:51:19 +01:00
2023-01-04 17:13:29 -08:00
2023-01-04 17:13:29 -08:00
2022-07-13 11:40:42 +02:00
2022-04-07 15:14:24 +02:00
2022-04-07 15:14:24 +02:00
2022-12-14 09:22:53 -08:00
2022-11-28 16:08:50 +00:00
2022-04-07 15:14:24 +02:00
2022-04-07 15:14:24 +02:00
2022-04-07 15:14:24 +02:00
2022-11-26 09:24:33 +01:00
2022-09-22 08:47:52 -07:00
2022-07-13 11:40:42 +02:00
2022-04-07 15:14:24 +02:00
2022-11-02 08:51:19 +01:00
2022-07-13 11:55:41 +02:00
2022-07-13 11:40:42 +02:00
2022-11-03 23:59:13 +09:00
2023-01-04 13:00:53 -08:00
2022-08-17 14:22:47 +02:00
2022-04-24 16:57:32 +02:00
2021-12-29 12:28:59 +01:00
2022-11-28 16:08:50 +00:00
2021-10-04 22:02:17 +01:00
2023-01-04 13:00:52 -08:00
2022-12-08 16:43:35 +00:00
2022-04-07 15:14:24 +02:00
2022-07-13 11:40:42 +02:00
2022-11-28 16:08:50 +00:00
2022-11-02 08:51:19 +01:00
2022-11-03 14:21:38 +09:00
2022-04-07 15:14:24 +02:00
2022-04-07 15:14:24 +02:00
2023-01-04 13:00:52 -08:00
2023-01-05 18:21:26 +00:00
2022-05-16 22:30:25 +00:00
2022-04-07 15:14:24 +02:00
2022-04-07 15:14:24 +02:00
2022-10-26 12:34:21 +02:00
2022-04-07 15:14:24 +02:00
2022-04-07 15:14:24 +02:00
2021-12-14 10:57:12 +01:00
2022-04-07 15:14:24 +02:00
2022-04-07 15:14:24 +02:00
2022-09-24 14:14:08 +02:00
2022-08-09 09:04:34 -07:00
2022-12-22 18:50:37 +00:00
2022-04-07 15:14:24 +02:00
2022-04-07 15:14:24 +02:00
2023-01-04 17:13:29 -08:00
2023-01-04 13:00:53 -08:00
2022-12-04 12:02:10 +00:00
2021-12-14 10:57:22 +01:00
2023-01-04 13:00:54 -08:00
2022-04-07 15:14:24 +02:00
2021-09-05 10:15:05 -07:00
2022-05-04 13:39:10 -07:00
2022-11-03 23:59:12 +09:00
2022-06-09 10:22:26 +02:00
2022-04-07 15:14:24 +02:00
2023-01-13 18:43:29 +00:00
2022-05-04 13:39:10 -07:00
2021-09-02 10:07:29 -07:00
2022-09-28 11:11:56 +02:00
2022-04-07 15:14:24 +02:00
2022-04-07 15:14:24 +02:00
2021-09-03 09:58:10 -07:00
2022-10-26 12:35:49 +02:00
2022-09-21 17:30:12 +02:00
2022-11-30 00:28:11 +00:00
2021-09-03 10:08:28 -07:00
2022-10-26 12:34:58 +02:00
2022-12-14 13:04:18 +01:00
2022-01-20 09:13:14 +01:00
2021-09-07 16:07:47 -04:00
2022-04-07 15:14:24 +02:00
2022-12-04 12:02:10 +00:00
2022-10-12 20:14:04 +02:00
2022-10-26 12:34:58 +02:00
2022-06-10 07:30:09 +02:00
2021-09-16 09:51:19 +02:00
2021-10-18 20:22:03 -10:00
2022-04-07 15:14:24 +02:00
2021-09-07 11:21:48 -07:00
2022-12-14 13:04:18 +01:00
2022-08-17 14:22:57 +02:00
2022-06-08 18:08:01 +00:00
2022-11-28 16:08:50 +00:00
2023-01-04 13:00:53 -08:00
2023-01-04 13:00:53 -08:00
2022-06-06 08:43:37 +02:00
2023-01-04 13:00:53 -08:00
2023-01-04 13:00:52 -08:00
2022-12-19 17:29:08 +01:00
2022-07-21 21:24:14 +02:00
2022-01-29 10:58:25 +01:00
2022-07-12 16:35:08 +02:00
2021-12-14 10:57:15 +01:00
2022-11-02 08:51:19 +01:00
2022-06-06 11:12:02 +02:00
2022-11-15 16:38:36 +00:00
2022-06-06 11:12:02 +02:00
2022-11-02 08:51:19 +01:00
2023-01-04 13:00:53 -08:00