Fix crypto.importKey in getMasterKey