0
Files
src/crypto
Nina Satragno 829f87d7db [crypto] Explicitly label win unexportable keys
Chrome used to rely on an undocumented Windows feature to export wrapped
NCrypt keys to avoid storing metadata about them. This is risky: the
Windows API could stop working underneath us, and it doesn't work for
the software backend, so it's blocking crbug.com/398125798.

Instead, do the same thing we do on MacOS and generate a random
identifier for the key. When loading a TPM key, try to do it both by
name and from the wrapped key to support previously created keys.

Fixed: 398125799
Change-Id: I4747ba1b8777a11783d8bfe8937e0f1ed7a9bfb8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6297627
Reviewed-by: David Benjamin <davidben@chromium.org>
Commit-Queue: Nina Satragno <nsatragno@chromium.org>
Auto-Submit: Nina Satragno <nsatragno@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1424722}
2025-02-25 12:38:16 -08:00
..
2024-10-23 17:28:03 +00:00
2024-10-23 17:28:03 +00:00
2024-10-23 17:28:03 +00:00
2024-11-27 16:17:21 +00:00
2024-11-27 16:17:21 +00:00
2025-02-11 16:31:33 -08:00
2024-10-23 21:50:38 +00:00
2025-02-20 20:47:25 -08:00
2024-10-10 20:51:36 +00:00
2024-10-10 20:51:36 +00:00
2024-10-10 20:51:36 +00:00
2024-08-14 15:40:02 +00:00
2024-10-18 03:18:26 +00:00
2024-10-10 20:51:36 +00:00