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

Infinite loop in RSA KeyPairGenerator

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: tbd
    • Component/s: security-libs
    • Labels:
      None

      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

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              apetcher Adam Petcher (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: