It is a bug trying to modify a sealed WireGuardPeer instance.
the unsealed WireGuardPeer instance
the secret flags to set.