-
Notifications
You must be signed in to change notification settings - Fork 258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
using crypton #931
using crypton #931
Conversation
Thanks. I will merge this PR and make new releases. |
I have released |
Could you please link it to the discussion? |
This one: |
#ifdef MIN_VERSION_x509 | ||
import Data.X509 | ||
#endif |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interestingly I get this error when trying to depend on Warp with the x509 flag disabled:
Network/Wai/Handler/Warp/Types.hs:10:1: error:
Could not load module ‘Data.X509’
It is a member of the hidden package ‘x509-1.7.7’.
Perhaps you need to add ‘x509’ to the build-depends in your .cabal file.
Use -v (or `:set -v` in ghci) to see a list of the files searched for.
|
10 | import Data.X509
| ^^^^^^^^^^^^^^^^
@kazu-yamamoto, do you know if there is any plan to create a |
While
cryptonite
has a obvious bug, it has not been fixed for a long time.This is because the author is now inactive in the Haskell community.
In private communication with him, I was not given the upload permission of
cryptonite
to Hackage.He suggested me to fork
cryponite
and upload it as a different package.So, I created
crypton
and uploaded it to Hackage with the bug fixed.Also, I created new forks for
x509
-related packages andconnection
whose prefix iscrypton-
.There are already uploaded to Hackage.
http2
and other network packages with the new dependency are on Hackage, too.This PR makes wai-related packages to depend on
crypton
.