ionic-team / ionic-team/ionic-cli

"Pubkey already added to Ionic." treated as OK even when adding from different account

Aberta
#4,286 0 comentários 0 reações 0 responsáveis Ver no GitHub
appflow bug effort: low
Linguagem predominante
TypeScript
Estrelas
2k
Forks
682
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

This is only really an issue for a single person with multiple appflow accounts.

Repro:
1. Log into account A and add an ssh key (`ionic ssh add`)
1. Re-adding it from account A should be OK
1. Log into account B and add the same key
1. Re-adding it from account B should be an error (the "already added" message is incorrect for their account)

https://github.com/ionic-team/ionic-cli/blob/develop/packages/ionic/src/commands/ssh/add.ts#L90

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Start in packages/ionic/src/commands/ssh/add.ts at line 90 and trace how the "Pubkey already added to Ionic" response is handled. Reproduce the account A/account B sequence from the issue; done means re-adding from the owning account remains OK while adding the same key from another account is reported as an error.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
typescript
Domínio
authentication, cli
Tipo de issue
Bug
Dificuldade
2/5
Tempo estimado
1-3 horas
Status de atividade
Estagnada
Clareza
Claramente especificada
Facilidade para iniciantes
55/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.