miquella / vaulted

Spawning and storage of secure environments
MIT License
254 stars 30 forks source link

Cache generated SSH key for session duration #171

Closed ryan-norton closed 4 years ago

ryan-norton commented 4 years ago

adds session caching for in-memory generated SSH keys

because the user experience is diminished when a generated key rotates every time they open a cached session we should look to cache the generated key with the session so that it only regenerates when the session changes. this also saves time, as the key generation can take a few seconds.