0
Files
src/crypto
Nina Satragno dae4492bb1 [crypto] Plumb LAContext to mac signing keys
Plumb LAContext to UserVerifyingSigningKeyMac and UnexportableKeyMac.
Clients can pass an authenticated LAContext to avoid prompting the user
for local authentication on every call to Sign().

For UserVerifyingSigningKeyMac, callers can set the LAContext on the
provider config, and the provider takes ownership. Then, every operation
with that provider will use the LAContext.

UnexportableKeyMac uses a more involved approach where callers need to
pass the LAContext every time a credential is discovered or created from
an objective C source file. This affords more flexibility, which
simplifies the UVKey implementation. Clients interested in this
functionality should look at UVKeys instead anyway.

Bug: 326451282
Change-Id: I5e986e5a76ce8c821ef3abd2d19a5acc4a14e04f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5381486
Commit-Queue: Nina Satragno <nsatragno@chromium.org>
Commit-Queue: Adam Langley <agl@chromium.org>
Auto-Submit: Nina Satragno <nsatragno@chromium.org>
Reviewed-by: Adam Langley <agl@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1277093}
2024-03-22 21:20:07 +00:00
..
2024-01-17 00:00:20 +00:00