Skip to content

add support for rsa-sha2 signatures - #149

Draft
ploxiln wants to merge 2 commits into
masterfrom
rsa_sha2_v2
Draft

add support for rsa-sha2 signatures#149
ploxiln wants to merge 2 commits into
masterfrom
rsa_sha2_v2

Conversation

@ploxiln

@ploxiln ploxiln commented Feb 23, 2023

Copy link
Copy Markdown
Owner

Add support for rsa-sha2-256 and rsa-sha2-512, as well as the ext-info / server-sig-algs in handshake, used to advertise support for these new signature types.

I don't want to just copy exactly how it was handled in upstream paramiko, because if it doesn't get the ext-info message it assumes the new signature types for rsa keys are supported, rather than the inverse.

I've stalled out some months ago, because I've run into some buggyness ... and this is actually pretty tricky and messy to implement in this codebase, and my motivation ran out 🤷

References I'm working from:

bitprophet and others added 2 commits August 3, 2022 01:04
Existing ssh-rsa keys can be used with sha2-256 or sha2-512
signatures instead of traditional sha1: RFC-8332

Add support for extention negotiation to discover support for the
new rsa signature types: MSG_EXT_INFO / server-sig-algs: RFC-8308

Ported from upstream Paramiko to Paramiko-NG and trimmed:
Co-Authored-By: Pierce Lopez <pierce.lopez@gmail.com>
@ploxiln ploxiln added the wip work in progress label Feb 23, 2023
@ploxiln
ploxiln marked this pull request as draft March 16, 2025 03:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

wip work in progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants