Open jeffnyman opened 9 years ago
Originally the plugin didn't work unless the hash was valid. The checkFileHashes option was added when some people requested a way to download files without checking the hash.
The plugin is designed to use hashes because this is how it checks that the file it has downloaded is correct. As a result the RepositoryMap.xml has an XSD that requires the hash field to be filled in.
To get the hash of a file you can do the following on the command line in OSX/Linux:
openssl sha1 <FileYouWantAHashFor>
openssl md5 <FileYouWantAHashFor>
For windows have a look at:
https://support.microsoft.com/en-us/kb/889768
It looks like the chromedriver team no longer supply MD5 or SHA1 hashes of their files so that you can check that your download is not corrupt and is the expected file, this is disappointing.
Unless I'm misunderstanding how things work, I have the following setting in place:
This is in the
configuration
area. However, even with this in place, I still get the following error if I don't have hashes:The reason I'm trying to run without the hashes is that it's not clear to me where to get them. For example, I have the following in place:
When I look at the download location (http://chromedriver.storage.googleapis.com/), I don't see a hash. I see an etag, but that's about it. The etag is this:
But the hash that is expected is: