Repository navigation
Conversation
|
8-byte blocksize assumption based on https://coolaj86.com/articles/the-openssh-private-key-format/ and experiments in #1306 but test key seems to have 8 bytes padding (not sure if hand-crafted or realistic) and if this code is moved and used for new-openssh-format rsa keys too it might need to support more padding. |
10c24cb to
5006243
Compare
5006243 to
4b064c5
Compare
|
(squashed in and force-pushed a tiny fix to the comment ascii range) |
|
Cherry-picked back to Paramiko 2.2+ (as that's apparently when we added Ed25519 support). Also added tests, by which I mean I just recreated the old Ed25519 test keys with ones whose comments exposed the original bug. (FWIW, in future please try to add tests for this kind of crucial fix - no tests == no way to prove it was really fixed 😇 ) |
fixes #1306