Adapt license handling to rest of krypt