add config file, fix signing algo