Closed achou11 closed 2 months ago
I think the monkey patch solution by Mix makes sense to use, well commented so that if/when we get a security review then it's clear why we're doing that.
applied patch in https://github.com/digidem/comapeo-desktop/tree/mapeo-core-integration and seems to work, so will close for now
Using
electron@30
, we get the following error when attempting to use@mapeo/core
in the main process (technically in the utility process):@mapeo/core
usessodium-universal
under the hood. Seems related to https://github.com/sodium-friends/sodium-native/issues/185. Haven't tried the suggested solutions there yet.Replacing
sodium-native
withsodium-javascript
viasodium-universal
leads to a different issue (missing method due to incomplete implementation):