element-hq / element-hq/synapse

EdDSA Support for OAuth2

Open
#17,519 4 comments 0 reactions 0 assignees View on GitHub
A-Legacy-Auth A-SSO O-Uncommon S-Tolerable T-Enhancement
Dominant language
Python
Stars
4.6k
Forks
600
Avg merge
5d 22h
Merged PRs (30d)
51

Description

**Description:**
OAuth2 currently uses the authlib library, which does not support the EdDSA (Ed25519) encryption scheme. We should supplement the use of authlib in these areas with the use of the newer [https://github.com/authlib/joserfc](joserfc), part of the authlib project, which does support EdDSA. I will make a pull request soon adding support, but i'm sleepy right now :P
```[tasklist]
### Tasks
- [x] Add support in synapse/handlers/oidc.py
- [ ] Pass test suite
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.