Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for ALG_SET_KEY_BY_KEY_SERIAL for af_alg sockets #3329

Closed
rzimmerman opened this issue Aug 29, 2023 · 0 comments · Fixed by #3404
Closed

Support for ALG_SET_KEY_BY_KEY_SERIAL for af_alg sockets #3329

rzimmerman opened this issue Aug 29, 2023 · 0 comments · Fixed by #3404
Labels
C-API-request Category: API request

Comments

@rzimmerman
Copy link

For Linux platforms, support for using the Kernel keyring as a key source for af_alg calls to the crypto API was added in v6.1:
https://lkml.org/lkml/2022/10/4/1014
https://elixir.bootlin.com/linux/latest/source/include/uapi/linux/if_alg.h#L55
https://docs.kernel.org/crypto/userspace-if.html#setsockopt-interface

which added a ALG_SET_KEY_BY_KEY_SERIAL option. The option takes a single argument, a keyring identifier.

It would be great to support this directly.

@rzimmerman rzimmerman added the C-API-request Category: API request label Aug 29, 2023
devnexen added a commit to devnexen/libc that referenced this issue Oct 24, 2023
devnexen added a commit to devnexen/libc that referenced this issue Oct 24, 2023
bors added a commit that referenced this issue Oct 25, 2023
linux/android adding few if_alg.h constants.

close #3329
devnexen added a commit to devnexen/libc that referenced this issue Oct 25, 2023
bors added a commit that referenced this issue Oct 27, 2023
linux/android adding few if_alg.h constants.

close #3329
devnexen added a commit to devnexen/libc that referenced this issue Oct 27, 2023
bors added a commit that referenced this issue Oct 28, 2023
linux/android adding few if_alg.h constants.

close #3329
@bors bors closed this as completed in bc774de Oct 28, 2023
Brijeshkrishna pushed a commit to Brijeshkrishna/libc that referenced this issue Oct 29, 2023
Brijeshkrishna pushed a commit to Brijeshkrishna/libc that referenced this issue Nov 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-API-request Category: API request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant