_socket.ALG_SET_PUBKEY is a wrong internal value from libkcapi (changed in 2022)
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- linux, python
- Domain
- networking, operating-systems
Research direction
Start by locating the _socket.ALG_SET_PUBKEY definition in CPython and compare it with the value in the linked libkcapi commit. Reproduce the provided Python snippet on Linux and verify that the exposed constant matches the current libkcapi interface.
Written by the indexing model from the issue text.
Description
Bug report
Bug description:
import _socket
print(_socket.ALG_SET_PUBKEY)
The output is 6, but the value has been 7 since 2022. This is an internal interface inside libkcapi, I could find no reason it should be included in CPython. This came up when correcting a typo in PyPy pypy/pypy#5594.
CPython versions tested on:
3.14
Operating systems tested on:
Linux
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 36k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 576
Getting set up
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from python/cpython
-
3.14 build infra OS-windows
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
python/cpython#158244 · 6 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
stdlib type-bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
docs pending
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
python/cpython#157339 · 10 comments ·
Maintainers usually reply within 1 day
-
stdlib type-feature
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
python/cpython#155601 · 2 comments ·
Maintainers usually reply within 1 day
-
stdlib type-feature
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
python/cpython#153771 · 5 comments ·
Maintainers usually reply within 1 day
Similar issues
-
ACK_WAITING HELP_WANTED UPDATE_CS
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
OWASP/CheatSheetSeries#2458 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
BasedHardware/omi#19711 ·
Maintainers usually reply within 1 day
-
Qwen3_5MoeModel no longer returns router_logits, breaking aux loss with output_router_logits=TrueOpen
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
huggingface/transformers#49172 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
vllm-project/vllm-metal#885 ·
Maintainers usually reply within 1 day