krzyzanowskim / OpenSSL

OpenSSL package for SwiftPM, CocoaPod, and Carthage, multiplatform
https://swift.best
Other
907 stars 334 forks source link

Will OpenSSL 3.1.x be the next step to have an xcframework? #167

Closed ferencIOS closed 11 months ago

ferencIOS commented 1 year ago

Hi all!

As per title: is there any idea to port openssl 3.1.x?

Thank you.

krzyzanowskim commented 1 year ago

is it the time already?

ferencIOS commented 1 year ago

Reading from the official site: https://www.openssl.org/blog/blog/2023/03/28/1.1.1-EOL/

So I guess from September 3.1.x will be the only supported series :)

wyllys66 commented 1 year ago

I was able to build for 3.1.1 by substituting darwin-common->module_ldflags from "-bundle" to "-dynamiclib" in Configurations/shared_info.pl

I haven't fully tested it yet, but it does complete the build.

Additionaly, had to update the header files in support/OpenSSLh.h to include the 3.1.1 headers (and remove deprecated, deleted ones) and do the same in the OpenSSL.xcproject - update the include files.

jzilske commented 1 year ago

@krzyzanowskim thank you for providing timely updates all this time (the latest one just hours ago), but I'd second @ferencIOS's request as OpenSSL 1.1.1 "will no longer be receiving publicly available security fixes" after September 11 which is in almost exactly a month from today. Are there plans to provide updates for the 3.0 or 3.1 series going forward?

krzyzanowskim commented 1 year ago

I plan to prepare update to 3.x later this month.

jzilske commented 1 year ago

That's great, thank you again.

krzyzanowskim commented 11 months ago

3.1.2 update PR is on https://github.com/krzyzanowskim/OpenSSL/pull/174 if anyone wants to give it a try. I appreciate confirmation it works or other feedback before I release the version.

It's not tagged so you have to use the branch name.

jzilske commented 11 months ago

@krzyzanowskim Thanks for the update! OpenSSL 3.0 changed its license though (cf. https://www.openssl.org/docs/man3.0/man7/migration_guide.html#License-Change); maybe you want to reflect that?

krzyzanowskim commented 11 months ago

done https://github.com/krzyzanowskim/OpenSSL/blob/main/LICENSE.txt