Skip to content

Fix RSAKey::getSize()#226

Merged
kelvinmo merged 2 commits intomasterfrom
issues/225-rsakey-getsize
Apr 21, 2025
Merged

Fix RSAKey::getSize()#226
kelvinmo merged 2 commits intomasterfrom
issues/225-rsakey-getsize

Conversation

@kelvinmo
Copy link
Copy Markdown
Owner

Refactor RSAKey::getSize() to detect leading zeros in two's complement encoding, and ignore when calculating the key size.

Fix #225.

@kelvinmo kelvinmo merged commit d60c26a into master Apr 21, 2025
10 checks passed
@kelvinmo kelvinmo deleted the issues/225-rsakey-getsize branch April 21, 2025 12:15
@kelvinmo
Copy link
Copy Markdown
Owner Author

💚 All backports created successfully

Status Branch Result
1.0

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

kelvinmo added a commit that referenced this pull request Apr 21, 2025
[1.0] Merge pull request #226 from /issues/225-rsakey-getsize
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RSAKey::getSize() reporting the incorrect key length

1 participant