ssh-sync icon indicating copy to clipboard operation
ssh-sync copied to clipboard

Delete/upload/download specific keys or config entries

Open therealpaulgg opened this issue 2 years ago • 4 comments

therealpaulgg avatar Apr 26 '23 22:04 therealpaulgg

This is really a 'nice to have', not really necessary for v1 release.

therealpaulgg avatar Mar 20 '24 17:03 therealpaulgg

It turns out it would be quite nice to have this.

I accidentally added a .duplicate file to my actual ssh-sync store, and I can't get rid of it.

Also we should implement a bug fix for the following situation:

  • I have a key named bob
  • I save a file bob.duplicate
  • I upload - this uploads bob and bob.duplicate

This'll create a problem when having to create another bob.duplicate

A simple fix could be, ssh-sync just never ever uploads .duplicate files. But in the event it does, we should handle that scenario and append some sort of character.

But - now that I'm in this state, I would love to be able to delete a specific entry from my keystore.

Perhaps a TUI to explore the keys...that would be really cool

therealpaulgg avatar Apr 03 '24 09:04 therealpaulgg

This will require additional endpoints in ssh-sync-server.

therealpaulgg avatar Apr 03 '24 09:04 therealpaulgg

The delete portion of key management is complete.

Next task:

As a user,

I want to be able to delete configuration entries from the configuration store, so that I may have further control over my configuration.

therealpaulgg avatar Nov 09 '24 20:11 therealpaulgg