beginnings of mirage-x509