3 ms·
Some people move private keys. You shouldn't, but people do. And so they expect that an encrypted private key file from their brand new Mac will work when paste
by tialaramex 8y ago
Some people move private keys. You shouldn't, but people do. And so they expect that an encrypted private key file from their brand new Mac will work when pasted into a five year old CentOS install.
- simias 8y agoSeems like simply issuing a warning on key creation "this key uses a newer, safer encryption scheme but as a result might not be directly portable to older versions of openssh, if that's an issue use <someflag> to use the older, weaker scheme instead" would probably solve the problem in 99% of the cases. After a few years you might remove the warning and move on. For this type of applications security should trump backward compatibility, especially when in this case the breakage is fairly limited and easy to work around.