Skip to content

Conversation

@alex
Copy link
Member

@alex alex commented Jan 2, 2026

When parsing an SSH ECDSA public key with empty point data, the code was accessing point[0] without first checking if the point is empty, causing an IndexError. This change adds a check for empty point data before accessing point[0], raising a ValueError instead.

…ith empty point

When parsing an SSH ECDSA public key with empty point data, the code
was accessing point[0] without first checking if the point is empty,
causing an IndexError. This change adds a check for empty point data
before accessing point[0], raising a ValueError instead.
@reaperhulk reaperhulk merged commit 26d3031 into main Jan 2, 2026
68 checks passed
@reaperhulk reaperhulk deleted the claude/fix-cryptography-14084-FYMMq branch January 2, 2026 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants