fixup gen key
WIP - key import
WIP - deriveBits