ionic-team / ionic-team/ionic-cli

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

Open
#4,286 0 comments 0 reactions 0 assignees View on GitHub
appflow bug effort: low
Dominant language
TypeScript
Stars
2k
Forks
682
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.