Don't expect monkeypatched nacl.signing.SigningKey instances
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Refactor
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- python
- Domain
- cryptography, security
Research direction
Start by locating the functions that accept signedjson.types.SigningKey and review matrix-org/synapse#11714 for the monkeypatching problem. Define the proposed key data type, update those function boundaries, and verify the major-version API change is consistently represented.
Written by the indexing model from the issue text.
Description
A nicer way to fix matrix-org/synapse#11714 (imo)
- Define a new type which holds the data
(key: nacl.signing.SigningKey, alg: str, version: str). Either inherit fromnacl.signing.SigningKeyor introduce a new wrapper. - Change functions that take a
signedjson.types.SigningKeyto accept this new data type. - Major version bump.
- Dominant language
- Python
- Stars
- 13
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Contributor guide
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 matrix-org/python-signedjson
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 25/100
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 25/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
-
Difficulty 1/5 Under an hour Newbie friendliness 45/100
matrix-org/python-signedjson#10 · 1 comment ·
-
pip install of synapse with a custom package mirror fails if setuptools_scm not already installed Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
matrix-org/python-signedjson#8 · 1 comment ·
All issues in matrix-org/python-signedjson
Similar issues
-
Add: hunch Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
AbdelStark/awesome-typesafe#104 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
DiamondLightSource/dodal#2211 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
openml/openml-python#1749 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
sipyourdrink-ltd/bernstein#6191 ·