generate NaCL public key to test new code
19:33:41 <dgoulet> what you guys need to do to get the public key:
19:33:42 <dgoulet> https://download.libsodium.org/doc/advanced/scalar_multiplication.html
19:34:34 <dgoulet> so you pass the password in crypto_pwhash() and then in that scalar mult ^ and you get the public key
19:50:46 <dgoulet> also hrm here is a problem
20:00:46 <dgoulet> the hashed password that dovecot keeps must not be what we use to derive private key
20:00:50 <dgoulet> else server can decrypt
20:01:09 <dgoulet> so it has to be the plain password then hashed then KDF
20:01:28 <dgoulet> which might need to be fine tuned because that hash function can be expensive (argon2 vs scrypt)