glebd / cocoafob

A set of registration code generation and verification helpers for Obj-C, Ruby (Potion Store), PHP and FastSpring
Other
469 stars 57 forks source link

SecTransform is deprecated in macOS 12 #53

Open michaeljtsai opened 2 years ago

michaeljtsai commented 2 years ago

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?

glebd commented 2 years ago

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

DivineDominion commented 2 years ago

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

DivineDominion commented 2 years ago

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

jeff-h commented 1 year ago

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

DivineDominion commented 1 year ago

@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.