Skip to content

Use `GpgKeys::DestroyService` when a user deletes a GPG keys for themselves via API

Rajendra Kadam requested to merge raju249/gitlab:services-usage-8 into master

What does this MR do?

Contributes to #220127 (closed)

This change is tech debt fix and uses GpgKeys::DestroyService, so that wherever GPG keys are deleted across the codebase, we use this service.

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Rajendra Kadam

Merge request reports