working on key creation and signing - tmp