wbond / oscrypto

Compiler-free Python crypto library backed by the OS, supporting CPython and PyPy
MIT License
318 stars 71 forks source link

Move from SecCertificateCopyPublicKey(_:) to SecCertificateCopyKey(_:) in macOS 10.14+ #67

Closed TheEnbyperor closed 2 years ago

TheEnbyperor commented 2 years ago

Fix for issue #66

wbond commented 2 years ago

Thanks for your work on this!

Can you see if the test fails for you on an M1 with https://github.com/wbond/oscrypto/commit/222a558adb19876c42318c180e2eee52d42220b5? I grabbed the cert you had in this PR and added it as a test to make sure we have a failing test to rely on.


This PR is effectively the same as #63, although this adds some IDE configuration (which we wouldn't want), and bumps the version prematurely, and incompletely.

wbond commented 2 years ago

Alright, this should be fixed on master