<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jun 10, 2021 at 10:00 AM BJ Weschke <<a href="mailto:bweschke@btwtech.com">bweschke@btwtech.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">I’d be willing to take a look at it for you George. <br></div></blockquote><div><br></div>A Volunteer!!!  THANKS!  I didn't think anyone would respond so soon. :)    </div><div class="gmail_quote"><br></div><div class="gmail_quote">Basically, the plugin uses the com.sonyericsson.hudson.plugins.gerrit.gerrit-events package to communicate with Gerrit.  That in turn uses the com.jcraft.jsch library both through gerrit-events and directly.   The gerrit-events package has since been split out of the old hudson/jenkins  space into com.sonymobile.tools.gerrit.gerrit-events and that's actively maintained and is what Jenkins currently uses.  I _think_, _possibly_, that moving the jira-gerrit-plugin from the old gerrit-events to the new gerrit-events might just fix the issue but I can't be sure.    The plugin also has the capability to update Gerrit but we don't use that bit.  It may then be easier to just change the plugin to use the Gerrit REST interface for the query stuff.  The plugin already has configuration settings for gerrit url, username and password so why it doesn't use the REST interface already I'm not sure.   Anyway, take a look and let me know what you think.<div><br></div><div><a href="https://github.com/MeetMe/jira-gerrit-plugin">https://github.com/MeetMe/jira-gerrit-plugin</a><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><br><div dir="ltr">Sent from my iPhone</div><div dir="ltr"><br><blockquote type="cite">On Jun 10, 2021, at 11:31 AM, George Joseph <<a href="mailto:gjoseph@sangoma.com" target="_blank">gjoseph@sangoma.com</a>> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><div dir="ltr"><div><br></div><div>You already know about the SSH host key issue related to the upgrade of Gerrit we did on May 28th.    That issue we knew about in advance so we gave everyone advance notice.  Well, we discovered another issue related to SSH but this one was after the fact...</div><div><br></div><div>We use a Jira plugin to display open Gerrit reviews for issues.  This plugin is quite old and we discovered last Tuesday that it was using SSH Key Exchange Algorithms (kex) that are also quite old and known to be insecure.  With the Gerrit upgrade, those older kex algorithms were removed so Jira was no longer able to log into gerrit via ssh and retrieve the reviews.</div><div><br></div><div>So we actually have two issues...  First Gerrit really messed up with their release notes because there was absolutely no mention of the implications of their upgrading their SSH backend.  I've taken that up with them.   Second, the Gerrit plugin for Jira really needs an update but it's not well maintained and although we could fix it, we're not exactly overstaffed right now.   The Gerrit team did agree to re-enable the older kex algorithms in their 3.4.1 release but that only helps us in the short term as they will eventually be deprecated for good.</div><div><br></div><div>So while we should have the integration working again shortly, we're still not sure what to do in the long term.   Would any of you with Java experience be able to take a look at the jira-gerrit-plugin[1]?  It's actually not that complex but it needs its SSH backend (com.jcraft.jsch) replaced.   If any of you are interested, let me know and I can give you the details.</div><div><br></div><div>[1] <a href="https://github.com/MeetMe/jira-gerrit-plugin" target="_blank">https://github.com/MeetMe/jira-gerrit-plugin</a><br></div><div><br></div><div><br></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr" style="font-size:12.8px"><div dir="ltr" style="font-size:12.8px"><div style="font-family:tahoma,sans-serif;font-size:small"><span style="color:rgb(7,55,99)">George Joseph</span><br></div></div><div dir="ltr" style="font-size:small"></div><div style="font-family:tahoma,sans-serif;font-size:small"><span style="color:rgb(7,55,99)">Asterisk Software Developer</span><br></div><span style="color:rgb(7,55,99);font-family:tahoma,sans-serif;font-size:small">direct/fax +1 256 428 6012</span><br><div style="font-family:tahoma,sans-serif;font-size:small"><font color="#073763" style="--darkreader-inline-color:#94ccf7;">Check us out at</font> <a href="http://www.sangoma.com/" style="color:rgb(17,85,204)" target="_blank">www.sangoma.com</a> and <a href="http://www.asterisk.org" target="_blank">www.asterisk.org</a><br></div><div style="font-family:tahoma,sans-serif;font-size:small"><div><image.png></div></div></div></div></div></div></div></div></div></div>
<span>-- </span><br><span>_____________________________________________________________________</span><br><span>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --</span><br><span></span><br><span>asterisk-dev mailing list</span><br><span>To UNSUBSCRIBE or update options visit:</span><br><span>   <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a></span></div></blockquote></div>-- <br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-dev mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a></blockquote></div></div>