Possible fix for test_random_keys() failure on short keys #2173
No reviewers
Labels
No Label
bug
build
dependencies
developers
documentation
duplicate
enhancement
formatting
invalid
legal
mobile
obsolete
packaging
performance
protocol
question
refactoring
regression
security
test
translation
usability
wontfix
No Milestone
No project
No Assignees
1 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Bitmessage/PyBitmessage-2024-12-04#2173
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "gitea-68"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi!
This is a possible fix for failures like this.
I may be wrong. I preferred to pad the pubkey coordinates in
ECC.get_pubkey()
because I see theb'\x02\xca\x00 '
literal here inhighlevelcrypto
. Maybe I should've changed the pubkey parts oftest_random_keys()
instead, like I did for the privkey?