EOSIO / eosio-swift-ecc

Swift utilities for working with keys, cryptographic signatures, encryption/decryption, etc.
https://eosio.github.io/eosio-swift-ecc
MIT License
11 stars 12 forks source link

Spm support #84

Closed opi-smccoole closed 3 years ago

opi-smccoole commented 4 years ago

NOTE: Currently requires Xcode 12beta4 do build and test because of the binary OpenSSL SPM dependency! Also, the SPM module configuration may make this version incompatible with previous versions because of import changes!

Reimplements the ECC functions that were previously OpenSSL based using libtomcrypt and libtommath from https://github.com/libtom. All functions that were previously provided have been implemented:

Unused Cocoapods artifacts have been removed. The podspec file has been updated but not tested yet and is likely not to work. Enabling Cocopods will be undertaken in follow up PR's.

The default functions are currently still pointing to OpenSSL. The libtom implementations have been created along side them temporarily for review and side by side testing. OpenSSL will be removed before the final PR is removed. Once OpenSSL is removed, the swift-tools dependency will be dropped down to 5.2 to hopefully utilize Xcode 11.

opi-smccoole commented 3 years ago

This repository and work have been folded into eosio-swift.