aces / cbrain

CBRAIN is a flexible Ruby on Rails framework for accessing and processing of large data on high-performance computing infrastructures.
GNU General Public License v3.0
70 stars 43 forks source link

Changed the main SSH key from RSA to ed25519 #1350

Closed prioux closed 11 months ago

prioux commented 11 months ago

Backwards compatibility is kept by adding the old RSA key to the agent, if it's found. Eventually, operators will want to only use the ed25519 key, they can do so by removing the files.

MontrealSergiy commented 11 months ago

seem ok, but note that agent might be configured to expire (forget) id soon, e.g. with a variable for Ubuntu

SSHAGENTARGS="-t 1h"

Will it be still backward-compatible with such configs?

PS. well, I guess not rsa vs ed legacy specific issues and can be amended with resetting env variables