RFC Crypto operations by key ID
Status from this message: Applied, thanks.
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest8 patches 8 repliesApplied
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | key: add l_key_searchell/ ell/ ell/ | +50 | 4 replies | |
| 2/8 | unit: add key search testunit/ | +26 | 0 replies | |
| 3/8 | checksum: commonize checksum creationell/ | +37 | 1 reply | |
| 4/8 | checksum: add l_checksum_new_hmac_from_key_idell/ ell/ ell/ | +20 | 1 reply | |
| 5/8 | cert-crypto: refactor l_cert_pkcs5_pbkdf2ell/ | +41 | 1 reply | |
| 6/8 | cert: add l_cert_pkcs5_pbkdf2_from_key_idell/ ell/ ell/ | +33 | 1 reply | |
| 7/8 | cert: add explicit length to l_cert_pkcs5_pbkdf2ell/ ell/ | +5 | 0 replies | |
| 8/8 | unit: update test-pbkdf2 with API changeunit/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC 0/8] Crypto operations by key ID
This adds support for several key based crypto opterations but instead of using a key directly it uses a key ID. This avoids the need for ELL to ever hold a copy of the key assuming it already exists in the kernel.
The motivation behind this is to enhance IWDs profile encryption. Currently this uses a systemd feature but ultimately the secret key is decrypted and put onto the file system for IWD to use. This isn't desirable and it would be better if the key never hits the FS, and even better if IWD never even sees it. This would allow some external, trusted, entity (e.g. PAM/systemd-logind) to set a secret key into the kernel upon user login (e.g. the users password). This key ID could then be used by IWD to encrypt profiles without ever seeing the actual key.
James Prestwood (8):
key: add l_key_search
unit: add key search test
checksum: commonize checksum creation
checksum: add l_checksum_new_hmac_from_key_id
cert-crypto: refactor l_cert_pkcs5_pbkdf2
cert: add l_cert_pkcs5_pbkdf2_from_key_id
cert: add explicit length to l_cert_pkcs5_pbkdf2
unit: update test-pbkdf2 with API change
ell/cert-crypto.c | 97 +++++++++++++++++++++++++++----------- ell/cert.h | 7 ++- ell/checksum.c | 114 ++++++++++++++++++++------------------------- ell/checksum.h | 2 + ell/ell.sym | 3 ++ ell/key.c | 46 ++++++++++++++++++ ell/key.h | 3 ++ unit/test-key.c | 26 +++++++++++ unit/test-pbkdf2.c | 1 + 9 files changed, 208 insertions(+), 91 deletions(-)
Signature · 1 line
2.34.3