Core now generates privatekey if user does not already have it.
New command "pubkey" that displays public key of user.