Fix requiring keyType value.
Fix provisor-creator not checking for key validity.