-
Notifications
You must be signed in to change notification settings - Fork 89
Open
Labels
bugunintented behaviour in tlslite-ng codeunintented behaviour in tlslite-ng codegood first issuerelatively simple changes, good for first time contributorsrelatively simple changes, good for first time contributorshelp wanted
Milestone
Description
In RSA code we generate a blinding factor as simple integer mod n:
https://github.com/tomato42/tlslite-ng/blob/9951ec1c769617247a80aa1cae661ec0edc68823/tlslite/utils/python_rsakey.py#L65-L70
we should verify that it's relatively prime to n (by calculating gcd() and checking if it is 1) before using it.
Metadata
Metadata
Assignees
Labels
bugunintented behaviour in tlslite-ng codeunintented behaviour in tlslite-ng codegood first issuerelatively simple changes, good for first time contributorsrelatively simple changes, good for first time contributorshelp wanted