Closed juanky201271 closed 1 day ago
I want to apologize in advance if I said something wrong or inaccurate... rust is not my area of expertise... We are totally blocked with this problem, we cannot test the App at all.
@nachog00 Are you working on this issue? If so, any update? Thanks in advance.
I am So far i got the issue replicated and kindda solved it (i got it to run past the error). Right now I'm sorting out the specific changes that fix it.
I solved this in zingo-mobile, adding a new uniffi method: https://github.com/zingolabs/zingo-mobile/blob/7d736bdc0a250a94b2d95c43552d9530caa63af8/rust/lib/src/lib.rs#L303 and invoking it when the App is launching...
History:
rustls
to0.23.12
if I recall correctly. This update have two new crates:aws-ls-rs
&aws-ls-sys
, AFAIK this craterustls
have 2 different cryptographic backends:ring
.aws
.This upgrade introduce something new, When you use:
ClientConfig::builder()
-> https://github.com/zingolabs/zingolib/blob/dev/zingo-netutils/src/lib.rs#L109 for instance... before you have to choose one backend betweenring
andaws
or select the backend by defaultCryptoProvider::install_default()
which I believe isaws
.Nobody knows about this until now... I guess.
I had some issues cross-compiling zingolib, commit:
https://github.com/zingolabs/zingolib/commit/6454707abf12671f8935c5937ba25e51ee2bace9
because of these libs fromaws
. I wondered what really will bring to us, and I find out...I had the same error in both Platforms:
some research: I found this:
We recommend that libraries rely on the process-level provider by default, and that applications use this new API to select the provider they wish to use.