Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Security improvement: support for Keys Routing [ SOLVED ] #460

Open
ink-splatters opened this issue Mar 22, 2023 · 0 comments
Open

Security improvement: support for Keys Routing [ SOLVED ] #460

ink-splatters opened this issue Mar 22, 2023 · 0 comments

Comments

@ink-splatters
Copy link

ink-splatters commented Mar 22, 2023

Cannot use 2 different keys from Secretive, in the way described below

The issue is SOLVED, @maxgoedjen please mark accordingly if you agree.

The culprits were

  1. related issue: Pubkey files not present after install on 13.1 #440
  2. IdentitiesOnly Yes is mandatory

My current config

% cat ~/.ssh/config 
Host *
	IdentityAgent /home/ic/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/socket.ssh
	IdentityFile /home/ic/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/PublicKeys/cedc8d35d8e6a2bcf6386415ee8a5acc.pub
	
Host myorg.github.com
	HostName github.com
	IdentitiesOnly yes
	IdentityAgent /home/ic/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/socket.ssh
	IdentityFile /home/ic/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/PublicKeys/970808bd9e0cb7ecdcdffb791cf6624e.pub

now those both work:

git clone git@github.com:ink-splatters/lib.sh.git
git clone git@myorg.github.com/my-org-repo.git

Hope it helps someone

@maxgoedjen There should be also duplicate issue: #156 which seems like solvable the same way, please confirm

@ink-splatters ink-splatters changed the title Security improvement: support for Keys Routing [ issue relevance needs to be checked ] Security improvement: support for Keys Routing [ SOLVED ] Mar 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant