Monorepo for Tangled tangled.org
756
fork

Configure Feed

Select the types of activity you want to include in your feed.

cannot authenticate; confusing error message with two accounts sharing the same SSH key pair #178

open opened by containers.tngl.sh

Steps:

  • Create two accounts on tngl
  • Add the same SSH key pair to both accounts
  • Try to access a repo with that SSH key pair

Expected

  • Error or warning explaining the issue "you are authenticating as X not Y"

Actual behavior

  • ""access denied: user not allowed""

duplicate of https://tangled.org/tangled.org/core/issues/257

Yeah we really need to fix that error message (or just allow shared ssh keys imo)

one way forward here is to generate the authorized-keys command differently: we can map each key to a list of DIDs that accept that key, rather than just a single key, and if any of those DIDs pass the push-allowed check, we perform the push.

Yeah that's what I'm thinking of. We can just warn users when they have same ssh key to other account and just allow based on ssh key, not connected user. Maybe show something like "X and Y are using same ssh key" on settings page?

sign up or login to add to the discussion
Labels

None yet.

assignee

None yet.

Participants 3
AT URI
at://did:plc:kn7qek3yfcektmyspqndyorc/sh.tangled.repo.issue/3mfz7m63d7w22