1 Matching Annotations
  1. Jun 2021
    1. Crypto node implementations
      • from : https://discord.com/channels/478735028319158273/790825713094754364/847518960814784582 The issue with just using webnative in nodejs is that e.g. the webnative.initialise function depends on a bunch of browser-specific features, e.g. window.location and its query parameters (for authentication after redirecting from the auth lobby). However, it's possible to skip that layer and try to build the filesystem yourself. We've recently done that to support writing tests for webnative in node. The remaining thing you need to do is make sure to replace the underlying crypto keystore stuff that would usually save to indexedDB with something else. We've implemented an in-memory version here: