Skip to content

Draft: Automate fetching SSH fingerprints of keys to ban

Sladyn Nunes requested to merge sladyn98/gitlab:automate-fetching-keys into master

What does this MR do and why?

  1. Create a new configuration file at config/security/banned_ssh_keys.yml which contains a list of the banned SSH key fingerprints
  2. Update app/models/key.rb so that it reads the list of banned key fingerprints from this YAML file.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading