export async function write(crypto: Crypto.Implementation): Promise<string> {
  const pubKey = await crypto.keystore.publicWriteKey()
  const ksAlg = await crypto.keystore.getAlgorithm()

  return publicKeyToDid(