Add protection for 25519 private keys (they need to be masked).