crypto_pwhash_str not working on iOS #1432
Replies: 4 comments 3 replies
-
The |
Beta Was this translation helpful? Give feedback.
-
The I'll see if that can be reproduced via a Did you try with different Xcode versions? It may be an Xcode regression; that would not be the first one. That kind of bug is not fun at all to investigate, so if you need this urgently, I can do it under a contracting agreement. Otherwise, I won't have time to look at this until next year. |
Beta Was this translation helpful? Give feedback.
-
I was not able to replicate this with the simulator. Does it only happen on a device? |
Beta Was this translation helpful? Give feedback.
-
Can you try with the Clibsodium.xcframework files from https://github.com/jedisct1/swift-sodium ? This is with |
Beta Was this translation helpful? Give feedback.
-
This code runs well on Windows, Windows Arm, Linux, OSX and Android.
But it fails on iOS, when using the .xcframework built with the ./dist-build/apple-xcframework.sh script.
The result is always false, here is an example from the console:
self can't verify $argon2id$v=19$m=1048576,t=4,p=1$o8pnPhwRfQJcY/zCYpLQXg$/Q/D8qGFesHy6Y2xErDjE2rHfklUQVBE0blyDFals0o
crypto_secretbox_easy and crypto_secretbox_open_easy work good, am I missing any configuration?
Beta Was this translation helpful? Give feedback.
All reactions