FlowCrypt / flowcrypt-ios

FlowCrypt iOS App
https://flowcrypt.com
Other
33 stars 10 forks source link

Xcode 15 getHashAlgo #655

Open Kharchevskyi opened 3 years ago

Kharchevskyi commented 3 years ago

func getHashAlgo(name: String) throws -> HashAlgo {

'CC_MD5' was deprecated in iOS 13.0: This function is cryptographically broken and should not be used in security contexts. Clients should migrate to SHA256 (or stronger).

tomholub commented 3 years ago

This is true. I'll have to see if we still have to maintain this MD5 for OpenPGP compatibility - it may be used somewhere in a non-dangerous manner.