Skip to content
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

Please eliminate the crypto-aes dependency (probably by moving to cryptonite) #37

Closed
Tracked by #233 ...
jmazon opened this issue Oct 25, 2022 · 11 comments
Closed
Tracked by #233 ...

Comments

@jmazon
Copy link
Contributor

jmazon commented Oct 25, 2022

For whatever reason (GHC upgrade?), crypto-aes has become incompatible with my CPU. As the package has been self-advertising as deprecated for years, it's probably not reasonable to patch it.

There are at least two PRs (#32, #36) to address this. Could we please get back to the conversation and move forward?

(Disclaimer: I'm the author of #36. I hadn't noticed the other one. Which, FWIW, now has conflicts. I don't care which one is chosen, or if we have to write yet another one with SystemDRG instead. Let's please just get this fixed.)

FWIW I've come to patch this because it breaks hledger-web. Other yesod apps probably impacted as well.

@simonmichael
Copy link

I just found this while working on hledger-web GHC 9.6 compatibility. FWIW it looks as if clientsession's dependencies cprng-aes and crypto-random both fail to build with GHC 9.6, and both were last updated 8/9 years ago. So, +1 for moving off these.

@simonmichael
Copy link

Ping

@andreasabel
Copy link
Contributor

Ping @snoyberg @meteficha : Looks like there is action required now to keep this package alive. What are your maintainer intentions with this package?

@snoyberg
Copy link
Member

I'm sorry I missed #36, but that PR is no longer a good option. cryptonite is no longer maintained either. Moving to crypton would in theory be acceptable. Keeping compat with existing encryption formats would be nice, but not strictly necessary.

@avanov
Copy link

avanov commented Jul 18, 2023

@snoyberg to reliably move to crypton the entire infrastructure of cryptonite's dependent packages has to move too, namely cryptonite-conduit, which is a tall order, whilst just merging #36 provides the immediate incremental improvement over the current package version with crypto-aes. The fix for cryptonite that required the crypton fork doesn't affect the functionality of this package and just using the currentcryptonite for a time being is a viable option for production code that shares the same package across many other libraries.

@snoyberg
Copy link
Member

Fair point. OK, let's move ahead with this. I'll look it over now.

@snoyberg
Copy link
Member

I've merged the PR. I'm out of the house right now, I'll release once I'm back home.

@avanov
Copy link

avanov commented Jul 18, 2023

Thank you!

@snoyberg
Copy link
Member

clientsession-0.9.2.0 is now on Hackage.

@ysangkok
Copy link
Contributor

ysangkok commented Jul 9, 2024

@avanov crypton-conduit now exists, so I think it would make sense to do the move now, given

What do you think?

@avanov
Copy link

avanov commented Jul 9, 2024

@ysangkok I support the move as long as the respective encoders and decoders are b/w compatible with the previous implementation at the level of serialized values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants