tea accesses ssh-key even when authenticating with token #510
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
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gitea/tea#510
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?
describe your environment
tea -v
):Version: 0.9.0+2-g6a4ba6a golang: 1.19.1 go-sdk: v0.15.1-0.20220831004139-a0127ed0e7fe
main
,master
, ortrunk
)describe the issue (observed vs expected behaviour)
I executed
ssh-add
before all the following commands, but tea still kept asking me for my SSH key password. This is a bug, or at least, should not happen.I cannot find anything in the bug label. Please notify me if this is a duplicate.
What login method did you configure when adding the login to tea? (ssh-key/cert or token/password?)
If you use the ssh-key login method, the key must also be added to ssh-agent when creating the login (
tea login add
), not only before runningtea repo create
, otherwise tea won't have selected the ssh-agent key.If you use token or password login method and get this error, this is a bug in tea, as it shouldn't try to decrypt the key for this command.
ssh-add
beforetea login add
, buttea repo
list use SSH.Bug: tea is ignoring `ssh-agent`to tea accesses ssh-key even when authenticating with token