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

Get public key signed by e.g. Vault? #97

Closed
hazcod opened this issue Jul 29, 2021 · 1 comment
Closed

Get public key signed by e.g. Vault? #97

hazcod opened this issue Jul 29, 2021 · 1 comment

Comments

@hazcod
Copy link

hazcod commented Jul 29, 2021

Hi,

I was reading through your project since I am looking into something comparable for me.
However, in my case the public key needs to be signed by an external party (Hashicorp Vault).
So connecting to a SSH server that requires this requires the private key and the signed public key.
I was wondering how this would work if I adapt your project for this, e.g. adding the fetch signature step.
Would I store the signed public key in a temporary file or keep it in memory? I'm not sure what the purest ssh-agent approach is here, I'm thinking caching it in memory until the lifetime expires.

@FiloSottile
Copy link
Owner

You can use yubikey-agent with an SSH certificate by using the CertificateFile ssh_config option.

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

2 participants