orlandos-nl / Citadel

SSH Client & Server in Swift
MIT License
224 stars 36 forks source link

product '_CryptoExtras' not found in 'swift-crypto' #52

Open MiaKoring opened 7 months ago

MiaKoring commented 7 months ago

product '_CryptoExtras' required by package 'citadel' target 'Citadel' not found in package 'swift-crypto'

Thats the error I get. I just added version version 0.7.0 as dependency to my package. I tried 0.6.0 as well, but the error persists

MiaKoring commented 7 months ago

This is probably caused from Citadel allowing old versions of swift-crypto where it may doesn't exist. When the error occured i had swift crypto 1.1.7, with swift crypto 2.0.0 it seems to work. maybe you should update Citadel to depending on swift-crypto 2.0.0 upwards or such, I'm not sure when _CryptoExtras was added

Joannis commented 7 months ago

The problem with the newer Crypto/_CryptoExtras versions it that I need to vendor my own BoringSSL, since Apple removed APIs I was leaning on for RSA support. I've yet to discuss a proper workaround with them