Switch to using keyfiles

Instead of clients auto-generating their keys from a passphrase, use a keyfile.