about summary refs log tree commit diff
path: root/README.md
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2022-11-23 15:04:44 -0600
committerPaul Frazee <pfrazee@gmail.com>2022-11-23 15:04:44 -0600
commit810fcf99105016f5f55647d326909736c3641702 (patch)
treebe4a46a0e0dccbb6c2dff47afacb0fced646e4b8 /README.md
parent4eb8bc1249ccf6afaa0c77695057a13379cf1aa1 (diff)
downloadvoidsky-810fcf99105016f5f55647d326909736c3641702.tar.zst
Remove webcrypto polyfill, as it's no longer needed
Diffstat (limited to 'README.md')
-rw-r--r--README.md31
1 files changed, 0 insertions, 31 deletions
diff --git a/README.md b/README.md
index 64ffe5da5..f04e19e61 100644
--- a/README.md
+++ b/README.md
@@ -10,11 +10,6 @@ Uses:
 - [MobX](https://mobx.js.org/README.html)
 - [Async Storage](https://github.com/react-native-async-storage/async-storage)
 
-## TODOs
-
-- Handle the "unauthed" state better than changing route definitions
-  - Currently it's possible to get a 404 if the auth state changes
-
 ## Build instructions
 
 - Setup your environment [using the react native instructions](https://reactnative.dev/docs/environment-setup).
@@ -37,34 +32,8 @@ Uses:
 
 ## Various notes
 
-### Env vars
-
-Set using the `.env` file or using bash.
-
-```
-REACT_APP_AUTH_LOBBY = 'http://localhost:3001'
-```
-
-### Build behaviors
-
-The `metro.config.js` file rewrites a couple of imports. This is partly to work around missing features in Metro, and partly to patch the bundle. Affected imports include:
-
-- ucans
-- one-webcrypto
-
-### Cryptography
-
-For native builds, we must provide a polyfill of `webcrypto`. We use a custom native module AppSecureRandom (based on [react-native-securerandom](https://github.com/robhogan/react-native-securerandom)) for the CRNG and [msrcrypto](https://github.com/microsoft/MSR-JavaScript-Crypto) for the cryptography.
-
-**NOTE** Keys are not currently stored securely.
-
 ### Polyfills
 
 `./platform/polyfills.*.ts` adds polyfills to the environment. Currently this includes:
 
-- webcrypto
 - TextEncoder / TextDecoder
-
-### Auth flow
-
-The auth flow is based on a browser app which is specified by the `REACT_APP_AUTH_LOBBY` env var. The app redirects to that location with the UCAN request, and then waits for a redirect back. In the native platforms with proper support, it will do this using an in-app browser. In native without in-app browser, or in the Web platform, it will handle this with redirects. The ucan is extracted from the hash fragment of the "return url" which is provided either by the in-app browser in response or detected during initial setup in the case of redirects.
\ No newline at end of file