Kitura / BlueECC

Elliptic-curve cryptography for Swift
Apache License 2.0
92 stars 35 forks source link

Use SecKeyCreateRandomKey #35

Open LowAmmo opened 1 year ago

LowAmmo commented 1 year ago

Similar to https://github.com/Kitura/BlueRSA/issues/77

Need to stop using SecKeyGeneratePair, and switch to SecKeyCreateRandomKey.

I'll work on getting a PR put together, but, similar to BlueRSA, would like an updated release to go to Cocoapods, so it can be consumed that way.

-Thanks!

dannys42 commented 1 year ago

@LowAmmo I've been trying to do some cocoapod updates, but hitting a bug in cocoapods. Looks like others are seeing this issue as well. You're welcome to test on your setup... you just need to run pod lib lint. I don't see a way to be able to push the cocoapods changes without hitting this bug.

LowAmmo commented 1 year ago

@dannys42 - I actually got it to run successfully on the current version of the PR. (#36 )

As a caveat...I am still using Xcode 13.4.1 by default. (we'll update to run Xcode 14 by default for all our builds in the next few months)