Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8216012

Infinite loop in RSA KeyPairGenerator

    XMLWordPrintable

    Details

      Backports

        Description

        When an even value is used for the RSA public exponent e, it is not possible to find a phi(n) that is relatively prime to e. The key generation routine still attempts to find one in an infinite loop. We can fix this by rejecting even values, and/or by exiting the loop after a fixed number of attempts.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                valeriep Valerie Peng
                Reporter:
                apetcher Adam Petcher (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: