Allow users to update their GPG keys.
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=296977) </details> <!--IssueSummary end--> ### Problem to solve GPG keys needs to be updated from time to time: either subkey rotation, key expirations, inclusion of subkeys or uid revocations, etc etc. This is not possible currently, one needs to delete the current key and re-upload it. ### User experience goal The user should be able to update a key currently listed in https://gitlab.com/-/profile/gpg_keys to perform the above actions. ### Proposal Allow to paste in the "Add a GPG key" form a key that is already listed, allowing for its update (perhaps after double-checking with the user). Doing so currently yields the following form error: ``` The form contains the following errors: * Fingerprint has already been taken * Primary keyid has already been taken ```
issue