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

Support for specifying the lifetime with ssh-add #42

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

cargocultprogramming
Copy link
Contributor

This adds the option to add a lifetime argument so that the maximum lifetime of keys can be limited via ssh-add. Branched from #34

@BrechtSerckx
Copy link

What's the status of this?

@cargocultprogramming
Copy link
Contributor Author

What's the status of this?

Moved it forward to master. Works for me.

@JokerQyou
Copy link

Would it be feasible to read timeout value (and other ssh-add option values) from the vault fields of the secure note? For example to add a field with name -t and value 30m, and the script automatically apply the option -t 30m to ssh-add execution. Ideally this means all options supported by ssh-add could be controlled at per-key level.

@cargocultprogramming
Copy link
Contributor Author

Should be possible.

However command line arguments would be an issue. What has precedence? Needs a bit of thought I guess.

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

Successfully merging this pull request may close these issues.

3 participants