haskell-tls / hs-certificate

Certificate and Key Reader/Writer in haskell
60 stars 57 forks source link

Expose pure uncached validation function #126

Closed infinisil closed 2 years ago

infinisil commented 2 years ago

This is useful when we want to do validation without requiring IO

infinisil commented 2 years ago

Warning: The most recent force push fixes a problem that prevented certificates from being checked. A test case should be added to ensure this can't happen.

vincenthz commented 2 years ago

Thanks, not sure the removal of the Monad m is useful but also can't remember if there was a real reason to add it

infinisil commented 2 years ago

Thanks a lot! Could you also create a new Hackage release from master?