diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2025-01-16 09:23:05 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2025-10-17 12:18:24 +0100 |
| commit | b126e5b7acfce55bd101b06cb5baf7f251cd0fda (patch) | |
| tree | dd3eb721a49496ce2a686a43ce4d007b26ee7d7c /src/lib/git/identify_ahead_behind.rs | |
| parent | 6cb9e1f5071a6dee8f8e5b98c3c2e699cafd2921 (diff) | |
feat!(nostr_url): replace user with ssh_key_file
replaces the "user" in the nostr_url format with
"ssh_key_file", to support the original intent, which was to allow
users to specify different authentication credentials.
most git servers always expect the ssh user to be 'git'.
the idiumatic way of specifying logging in as a different user is to
specify a different ssh key.
the idiomatic way of storing non-default ssh keys is in the location
`~/.ssh/key_name`. "ssh_key_file" can be specified as `key_name`,
for keys in the default location, or as a relative or absolute custom
location eg. `/other_keys/.ssh/nym1` or `../.ssh/nym1`.
BREAKING CHANGE: in nostr git url nym1@ssh/npub123/identifer, nym1 is
now treated as ssh key file location rather than a ssh user. it can
be specified as a file within `~/.ssh` eg `~/.ssh/nym1` or a full or
relative path.
Diffstat (limited to 'src/lib/git/identify_ahead_behind.rs')
0 files changed, 0 insertions, 0 deletions