henrinormak / Heimdall

Heimdall is a wrapper around the Security framework for simple encryption/decryption operations.
MIT License
402 stars 68 forks source link

Remove common crypto++ #73

Closed einarnot closed 6 years ago

einarnot commented 6 years ago

I have removed CommonCrypto from the project as its already present in swift 4.2. At the same time I have also migrated the project to swift 4.2 using migration in xcode, and I have fixed some warnings.

einarnot commented 6 years ago

Hi, I cannot seem to get the test to work, there is an issue when calling SecKeyGeneratePair() in Heimdall.swift line 659. Its returning -34018.

I tried this solution, but cannot get it to work: https://stackoverflow.com/questions/41258171/generating-key-pair-in-ios-using-seckeygeneratepair-failed-with-errsecinteractio

henrinormak commented 6 years ago

Also need to update the podspec, there is some CommonCrypto related stuff in there (as well as the platform needs to be updated). Most likely this would be a major release (as it would in essence not be backwards compatible).