"the key name contains invalid characters"
-
The problem is a minor bug in Veyon Configurator which sometimes pre-populates the key name dialog with the key file name including the directory name (which of course contains (back)-slashes). Simply shorten the input to the actual key name (e.g. "teacher") and everything should work as usual. The issue will be fixed in 4.7.2.