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

Not Swift 5.8 compatible #117

Open
OurBigAdventure opened this issue Jul 7, 2023 · 3 comments
Open

Not Swift 5.8 compatible #117

OurBigAdventure opened this issue Jul 7, 2023 · 3 comments

Comments

@OurBigAdventure
Copy link

I'm having an issue building in Linux for Swift 5.8, the issue is related to the BlueRSA dependency, specifically the CryptorRSA.swift file. I suspect that there are more errors but this is all the compiler is showing at the moment.

I realize this isn't an issue for Swift-JWT, except that it is for anyone using it on Linux who wants to upgrade Swift. So just a heads up to the maintainers of this repo.

Also to note that BlueRSA has not been updated in 2 years, maybe it's time to switch over to Apple's swift-crypto library?

@wassup-
Copy link

wassup- commented Aug 4, 2023

@OurBigAdventure I replaced BlueRSA etc with Apple's Swift Crypto library.
Can you check if my PR fixes things for you on Linux?

Please note that RSA support is currently missing in my PR.

@advanc3dUA
Copy link

I'm having an issue building in Linux for Swift 5.8, the issue is related to the BlueRSA dependency, specifically the CryptorRSA.swift file. I suspect that there are more errors but this is all the compiler is showing at the moment.

I realize this isn't an issue for Swift-JWT, except that it is for anyone using it on Linux who wants to upgrade Swift. So just a heads up to the maintainers of this repo.

Also to note that BlueRSA has not been updated in 2 years, maybe it's time to switch over to Apple's swift-crypto library?

Hey. Did you find the solution? I can't compile my Vapor project with SwiftJWT because of Swift 5.9.2 on my server. The only idea which I have is to roll back to one of the previous Swift versions but I don't know which one. Plus this looks kinda temporary workaround and not the real solution.

@wassup-
Copy link

wassup- commented Mar 3, 2024

@advanc3dUA You can check if my PR suits your needs.

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

3 participants