Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-2169

Possible too much logging when violating unique user public key and/or DN

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: EJBCA 4.0.0
    • Fix Version/s: EJBCA 4.0.2
    • Component/s: None
    • Labels:
      None

      Description

      The enabling "Enforce unique public keys" and there is a violation a log row is logged:

      User '7Y2N04UrQET3' is not allowed to use same key as the user(s) ...

      This is followed by a list of all users with the same public key. In a large database this log row can potentially contain thousands of users. The method RSASignSessionBean.listUsers(), should only list the firsr 10 and say "and 123456 more users".

      By fixing the listUsers method we also fix the same issue when violating unique subject DN.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tomas Tomas Gustavsson
              Reporter:
              tomas Tomas Gustavsson
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: