Apply conversion script to all *.md files. authored by Alexander Hansen Færøy's avatar Alexander Hansen Færøy
......@@ -5,7 +5,7 @@ Paste the following code snippet in the Firefox (or Tor Browser) web console to
1. Start Firefox (or Tor Browser) and open the web console.
1. Paste the following code:
{{{
```
crypto.subtle.generateKey({ name: "ECDSA", namedCurve: "P-256" }, true, ["sign"])
.then((kp) => {
let padStart = (s, l, c) => Array(l - s.length + 1).join(c || " ") + s;
......@@ -30,15 +30,15 @@ crypto.subtle.generateKey({ name: "ECDSA", namedCurve: "P-256" }, true, ["sign"]
console.log("/msg nickserv set property pubkey", btoa(s));
});
});
}}}
```
You should see output like this:
{{{
```
Promise { <state>: "pending" }
<priv-key>
/msg nickserv set property pubkey <pub-key>
}}}
```
Copy the command starting with `/msg nickserv` and run it on the server.
......
......