crossbario / crossbario/autobahn-python
E2E Encryption: Support more keyring strategies
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.5k
- Forks
- 768
- PR merge metrics
- No merged PRs in 30d
Description
We have a platform which runs a WAMP router, that system also has a secure element. each user (mobile phone / website) has their own public/private key generated on login. The current implementation in autobahn ties the Key (mix of originator and responder keys) to a URI.
This is mostly fine however in our case it is desired to have 1 responder and multiple originators, the originators can dynamically change as people are added/removed from the system.
From the look of it, it is currently not possible with the autobahn-python API. There are two changes that I think will make the above possible
- The
Keyobject should support multipleoriginators(a list) - the
enc_keyin the Invocation should be used to determine if the originator is "expected"
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.
Research direction
Start by tracing the Python implementation of the Key object and Invocation enc_key handling, then review related tests and API usage. Determine how key associations currently work and whether the proposed originators list and expected-originator check fit the existing design. Done means supporting one responder with dynamically changing originators without breaking current key behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend-api-design, security
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100