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>
		
			
				
	
	
		
			26 lines
		
	
	
	
		
			720 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
	
		
			720 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!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>
 |