A weak key generation issue exists in the `NewCounterEncryptorRandFromKey` function. The software derives RSA and Ed25519 leaf certificate private keys from public data because of the misuse of `hash.Sum`. An attacker who possesses the CA certificate and one observed leaf certificate can regenerate the private key of that host, allowing them to impersonate the host to clients that trust the proxy CA.