I couldn't find the code that writes the sha1 field, but I'm guessing it is in Base64 while you are comparing with Base16.
/B On Fri, Jun 3, 2016 at 10:44 AM, DrGR <[email protected]> wrote: > Hello, > > Within our development environment, we have a jenkins installation within > a secure environment without direct connection to the web. It means when we > want to install/update a jenkins plugin they have to be imported within > secure environment. Before that can happen, it must be approved by security > to be imported - part of that process requires us to provide a hash (e.g. > md5/sha1) provided by the supplier (in this case jenkins) in order to > verify it matches after downloading the artefact. > > I am trying to download a jenkins plugin, in this case ws-cleanup version > 0.29. I have obtained the sha1 which I found from > https://updates.jenkins-ci.org/update-center.json. its specifies the sha1 > as "3DJdsVMUX8PB4/oHbWwsdvBjdNs=". but when I download the plugin and check > the hash locally it is "DC325DB153145FC3C1E3FA076D6C2C76F06374DB". > > Can anyone tell me why there is discrepancy and if there is any way of > resolving it. E.g. is there any other location where I can get the correct > sha1 keys, that doesn't involve generating it my self. > > Many Thanks in advance for any help, > > RG > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/479cb135-bf7c-4713-8881-f0e099daf4a6%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-dev/479cb135-bf7c-4713-8881-f0e099daf4a6%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Robert Sandell *Software Engineer* *CloudBees Inc.* -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CALzHZS2yEnoqUUTCS2B4VHVWRh-tp%2BNvu3oW0Y9N_9XaEedXkw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
