Can't fetch git remote when ssh enabled & known_hosts is a ssh-ed25519 key #344
Labels
No Label
kind/breaking
kind/bug
kind/build
kind/dependency
kind/deployment
kind/docs
kind
enhancement
kind
feature
kind/proposal
kind
question
kind
refactor
kind/security
kind/testing
kind/translation
priority/critical
priority/high
priority/low
priority/medium
reviewed/duplicate
reviewed/invalid
reviewed/wontfix
skip-changelog
status/blocked
status/has-backport
status/has-pull
status/needs-backport
status/needs-feedback
status/needs-reviews
status/wip
upstream/gitea
upstream/sdk
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gitea/tea#344
Loading…
Reference in New Issue
Block a user
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?
Things like
tea pr checkout <idx>
fail, when SSH is configured, and known_hosts contains a ssh-ed25519 key:That's probably because x/crypto/ssh used by go-git doesn't support ed25519 at all if I remember correctly..
quickfix:
~/.ssh/known_hosts
)Apart from that, when no host key is present at all, tea fails as well:
This could be enhanced but isn't much of an issue, as ssh probably was used for that gitea instance before if we enabled ssh during
tea login add
.according to
1e61df8d9e
this should be supported by x/crypto/ssh. maybe a bug in gogitcan't do git operations, when ssh enabled & known_hosts contains a ssh-ed25519 keyto Can't fetch git remote when ssh enabled & known_hosts is a ssh-ed25519 key