Skip to content
Snippets Groups Projects
Select Git revision
  • 510851-policies-integration-tests-skip-ci
  • ps-migrate-vscode-extension-marketplace-ff-to-db
  • check-tag-rules-when-deleting-container-images
  • pb/517368/add-provider-to-saml-group-links
  • backfill-desired-sharding-key-large-table-push_event_payloads
  • 16653_add_vulns_api_from_stat_adjustments_branch
  • backfill-desired-sharding-key-small-table-scan_result_policies
  • master default protected
  • rails-next protected
  • ruby-next protected
  • backfill-multiple-desired-sharding-key-small-table-snippet_statistics
  • sharding-key-backfill-keeps
  • backfill-desired-sharding-key-small-table-incident_management_pending_issue_escalations
  • issue_509317
  • eduardosanz/update-codeowners
  • document-new-golang-runbook
  • 505041-add-parent-param-groups-resolver
  • axil-docs-redirects-skip_indexmd
  • 514146-add-sharding-key-for-redirect_routes
  • qa-knapsack-master-report-update
  • v17.7.6-ee protected
  • v17.8.4-ee protected
  • v17.9.1-ee protected
  • v17.8.3-ee protected
  • v17.7.5-ee protected
  • v17.9.0-ee protected
  • v17.9.0-rc42-ee protected
  • v17.6.5-ee protected
  • v17.7.4-ee protected
  • v17.8.2-ee protected
  • v17.6.4-ee protected
  • v17.7.3-ee protected
  • v17.8.1-ee protected
  • v17.8.0-ee protected
  • v17.7.2-ee protected
  • v17.8.0-rc42-ee protected
  • v17.5.5-ee protected
  • v17.6.3-ee protected
  • v17.7.1-ee protected
  • v17.7.0-ee protected
40 results

keys.rb

  • Stan Hu's avatar
    6c2adbb0
    Fix deploy keys breaking protected branch dropdown in FIPS mode · 6c2adbb0
    Stan Hu authored and Ezekiel Kigbo's avatar Ezekiel Kigbo committed
    In FIPS mode, if a deploy key were present, clicking on the "Allowed
    to push" dropdown would fail with a "Failed to load groups, users and
    deploy keys" message. This occurred because the JavaScript attempted
    to use the `fingerprint` attribute of the key.  However, on a FIPS
    system, the MD5 fingerprint is not available, and the `null` value
    breaks the dropdown.
    
    To fix this, we use the `fingerprint_sha256` attribute instead. This
    commit also puts the SHA256 fingerprint first in the HTML views to
    avoid confusion.
    
    Relates to #364562
    
    Changelog: fixed
    6c2adbb0
    History
    Fix deploy keys breaking protected branch dropdown in FIPS mode
    Stan Hu authored and Ezekiel Kigbo's avatar Ezekiel Kigbo committed
    In FIPS mode, if a deploy key were present, clicking on the "Allowed
    to push" dropdown would fail with a "Failed to load groups, users and
    deploy keys" message. This occurred because the JavaScript attempted
    to use the `fingerprint` attribute of the key.  However, on a FIPS
    system, the MD5 fingerprint is not available, and the `null` value
    breaks the dropdown.
    
    To fix this, we use the `fingerprint_sha256` attribute instead. This
    commit also puts the SHA256 fingerprint first in the HTML views to
    avoid confusion.
    
    Relates to #364562
    
    Changelog: fixed
Code owners
Assign users and groups as approvers for specific file changes. Learn more.