Skip to content
Snippets Groups Projects
  1. Jul 09, 2022
    • Stan Hu's avatar
      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
  2. Jun 28, 2022
  3. May 11, 2022
  4. Mar 31, 2022
  5. Feb 07, 2022
    • Bogdan Denkovych's avatar
      Remove `Spec::Support::Helpers::KeyGeneratorHelper` class · 20f60014
      Bogdan Denkovych authored
      `Spec::Support::Helpers::KeyGeneratorHelper` was added in
      857d0391 to generate RSA public key
      in openssh format.
      At that time we didn't have a gem in Gemfile to do so.
      
      Later, we added `sshkey` gem that allows generating public keys.
      
      Also, we used to have `SSHKeygen` class to generate RSA public keys
      in openssh format for specs:
      
      In gitlab-org/gitlab!77424,
      gitlab-org/gitlab!78532
      we started using `ssh_data` gem instead of `net-ssh`, `sshkey`,
      `net-ssh`, `ed25519`, `bcrypt_pbkdf`, and `SSHKeygen`-class.
      
      We can remove `Spec::Support::Helpers::KeyGeneratorHelper`
      in favor of `ssh_data` gem too.
      Verified
      20f60014
  6. Feb 03, 2022
  7. Jun 15, 2020
  8. Jul 26, 2019
  9. Feb 16, 2018
  10. Feb 15, 2018
  11. Feb 12, 2018
  12. Feb 01, 2018
  13. Jan 17, 2018
  14. Jan 03, 2018
  15. Dec 14, 2017
  16. Sep 04, 2017
  17. Aug 30, 2017
  18. Jun 02, 2017
  19. Apr 05, 2017
  20. Feb 13, 2017
  21. Mar 04, 2016
Loading