Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug1794213 server keygen enroll input output #1

Commits on Mar 27, 2020

  1. Fixed keyTypeSelection and keyLengthCurveSelection in profileSelect.t…

    …emplate
    
    Signed-off-by: Dinesh Prasanth M K <[email protected]>
    SilleBille committed Mar 27, 2020
    Configuration menu
    Copy the full SHA
    4bd24a5 View commit details
    Browse the repository at this point in the history
  2. Fix Javascript and backend to populate the WebUI for ServerSideKeygen

    This patch:
    
    - Uses javascript to fill up the web UI request for ServerSide Keygen request profile
    
    - Provides 2 drop down boxes: KeyType and Keysize. KeySize autoupdates based on
      the KeyType selected. Example: RSA -> 1024, 2048,.. ; ECC -> nistp521, nistp256
    
    - The keyType and keySize are read from the profile's attr:
      policyset.userCertSet.3.constraint.params.keyParameters
    
    File wise changes:
    
    - ServerKeygenUserKeyDefault.java can now generate Key pair based on the user's
      selection. (NOTE: This logic was added as a place holder. This might need some review)
    
    - ServerKeygenInput.java sends 2 new fields (keyType and keyRequest) to the request, to be
      displayed on the webUI
    
    - ProfileSelect.template carries the javascript changes. Note that there are 2 new if
      conditions included: "server_side_keygen_key_type" and "server_side_keygen_key_size".
      This ensures that it doesn't meddle with other profile web UIs
    
    - IDescriptor.java and UserMessages.properties carry the appropriate String values to
      be displayed/requested from user.
    
    Signed-off-by: Dinesh Prasanth M K <[email protected]>
    SilleBille committed Mar 27, 2020
    Configuration menu
    Copy the full SHA
    a74843f View commit details
    Browse the repository at this point in the history