Skip to content

Support for specifying the lifetime with ssh-add - #42

Open
cargocultprogramming wants to merge 4 commits into
joaojacome:masterfrom
cargocultprogramming:lifetime-orig
Open

Support for specifying the lifetime with ssh-add#42
cargocultprogramming wants to merge 4 commits into
joaojacome:masterfrom
cargocultprogramming:lifetime-orig

Conversation

@cargocultprogramming

Copy link
Copy Markdown
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
Copy Markdown

What's the status of this?

@cargocultprogramming

Copy link
Copy Markdown
Contributor Author

What's the status of this?

Moved it forward to master. Works for me.

@JokerQyou

Copy link
Copy Markdown

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
Copy Markdown
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