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

Feature request: Use cklib to package openssl klibs #47

Open
kaeawc opened this issue Apr 19, 2024 · 3 comments
Open

Feature request: Use cklib to package openssl klibs #47

kaeawc opened this issue Apr 19, 2024 · 3 comments

Comments

@kaeawc
Copy link

kaeawc commented Apr 19, 2024

I noticed in #17 there was a discussion about how the openssl klib doesn't get included in the dependency package. I had a discussion with @kpgalligan in the Kotlin Lang Slack about the issue and he mentioned since you're building them from source you could use touchlab/cklib to package them in. Happy to help contribute a PR if you're open to it.

@kaeawc kaeawc changed the title Use cklib to package openssl klibs Feature request: Use cklib to package openssl klibs Apr 19, 2024
@davidepianca98
Copy link
Owner

Hello, I know the current solution is not very good. If cklib can solve this problem and you have the time to make a PR for this it would be great!

@jvondermarck
Copy link

It would be great to implement it ASAP because using a openssl lib in the project literally break my other libraries such as a cryptography lib that use as well openssl...

iosMain.dependencies {
            implementation(dev.whyoleg.cryptography:cryptography-provider-openssl3-prebuilt)
        }

@LiePy
Copy link

LiePy commented Nov 9, 2024

I had the same problem too. I found that it conflict with"cryptography-provider-openssl3-prebuilt"

It will throw exception at:kfun:dev.whyoleg.cryptography.providers.openssl3.materials.Openssl3KeyPairGenerator#generateKeyBlocking()

iosMain.dependencies {
            implementation(dev.whyoleg.cryptography:cryptography-provider-openssl3-prebuilt)
        }

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

4 participants