When you do an export of WireGuard config on 7.1 and 7.2rc2, it does not show the public and private keys doing an export.
As far as I have seen only way to get the keys are in WinBox.
yeah that is strange, the straight export should show both keys and the hide-sensitive neither.
Also regardless of settings all the zerotier config is displayed.
Public key is not a configurable field, there is no need to export it. Public key is generated from the private key, so as long as the private key is the same, public key will also not change.
… was added to hide sensitive information. This should prevent posting sensitive data to forum, etc.
But a lot of people do not know about, or just forget to use it. Thus the logic was reversed for RouterOS v7:
/export show-sensitive
Now hiding is the default (I think the old parameter hide-sensitive still works for compatibility), you have to give extra parameter to show sensitive data.