Omit MD5 fingerprints in deploy key API response
In FIPS mode, MD5 fingerprints are not generated, but the SHA256 versions are available. Adjust the API entity to export the SHA256 fingerprint and schema to ensure that the SHA256 value is available. Update deploy keys API docs to reflect this. Include `fingerprint` and `fingerprint_sha256` where the fields were missing before. Add a note about FIPS behavior. Relates to https://gitlab.com/gitlab-org/gitlab/-/issues/364562 Changelog: changed
显示
- doc/api/deploy_keys.md 29 个添加, 13 个删除doc/api/deploy_keys.md
- lib/api/entities/deploy_key.rb 2 个添加, 1 个删除lib/api/entities/deploy_key.rb
- spec/fixtures/api/schemas/public_api/v4/deploy_key.json 2 个添加, 1 个删除spec/fixtures/api/schemas/public_api/v4/deploy_key.json
- spec/lib/api/entities/deploy_key_spec.rb 8 个添加, 1 个删除spec/lib/api/entities/deploy_key_spec.rb
加载中
想要评论请 注册 或 登录