mirror of
https://github.com/therealpaulgg/ssh-sync.git
synced 2026-04-26 16:05:51 +03:00
[PR #75] [MERGED] Add key file date comparison before upload #79
Labels
No labels
ai-generated
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ssh-sync#79
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/therealpaulgg/ssh-sync/pull/75
Author: @therealpaulgg
Created: 1/14/2026
Status: ✅ Merged
Merged: 1/15/2026
Merged by: @therealpaulgg
Base:
main← Head:claude/key-date-comparison-DsQxK📝 Commits (1)
fdca4a1Add date comparison warning for key uploads📊 Changes
3 files changed (+72 additions, -5 deletions)
View changed files
📝
pkg/actions/upload.go(+38 -0)📝
pkg/dto/main.go(+10 -5)📝
pkg/utils/io.go(+24 -0)📄 Description
Implement safety check to prevent accidentally overwriting newer server keys with older local versions during upload. When uploading keys, the client now:
This mirrors the existing conflict detection on the download side and addresses the warning in the README about upload overwriting without checks.
Changes:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.