|author||Jason A. Donenfeld <Jason@zx2c4.com>||2017-12-01 13:31:33 +0100|
|committer||Jason A. Donenfeld <Jason@zx2c4.com>||2017-12-03 15:07:52 +0100|
|parent||wg: fix removing preshared keys (diff)|
contrib: keygen-html for generating keys in the browser
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'contrib/keygen-html/README')
1 files changed, 19 insertions, 0 deletions
diff --git a/contrib/keygen-html/README b/contrib/keygen-html/README
new file mode 100644
@@ -0,0 +1,19 @@
+example helps them fuel their poor taste.
+It's possible to generate WireGuard keys (and thus configurations) in the
+browser. The webpage here simulates talking to a server to exchange keys
+and then generates a configuration file for the user to download.
+Who knows how emscripten actually compiles this and whether or not it
+introduces interesting side-channel attacks.
+Secrets aren't zerored after use. Maybe you can get around this with
+some tricks taking advantage of browser allocator behavior and different
+processes, but it seems pretty hard.