sigstore-rs
sigstore-rs copied to clipboard
Refactor: switch to `ring` library
Description
A long time ago we moved away from the ring crate to a constellation of pure-rust cryptographic libraries. We did the switch because the ring library did not build for certain architectures (like s390x and webassembly).
This limitation has been addressed by latest versions of the library. Moreover, we have recently reintroduced the ring dependency to implement TUF trustroots.
Moving back to ring would reduce the list of dependencies we have, making the codebase easier to understand and to maintain.
I think these are the dependencies we should be able to remove:
- ecdsa
- ed25519
- ed25519-dalek
- elliptic-curve
- p256
- p384
- pkcs1
- pkcs8
- rsa
@flavio @lukehinds ToB is willing to pick this up!
@jleightcap: awesome, who should assign this issue to?