Change the key in separate step

Signed-off-by: Nico Rutishauser <nr@hotmail.ch>
Take random NodeID

Signed-off-by: Nico Rutishauser <nr@hotmail.ch>