I’m not sure if in-browser validation is the best route to pursue, but note that P-256 is supported in WebCrypto (that is why we include it as one of the PLC rotation key curve types), and Ed25519 browser support was just recently announced (for the package signature part).