Skip to content

Conversation

@fabiovincenzi
Copy link
Collaborator

This PR adds SSH key management UI to git-proxy. Based on finos#987

Features

Frontend

  • SSH key management section in User profile page
    • Add SSH keys via modal dialog with validation
    • Display keys by SHA-256 fingerprint with name and date
    • Delete keys by fingerprint
  • HTTPS/SSH tabs in clone popup for repository URLs

Backend

Three API endpoints handle SSH key management:

  • GET /api/v1/user/:username/ssh-key-fingerprints → Returns fingerprint metadata (name, fingerprint, addedAt) for the user
  • POST /api/v1/user/:username/ssh-keys → Accepts public key and name, calculates fingerprint server-side
  • DELETE /api/v1/user/:username/ssh-keys/:fingerprint → Removes key identified by fingerprint in URL path

Database

  • Implemented SSH key CRUD operations for both File and MongoDB
  • Added PublicKeyRecord type

CLI

  • Updated ssh-key command to use fingerprint-based deletion
Screenshot 2025-11-06 at 15 56 33 Screenshot 2025-11-06 at 15 58 08 Screenshot 2025-11-06 at 15 58 24 Screenshot 2025-11-06 at 15 58 41 Screenshot 2025-11-06 at 15 59 00

This was referenced Nov 7, 2025
@fabiovincenzi fabiovincenzi linked an issue Nov 7, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feat] Add UI management for public SSH keys

1 participant