Skip to content

Add more modern crypto algorithms#4

Open
andrew-ar wants to merge 3 commits into
amdonov:masterfrom
andrew-ar:add-algs
Open

Add more modern crypto algorithms#4
andrew-ar wants to merge 3 commits into
amdonov:masterfrom
andrew-ar:add-algs

Conversation

@andrew-ar
Copy link
Copy Markdown

@andrew-ar andrew-ar commented Feb 23, 2024

This PR adds support for more crypto algorithms. Cryptographic standards are always evolving, as new attacks are discovered over time and some older algorithms fall out of usage.

Looking at the XML Signature Syntax and Processing Version 2.0 standard and the corresponding RFC 4051 there are additional crypto algorithms which would ideally be supported.

Given that older algorithms like SHA-1 are deprecated, it makes sense to allow newer ones to be used for greater future-proofing. Since the golang crypto library has provided the required implementations for many years, we can map the identifiers onto the relevant golang crypto algorithm implementations.

I hope this is helpful, please let me know if you'd like any changes 🙂

@john-floren-gravwell
Copy link
Copy Markdown

This would be extremely useful to me; is there any chance of merging this (and updating lite-idp's dependency) at some point?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants