Hash is now checked to avoid useless configuration
sha1 is now lowercase