cocoafob icon indicating copy to clipboard operation
cocoafob copied to clipboard

SecTransform is deprecated in macOS 12

Open michaeljtsai opened this issue 3 years ago • 8 comments

I don't think there are any other macOS APIs that currently support DSA. Time to bring back OpenSSL or is there a smaller third-party library that does DSA?

michaeljtsai avatar Apr 29 '22 13:04 michaeljtsai

That's unfortunate. OpenSSL sounds like the easiest option.

glebd avatar May 02 '22 10:05 glebd

https://github.com/krzyzanowskim/OpenSSL might be the best dependency for this, no?

Other resources

My last personal encounter with OpenSSL was in https://github.com/SwiftGit2/SwiftGit2 -- it has an ugly way to build OpenSSL with build scripts that I regularly forget how to change :)

In contrast, https://github.com/light-tech/LibGit2-On-iOS sports a build script that builds OpenSSL with a single function. That can take a while, though!

https://github.com/nferruzzi/openssl pointed to

  • ... a stand-alone build script repo: https://github.com/passepartoutvpn/openssl-apple
  • ... and the https://github.com/Kitura/OpenSSL shim that wraps the OpenSSL package via apt (Linux) or brew. Interesting, but would only work as a dev dependency, not as a static library as part of a framework to use in an app if I understand this correctly.

DivineDominion avatar Jul 01 '22 21:07 DivineDominion

Swift package we might use: https://github.com/krzyzanowskim/OpenSSL

DivineDominion avatar Oct 14 '22 15:10 DivineDominion

Does this mean the current release of Cocoafob doesn't work on macOS 12+?

jeff-h avatar Jan 19 '23 08:01 jeff-h

@jeff-h It still works fine, but it's discouraged. As with most Apple API deprecations, this should be around for a couple of years, and might never be removed completely to not break old programs.

DivineDominion avatar Jan 19 '23 09:01 DivineDominion