xmlsig icon indicating copy to clipboard operation
xmlsig copied to clipboard

Add more modern crypto algorithms

Open andrew-ar opened this issue 1 year ago • 1 comments

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 🙂

andrew-ar avatar Feb 23 '24 16:02 andrew-ar

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

john-floren-gravwell avatar Jan 07 '25 19:01 john-floren-gravwell