Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Board Manager - MessageDigest error? #3353

Closed
pfeerick opened this issue Jun 17, 2015 · 3 comments
Closed

Board Manager - MessageDigest error? #3353

pfeerick opened this issue Jun 17, 2015 · 3 comments
Assignees
Milestone

Comments

@pfeerick
Copy link
Contributor

@pfeerick pfeerick commented Jun 17, 2015

This is in relation to a 3rd party board package, so there is the possibility that this is due to an invalid board package file, but here goes...

Added 'http://boneskull.com/digistump-board-index/package_digistump_index.json' to the 'additional board manager URLs' list and tried to install the 'Digistump AVR Boards' by Christopher Hiller, and I get the following MessageDigest error at the bottom of the board manager (and in the log), and the java.lang.RuntimeException message is shown in the log. I have put in a request on the Digistump forum, and notice that someone else has had issues also recently.

I am running v1.6.5 of Arduino, on Windows 7 x64, and the board package file is supposed to be 1.6.4+ compatible, the individual support files seem to download ok, and then the MessageDigest error rears it's ugly head...

Any help would be appreciated, and I happy to run any additional tests I can.

4e8c423fde901071259d679c3aaef97cf57c5229286057e40b73ffd4daffbf7a MessageDigest not available

java.lang.RuntimeException: java.security.NoSuchAlgorithmException: 4e8c423fde901071259d679c3aaef97cf57c5229286057e40b73ffd4daffbf7a MessageDigest not available
    at cc.arduino.contributions.packages.ui.ContributionManagerUI$4.run(ContributionManagerUI.java:182)
    at java.lang.Thread.run(Thread.java:745)
Caused by: java.security.NoSuchAlgorithmException: 4e8c423fde901071259d679c3aaef97cf57c5229286057e40b73ffd4daffbf7a MessageDigest not available
    at sun.security.jca.GetInstance.getInstance(GetInstance.java:159)
    at java.security.Security.getImpl(Security.java:695)
    at java.security.MessageDigest.getInstance(MessageDigest.java:167)
    at cc.arduino.utils.FileHash.hash(FileHash.java:59)
    at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:71)
    at cc.arduino.contributions.packages.ContributionInstaller.install(ContributionInstaller.java:112)
    at cc.arduino.contributions.packages.ui.ContributionManagerUI$4.run(ContributionManagerUI.java:176)
    ... 1 more
@per1234
Copy link
Member

@per1234 per1234 commented Jun 17, 2015

It is an error in their board package file. They forgot to specify the checksum type for one of the Tools:
"checksum": "4e8c423fde901071259d679c3aaef97cf57c5229286057e40b73ffd4daffbf7a" should be "checksum": "SHA-256:4e8c423fde901071259d679c3aaef97cf57c5229286057e40b73ffd4daffbf7a"
There is a pull request in the repository that fixes the error(https://github.com/boneskull/digistump-board-index/pull/2) but it was submitted 23 days ago and still not fixed so it might be a while. If you want to do a Boards Manager install of these boards now you can use the URL:
https://raw.githubusercontent.com/aalku/digistump-board-index/master/package_digistump_index.json
Keep in mind that this URL will not reflect future versions of the digistump packages so you will want to change the URL in your Arduino Preferences when the official one is fixed.

@ffissore
Copy link
Contributor

@ffissore ffissore commented Jun 17, 2015

Closing as invalid, because upstream needs to handle this https://github.com/boneskull/digistump-board-index/pull/2

@ffissore ffissore closed this Jun 17, 2015
@ffissore ffissore added this to the Release 1.6.6 milestone Jun 17, 2015
@ffissore ffissore self-assigned this Jun 17, 2015
@pfeerick
Copy link
Contributor Author

@pfeerick pfeerick commented Jun 18, 2015

Thanks for that, I thought someone would work out it quickly!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants