1
0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2026-01-12 01:20:14 +00:00
Coiby Xu 62f17d9df6 crash_dump: retrieve dm crypt keys in kdump kernel
Crash kernel will retrieve the dm crypt keys based on the dmcryptkeys
command line parameter.  When user space writes the key description to
/sys/kernel/config/crash_dm_crypt_key/restore, the crash kernel will save
the encryption keys to the user keyring.  Then user space e.g. 
cryptsetup's --volume-key-keyring API can use it to unlock the encrypted
device.

Link: https://lkml.kernel.org/r/20250502011246.99238-6-coxu@redhat.com
Signed-off-by: Coiby Xu <coxu@redhat.com>
Acked-by: Baoquan He <bhe@redhat.com>
Cc: "Daniel P. Berrange" <berrange@redhat.com>
Cc: Dave Hansen <dave.hansen@intel.com>
Cc: Dave Young <dyoung@redhat.com>
Cc: Jan Pazdziora <jpazdziora@redhat.com>
Cc: Liu Pingfan <kernelfans@gmail.com>
Cc: Milan Broz <gmazyland@gmail.com>
Cc: Ondrej Kozina <okozina@redhat.com>
Cc: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2025-05-21 10:48:21 -07:00
..
2025-03-24 21:18:05 -07:00
2025-03-30 15:44:36 -07:00
2025-03-31 13:37:22 -07:00
2025-03-27 19:22:24 -07:00
2025-03-30 15:44:36 -07:00
2025-03-25 14:47:04 -07:00
2025-02-10 16:56:58 -08:00
2024-11-03 01:28:06 -05:00
2025-03-24 13:39:27 -07:00
2025-04-02 16:05:21 -07:00
2025-01-28 11:34:03 -08:00
2024-07-18 12:19:20 -07:00
2025-03-29 11:59:43 -07:00
2024-11-03 01:28:06 -05:00
2025-02-12 12:12:27 +01:00
2025-03-24 09:52:37 -07:00