bobcats icon indicating copy to clipboard operation
bobcats copied to clipboard

public/private key support?

Open bblfish opened this issue 4 years ago • 2 comments

Hi, I am implementing the HTTP Signature RFC from IETF over in this repo httpSig. I am extracting a lib there I wrote to work for Akka so that it can also work with http4s. The IETF spec lists the hashing and signing algorithms in section 3.3 that should be implemented.

For the moment I'd feel most comfortable if RSA worked, as I know that quite well :-) (see the code SignatureVerifier).

But I don't see any tests for public key signature nor any code Implementing it. Is that something you intend to support soon?

bblfish avatar Dec 16 '21 12:12 bblfish

Thanks for writing up the detailed issue! I would definitely like to support RSA and other public/private key algorithms. I think we can add some traits maybe KeyGen[F], Signer[F], Verifier[F] 🤔 open to ideas here. A PR for this would be phenomenal!

armanbilge avatar Dec 16 '21 13:12 armanbilge

Working on this in https://github.com/typelevel/bobcats/pull/48

bblfish avatar Dec 31 '21 16:12 bblfish