secp256k1 support for oscrypto?
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- python
- Domain
- cryptography, security
Research direction
Start by inspecting oscrypto/_openssl/_libcrypto.py at the referenced curve identifier definitions and trace how asymmetric.generate_pair('ec', curve=...) resolves supported curves. Confirm the requested secp256k1 example works without compiling C libraries, and add or update the relevant tests if the repository identifies them.
Written by the indexing model from the issue text.
Description
from oscrypto import asymmetric
public, private = asymmetric.generate_pair('ec', curve='secp256k1')
Could this be supported? I am trying to play with notr protocol and do not want to compile C libraries.
I think openssl already support this curve. Like openssl ecparam -name secp256k1 -genkey -noout -out priv.pem. so we can add
NID_secp160k1 = 708
NID_secp192k1 = 711
NID_secp224k1 = 712
NID_secp256k1 = 714
to https://github.com/wbond/oscrypto/blob/master/oscrypto/_openssl/_libcrypto.py#L147
- Dominant language
- Python
- Stars
- 346
- Forks
- 82
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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 wbond/oscrypto
-
Difficulty 1/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 1/5 Under an hour Newbie friendliness 45/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
Similar issues
-
bug: conversation context selects the oldest thread messages instead of recent repliesPossibly taken @BLVCK-MAMBA-6 claimed this today. Openbug enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
AOSSIE-Org/SkillBot#74 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
bad-antics/lateralus-lang#1438 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Maintainers usually reply within 1 day
-
area: control app
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
glossyio/traffic-monitor#415 ·
Maintainers usually reply within 1 day
-
apply_matrix_rect takes 6-9% of extract_text timePossibly taken @g4lb claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
pdfminer/pdfminer.six#1333 ·
Maintainers usually reply within 1 day