diff options
author | Vincent Ambo <mail@tazj.in> | 2023-06-14T15·38+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2023-06-15T16·58+0000 |
commit | 8b637521c60219c0773604c452ecb7c98918d202 (patch) | |
tree | 27e232b13fd0f52d2060d358504a7e0f93e3775b /web/pwcrypt/index.html | |
parent | 0f71d8f813adad2d8bf4cc3048adb7fb60f5a1f8 (diff) |
feat(web/pwcrypt): little web application for creating LDAP accounts r/6310
This generates the format expected in `//ops/users`. Note that as of this commit I have not actually tested whether the generated hashes work, as OpenLDAP doesn't ship with a tool to do that and I have to actually use it, spin up an LDAP server and bind to it. The plan is to host this at something like `tvl.fyi/signup`. There is no plan to automatically submit the generated stuff to the repo, people still have to email us (and display their street cred). Note that currently the generated hashes have slightly different parameters than what //tools/hash-password creates. This might not matter, but it's probably still a good idea to try and explicitly set Argon2 parameters. Change-Id: Ic162afbf7fb0e05ca6efc131b3bb0a4187e28029 Reviewed-on: https://cl.tvl.fyi/c/depot/+/8776 Reviewed-by: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI Reviewed-by: flokli <flokli@flokli.de>
Diffstat (limited to 'web/pwcrypt/index.html')
-rw-r--r-- | web/pwcrypt/index.html | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/web/pwcrypt/index.html b/web/pwcrypt/index.html new file mode 100644 index 000000000000..cacf984d88da --- /dev/null +++ b/web/pwcrypt/index.html @@ -0,0 +1,26 @@ +<!DOCTYPE html> +<html> + <head> + <meta charset="utf-8" /> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <link rel="stylesheet" + href="https://static.tvl.su/latest/terminal.min.css" /> + <title>//web/pwcrypt</title> + </head> + + <body> + <noscript> + <h1>//web/pwcrypt</h1> + <p> + This application hashes passwords in your browser, and + requires JavaScript (or more specifically, WebAssembly) to + run. + </p> + <p> + All of the involved code is + available <a href="https://at.tvl.fyi/?q=%2F%2Fweb%2Fpwcrypt">in + the depot</a> and is licensed under free software licenses. + </p> + </noscript> + </body> +</html> |