Repository navigation
Conversation
|
Thanks for the PR. I guess that in order to have this merged, it will need automated tests and some sort of documenation or mention in the release notes that GCM support was added. |
|
Thanks this patch will works again the master. But I think the patch must also patch the tests, because the tests now fails with: |
|
I fixed the Style and Lint errors that the CircleCI tests were throwing up. I am not that familiar with Unit Tests - How are you executing those - when I run The following is failing with the CircleCI test (Test 3.6 w/ cryptography==3.3.2 - Failed), but this looks like it isn't going to work regardless of what I change: |
|
If I run the following from a clean clone of the main branch then I get the following failures before I even change anything - is this expected (Python 3.11)? |
This I think is not an real error, it looks like more an defective pipieline config. |
|
I have run it again on my side. 4/5 run's will pass. So I don't know why it sometimes fails. Using an chroot without network external network access. |
|
I and some other, crypto-knowing, folks will try to find time to review this sometime in the not too distant future. Thanks for updating the original PR this way. Also linking the true OG feature ticket for this, #982 |
|
Got a preliminary thumbs up from a cryptopal, so that's a good sign. I'll do my own RFC reading/code reviewing sometime as well. I see @adiroiban tested the original PR against OpenSSH 9.6 server. I've got 9.6 available here, as well as a macOS-deployed 9.0. Both appear to have GCM ciphers enabled by default on both client and server configs. What version(s) are you targeting on your end, @cmason3 and @tuxmaster5000? |
|
Thanks! I have updated our version if Paramiko with this patch and I have been running it for the past week successfully against JunOS 21.4R3, 22.2R3 and 23.2R2 as well as Cisco IOS XR 6.7.3 and 7.8.2. |
|
Awesome, also good to see successful tests against non-OpenSSH targets (we mostly just get complaints there, w/o anyone sticking around to help test fixes 🙃). Will report back once I've had time to verify & tidy up the branch. |
|
Have reviewed the code, updated inline comments, and made some notes-to-self about necessary cleanup. Next up I need to test it out in the real (both before and after any non-comment changes I make). Then it's just changelog/docs/etc time and hopefully we're good. (Also need to identify what's up with CircleCI - it was passing the suites without too much issue last time I did a bugfix release...and things pass locally for me still, on this branch.) |
|
Did all that. Bit more testing (and poking CI) but then it's release time. Minor note for future: if we wanna get super technical about this we should probably update the logic or at least the logging around MAC algorithm agreement, since AES-GCM technically doesn't "do any" (its 'tag' functions as a MAC). This didn't strike me as likely to mess anybody up too bad so I'm leaving well enough alone for now... |
|
As usual, GH doesn't like it when I rebase folks' PRs, so I gotta close this manually. Commit log will show that I phrased my changes as additional commits on top of everyone else's 😇 |
|
Paramiko 3.5 is now out on PyPI with this feature. |
Updated pull request which should provide a clean merge against the main branch - it is basically the same as #2157