-
Notifications
You must be signed in to change notification settings - Fork 63
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
Specify (non-variable) tempfile name #190
Comments
Hi @OJFord, thanks for using Summon, and thanks for submitting this request! Currently, when Summon returns a filepath, it behaves idempotently. So, if we run a request with I have two questions:
As with many Summon feature requests, we try to be sure that security is at the forefront of the product, and your alternative does seem like a better way to accomplish this request without making Summon itself potentially causing security vulnerabilities. |
Thank you for proposing this feature. I think this is feature would be useful enough Thinking through @BradleyBoutcher 's questions, and to keep the conversation going...
|
cc: @andytinkham |
Just another thought, maybe we could explicitly document that running |
The latter path seems like a better case of failing safe. My initial reaction is that I'd prefer to see us clean up and document parallel execution is not supported rather than leave secrets lying around. |
Hi @OJFord, Your alternative seems to be a good approach and does work in my testing. |
@rpothier I didn't mean my comment in 'Additional context' as a caveat to the 'alternative I had considered' - it was just context for why supplying an environment variable to the target process (e.g. |
Is your feature request related to a problem? Please describe
I would like to be able to specify in my ~/.ssh/config something like:
and have
summon
populate the contents of.identities/foo.example.com
(fromgopass
in my case).Describe the solution you would like
I'm imagining something like:
Describe alternatives you have considered
I suppose:
Additional context
.ssh/config files allow only certain environment variables and only for certain options, so
IdentityFile $FOO
wouldn't work, it would expect a file named literally'$FOO'
.The text was updated successfully, but these errors were encountered: