News for hackers. Stuff that matters.
Re:Timeline to remove DSA support in OpenSSH by rwmj on Thursday January 11, 2024 @08:42AM (#38952055)
Don't remove it, add a "--yes-I-really-want-to-use-DSA" option. We sometimes have to connect to older systems that use insecure keys, and no those systems cannot be fixed (old network hardware, doing V2V conversions from old RHEL, etc)
Re:Timeline to remove DSA support in OpenSSH by throw0101d on Thursday January 11, 2024 @08:45AM (#38952075)

    * What if I have devices that only support DSA?

    Removing DSA from OpenSSH will not remove endpoints that require DSA
    from the world and users may still need to connect to them. Although
    new releases of OpenSSH will no longer support DSA, past releases and
    alternate SSH implementations will continue to do so.

    We recommend that users with an ongoing need to connect to DSA-only
    endpoints maintain a legacy release of an OpenSSH client for this
    purpose, similar to what was recommended when support for the SSHv1
    protocol was removed.

    For example, Debian maintains a "openssh-client-ssh1" package built
    from OpenSSH 7.5 for the purpose of connecting to SSHv1 endpoints.
    This package or something similar is likely to be sufficient for
    DSA-only endpoints too.
Re:Timeline to remove DSA support in OpenSSH by Sesse__ on Thursday January 11, 2024 @11:18AM (#38954268)
So basically, the recommended solution is “instead of us maintaining DSA support, everybody should maintain their own fork of an old OpenSSH version”?
Re:Timeline to remove DSA support in OpenSSH by crote on Thursday January 11, 2024 @11:36AM (#38954553)
Nah, it simply won't be maintained by anyone - just like the gear still requiring DSA. Nobody is going to stop you from using the last DSA-included OpenSSH build for the next few decades, just don't expect any updates.
Re:Timeline to remove DSA support in OpenSSH by Macha on Thursday January 11, 2024 @12:10PM (#38955134)
So the people providing software for free should support things indefinitely because the people you've paid money for those things won't?
Re:Timeline to remove DSA support in OpenSSH by Sesse__ on Thursday January 11, 2024 @12:25PM (#38955413)
Well, they are seemingly explicitly calling out Debian as your new favorite place for SSHv1 support :-) Who are no more paid than they are.
Re:Timeline to remove DSA support in OpenSSH by lilyball on Thursday January 11, 2024 @07:48PM (#38961946)
I imagine the "people you've paid money" refers to the vendors of the old hardware that requires DSA.
Re:Timeline to remove DSA support in OpenSSH by lnxg33k1 on Thursday January 11, 2024 @12:50PM (#38955801)
Oh this is beautiful and perfect, couldn’t have said it better, people are so awesome in their entitlement
Re:Timeline to remove DSA support in OpenSSH by mynameisvlad on Thursday January 11, 2024 @11:36AM (#38954537)
DSA support isn’t free. It requires maintenance. We aren’t entitled to lifetime support.
Re:Timeline to remove DSA support in OpenSSH by pkaye on Thursday January 11, 2024 @03:37PM (#38958654)
Is there active work being done on the DSA code recently?
Re:Timeline to remove DSA support in OpenSSH by timv on Thursday January 11, 2024 @09:58PM (#38963106)
The main source code for DSA is here

https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/ss...

You can see that the team did a big refactor of key handling about 14 months ago that required multiple rounds changes to the DSA code.

That's the sort of cost that legacy code brings - it's not about make changing to the DSA feature, it's about the cost of maintaining the DSA code when you make changes across the codebase.

In the original mail, DJM mentions that they'd like to explore a post-quantum signature algorithm. Adding that to the codebase is likely to require some broad changes to key management, and that will be less work if there are fewer supported key types.

Re:Timeline to remove DSA support in OpenSSH by morelisp on Thursday January 11, 2024 @11:33AM (#38954501)
Not "everybody", just "not us".
Re:Timeline to remove DSA support in OpenSSH by nayuki on Thursday January 11, 2024 @12:21PM (#38955317)
I mean that's the deal you enter into with open-source software. In exchange for having full access to the source code for free, you should have no expectations of entitlement of new features or continued support from upstream.
Re:Timeline to remove DSA support in OpenSSH by quickthrowman on Thursday January 11, 2024 @11:44AM (#38954679)
Probably not since replacing the ancient equipment only capable of DSA is likely cheaper than maintaining an OpenSSH fork.

I’m going to assume that the hardware that supports DSA only has long been abandoned by its manufacturer.

Re:Timeline to remove DSA support in OpenSSH by womod on Thursday January 11, 2024 @04:22PM (#38959278)
You'd be suprised, the shear amount of black box vendor nonsense out there borders on astronomical. Weird telco stuff, old cisco hardware, BMCs in servers, it would mean gutting probably millions of dollars of equiment. It's stupid, but throwing the baby out with the bathwater over openssh won't make anyone happy.
Re:Timeline to remove DSA support in OpenSSH by quickthrowman on Thursday January 11, 2024 @06:33PM (#38961153)
Some day that stuff is going to unexpectedly break and cause more problems. There are two choices; pain now when you have a chance to plan, or more pain later when you’re forced to react.
Re:Timeline to remove DSA support in OpenSSH by extinctpotato on Thursday January 11, 2024 @11:32AM (#38954477)
Yes.
Re:Timeline to remove DSA support in OpenSSH by caboteria on Thursday January 11, 2024 @11:32AM (#38954487)
Re:Timeline to remove DSA support in OpenSSH by halJordan on Thursday January 11, 2024 @12:54PM (#38955885)
If you have no problem using an obviated algorithm why is there suddenly a problem using an obviated ssh? These complaints almost beggar belief.
Re:Timeline to remove DSA support in OpenSSH by Jenda_ on Friday January 12, 2024 @07:11AM (#38967151)
Because the old algorithm only endangers the communication and the remote device (and this may even not be the case, as such an old device should not be exposed to the world), while the old client may compromise security of the local computer. (fortunately, bugs in SSH client are uncommon; with e.g. browsers it's a different story)

Of course a reasonable solutions would be to run it in some sandbox/VM.

Additionally, the old client will be difficult to use in a current OS because of library and general system incompatibility (Debian with openssh-client-ssh1 is a rare exception, and it's just a command-line ssh, not the library mentioned in https://news.ycombinator.com/item?id=38963372).

Re:Timeline to remove DSA support in OpenSSH by kelnos on Thursday January 11, 2024 @01:26PM (#38956425)
More or less, yes. You get OpenSSH for free; you are not paying for it, and not paying to support its development. Critically, you are not paying for its developers to support old, obsolete, broken cryptography. Keeping DSA would be an added maintenance burden that the OpenSSH team just isn't prepared to continue taking on.

If there's a wide need for it, hopefully everybody won't maintain their own fork; all that's necessary is people band together and maintain a single fork.

Re:Timeline to remove DSA support in OpenSSH by Panino on Thursday January 11, 2024 @01:45PM (#38956787)
I started using OpenSSH in OpenBSD 2.6, released in 1999, and I don't believe I've ever even used a DSA key. Here's a quote from the release notes of OpenSSH 1.2.3, released March 6, 2000:

"Any user can create any number of user authentication RSA keys for his/her own use. Each user has a file which lists the RSA public keys for which proof of possession of the corresponding private key is accepted as authentication. User authentication keys are typically 1024 bits."

ECDSA key authentication was added in OpenSSH 5.7, released in January 2011:

https://www.openssh.com/txt/release-5.7

Ed25519 key authentication was added in OpenSSH 6.5, released in January 2014:

https://www.openssh.com/txt/release-6.5

And RSA support has been around since the beginning.

I think the overlap between "must use DSA keys" and "uses modern OpenSSH" is practically zero, and the level of pushback in this thread doesn't correspond to reality.

Re:Timeline to remove DSA support in OpenSSH by 127361 on Thursday January 11, 2024 @03:22PM (#38958439)
Or just not upgrading the entire operating system, say for example in an industrial control system. Because we find that this old version of SSH no longer compiles on modern operating systems. Thus making the whole system more vulnerable, so that it can keep communicating with some 10-year old device that cannot be easily replaced.

Again, air-gapping and limiting the physical extent of the network to the room or building would provide significant protection against attacks here.

Re:Timeline to remove DSA support in OpenSSH by chasil on Thursday January 11, 2024 @04:13PM (#38959162)
You could alternately install alternate SSH clients (non-OpenSSH) for this purpose.

  $ rpm -qi putty | tail -1
  Putty is a SSH, Telnet & Rlogin client - this time for Linux.

  $ rpm -qi dropbear | tail -2
  Dropbear is a relatively small SSH server and client. It's particularly useful
  for "embedded"-type Linux (or other Unix) systems, such as wireless routers.
The focus for SSH is safety. These others shift more to broad compatibility; I do wish they would throw warnings for weak ciphers.
Re:Timeline to remove DSA support in OpenSSH by throw0101d on Thursday January 11, 2024 @06:14PM (#38960923)
> […] “instead of us maintaining DSA support, everybody should maintain their own fork of an old OpenSSH version”?

"Instead of of us maintaining DSA for a smaller and smaller population, that small/shrinking population should take some responsibility on themselves."

Re:Timeline to remove DSA support in OpenSSH by anfogoat on Thursday January 11, 2024 @01:35PM (#38956575)
> ...past releases and alternate SSH implementations...

Absolutely not faulting the devs in any way for wanting to rid themselves of having to maintain the DSA bits, but this idea of "just" using past releases seems theoretical. I'd be surprised if I managed to compile an OpenSSH release from even just a couple of years ago. There'd be some glibc incompatibility or something equally gnarly.

Re:Timeline to remove DSA support in OpenSSH by throw0101d on Thursday January 11, 2024 @01:42PM (#38956712)
> […] but this idea of "just" using past releases seems theoretical.

* https://packages.debian.org/search?keywords=openssh-client-s...

Re:Timeline to remove DSA support in OpenSSH by rsaxvc on Thursday January 11, 2024 @01:39PM (#38956639)
You can use a Windows build on wine.
Re:Timeline to remove DSA support in OpenSSH by Hizonner on Thursday January 11, 2024 @10:41AM (#38953700)
I don't think I've ever seen an actual DSA key in use in SSH, and I was using it before there was an RFC. Even the oldest actual deployments tended to ignore the patent and use RSA.

> systems cannot be fixed (old network hardware, doing V2V conversions from old RHEL, etc)

If you can't update a system, you have no business exposing it to a network. Full stop.

Re:Timeline to remove DSA support in OpenSSH by o11c on Thursday January 11, 2024 @11:32AM (#38954488)
When I got into Linux around 2010 there was something that encouraged me to make a DSA key instead of an RSA one ...
Re:Timeline to remove DSA support in OpenSSH by Piskvorrr on Thursday January 11, 2024 @01:03PM (#38956030)
Encouraged, sure. Last time I saw something that actually required DSA, it was literally decades old, and that encounter didn't happen in this decade either. I do have some tools for ancient machines, such as with SSHv1 support, but it's more akin to archeology than access to working machines.
Re:Timeline to remove DSA support in OpenSSH by Macha on Thursday January 11, 2024 @12:16PM (#38955245)
Arch Wiki was still recommending dsa around that time: https://wiki.archlinux.org/index.php?title=SSH_keys&oldid=66...
Re:Timeline to remove DSA support in OpenSSH by dharmab on Friday January 12, 2024 @01:47PM (#38972170)
There was a lot of suspect advice on the TLS and SSH pages. I did a pass a couple of years ago, updating the recommendation to EC keys if possible and RSA otherwise, with links to relevant academic sources.
Re:Timeline to remove DSA support in OpenSSH by arisudesu on Thursday January 11, 2024 @11:36AM (#38954548)
Don't confuse the Internet and networks please. Older machines are completely fine to be used in private firewall-protected networks, as long as they're facing only LAN. SSH still be required to access them.
Re:Timeline to remove DSA support in OpenSSH by rho138 on Thursday January 11, 2024 @12:02PM (#38955002)
They’re the perfect target to hit when looking to pivot across/through a network though. Not to mention the risk of being hit during a ransomware event. Keeping around legacy hardware/software is the pinnacle of fuck around and find out.
Re:Timeline to remove DSA support in OpenSSH by mynameisnoone on Thursday January 11, 2024 @12:13PM (#38955192)
You're offering hypothetical, worst-case whataboutisms. In the real world, any shop that isn't stupid will use defense-in-depth to protect the unupgradable bits.
Re:Timeline to remove DSA support in OpenSSH by afavour on Thursday January 11, 2024 @12:16PM (#38955237)
> You're offering hypothetical, worst-case whataboutisms

Otherwise known as “security”, yes

Re:Timeline to remove DSA support in OpenSSH by mynameisnoone on Thursday January 11, 2024 @12:22PM (#38955357)
Whatever. Imaginary paranoia strawman that is the wrong kind of paranoia: the unactionable, ego-based kind. You completely ignored defense-in-depth approaches like airgapped systems and adding additional layers and protections to mitigate your hypothetical non sequitur. If you fail at these then you don't actually understand security and are just arguing without a leg to stand on.
Re:Timeline to remove DSA support in OpenSSH by afavour on Thursday January 11, 2024 @12:33PM (#38955533)
Your attitude here is confusingly hostile.

But sure! If I have a server I currently use OpenSSH to connect then I certainly _could_ airgap the machine and require anyone using it to be in physical proximity to it. But don't you think that might be unrealistic in the vast majority of scenarios?

Re:Timeline to remove DSA support in OpenSSH by kelnos on Thursday January 11, 2024 @01:30PM (#38956483)
If you have a server that you can't secure properly because it only supports obsolete, known-broken cryptography, then yes, absolutely, you should airgap it or find some other way to protect it.

Or you could... not do that... and expect to be hacked, over and over.

Re:Timeline to remove DSA support in OpenSSH by anonymousiam on Thursday January 11, 2024 @01:01PM (#38955996)
But the airgap scenarios are very real, and they make it more difficult to just go online and grab an old ssh client that will do the job.

It seems that the argument for removing support for the old algorithms involves the need to maintain them in the new releases. This only becomes a problem if/when the code and/or regression testing is refactored. So eventually the effort required to remove support becomes less than the effort needed to continually support the old algorithms.

The OpenSSH maintainers can of course do anything they like, but removing support for legacy algorithms is basically passing the problem down to (probably less capable) users who are stuck without the ability to connect to their legacy systems.

Re:Timeline to remove DSA support in OpenSSH by Piskvorrr on Thursday January 11, 2024 @01:14PM (#38956206)
You do recall that the source control doesn't disappear, even after support is pulled? I've built ancient versions (specifically in case of SSH, to get arcfour for whatever convoluted system); this wasn't a simple operation, but feasible, even for someone with just a general knowledge of SSH and its build toolchain.

Maintaining code also takes time and effort: smaller codebase, effort better spent. If it's too costly to just keep an ancient version of ssh around, and even too costly to pay someone to do that for you, how's it suddenly NOT too costly for the maintainers? If you're going to the lengths of having a special airgapped network of legacy systems, how do you NOT have the tools to use with those systems?

Re:Timeline to remove DSA support in OpenSSH by anonymousiam on Thursday January 11, 2024 @01:22PM (#38956354)
I think you missed my remark about the inability to pull an old version from within an airgapped environment. It's usually still possible, but the level of difficulty can vary depending upon security requirements. Imagine a security officer refusing to approve the introduction of an older and insecure program into a secure environment.
Re:Timeline to remove DSA support in OpenSSH by Symbiote on Thursday January 11, 2024 @03:21PM (#38958406)
Assuming the airgapped systems are currently working, nothing will stop them working as they are in the future.

It's already insecure, so don't update.

Re:Timeline to remove DSA support in OpenSSH by anonymousiam on Thursday January 11, 2024 @10:11PM (#38963194)
I think that you are making a lot of assumptions about the purpose of airgapped systems. Why would you assume that no changes or development work occurs? In my experience, there are often legacy components that are a critical part of a larger system. Also, in my experience, such environments are often segregated into smaller enclaves. Some of those may have the most up-to-date tools available.
Re:Timeline to remove DSA support in OpenSSH by Piskvorrr on Thursday January 11, 2024 @01:32PM (#38956526)
I very much did not miss that: "how do you NOT have the tools to use with those systems?"

The hypotetical airgapped secure environment, running an old version of SSH (which only supports DSA) has no requirements for a SSH client, just "eh, just bring whichever openssh that you happen to have, and let's assume it works"? That's a failure to plan: if your network is airgapped, you can't expect to have client software in compatible versions appear out of thin ether.

Re:Timeline to remove DSA support in OpenSSH by anonymousiam on Thursday January 11, 2024 @10:39PM (#38963372)
I appreciate that you're trying to drill down and improve your understanding of such environments, which you obviously do not have much knowledge of. I'm limited in how much specific information I can disclose, but I'm certain that I'm not the only one who has worked in these environments and faced these challenges.

Here's a hypothetical example of a situation closely matching some of my experiences: A long-term support contract exists for some legacy system that cannot be updated because it is under configuration control. The contract involves peripheral development activities, which are best done with the most modern tools available. The whole environment is airgapped, and has security protocols that require security updates to the peripheral development systems, and these are done under a strict and bureaucratic review process. The legacy system interoperates with the development system via a single network connection, which is monitored by a separate entity. (The system is airgapped, but is part of a larger airgapped network, and is protected from unauthorized access even within the airgapped environment.) So you've got a new environment talking to a legacy environment via SSH, and they need to share a common security algorithm. If a new development environment is spun up, and its SSH client does not support the legacy algorithm, then a long and complex delay occurs in which multi-level approvals are required from bureaucrats who are generally not qualified to understand the problem, and are thus inclined to deny approval, to introduce the legacy SSH client software, which will be compared with the modern SSH client for any change history related to security issues, which would include the deletion of these security algorithms. The legacy SSH client would be assumed to be a security risk by the ignorant bureaucrats, and a months-to-years-long process ensues to convince them otherwise.

Re:Timeline to remove DSA support in OpenSSH by Piskvorrr on Friday January 12, 2024 @12:11PM (#38970778)
So, this essentially boils down to "someone else, ANYONE not me, should simplify the bureaucratic process for me (because there's the actual issue), and I've picked OpenSSH maintainers for the job. Oh, and for free, too."

You're not expecting the toolchain to appear out of thin ether, that was my misunderstanding: you fully expect volunteers to provide you with it for free, for your highly specific situation; in return, you offer...nothing? That's not a very enticing trade.

I sense there may be other ways around this, but those would a) cost you (in a broad sense; after all, the infrastructure is supposedly critical) money, and/or b) cost you (perhaps in a stricter sense) time, effort, perhaps influence. I agree that's rather inconvenient, given the alternative.

Re:Timeline to remove DSA support in OpenSSH by anonymousiam on Friday January 12, 2024 @04:55PM (#38974653)
Personally, I'm able to do what is needed to make things work. My whole point was that by pushing the work from the OpenSSH dev team to downstream, the sum total of work will increase.
Re:Timeline to remove DSA support in OpenSSH by mynameisnoone on Thursday January 11, 2024 @04:49PM (#38959681)
> Otherwise known as “security”, yes

Content-free, arrogant, hostile quip that you chose to start.

> Your attitude here is confusingly hostile.

I don't know, perhaps it's you who is projecting and has the problem.

Have a nice day and a happy new year. :]

Re:Timeline to remove DSA support in OpenSSH by faeriechangling on Thursday January 11, 2024 @01:00PM (#38955987)
Security is about risk profiling and making good tradeoffs between things like cost, convenience, timeliness, and confidentiality/integrity/availability. All computer security is basically futile because in the face of a sufficiently motivated attacker, so chasing perfection is wasting your time.

If you're doing home security, you don't use armed guards and reinforced steel doors, with the defense of depth of an extra-secure bulletproof safe room, because the security would cost more than the value it provides. You might use a good deadbolt though.

The same goes for computer security. In combination with certain security approaches like air gapping, a technically insecure out of band management network can quickly become a dramatically less plausible means of being exploited compared to say - unsexy things like email phishing attacks. So replacing all your servers with ones with supported out of band management systems can simply not be a reasonable priority to have.

Re:Timeline to remove DSA support in OpenSSH by 127361 on Thursday January 11, 2024 @03:27PM (#38958520)
Instead we'll have the company going bust for constantly having to replace critical machinery in the name of "security". Sometimes it is necessary to keep old equipment around and it can be secured using physical methods (an air-gap).
Re:Timeline to remove DSA support in OpenSSH by autoexec on Thursday January 11, 2024 @12:17PM (#38955257)
Old outdated versions of OpenSSH are are also fine to use in private protected environments where security isn't a concern so there's not much problem
Re:Timeline to remove DSA support in OpenSSH by mynameisnoone on Thursday January 11, 2024 @12:09PM (#38955116)
Exactly. There are untold 10's to 100's of millions of critical infrastructure systems that cannot be upgraded containing insecure and horrible SSH implementations. Defense-in-depth by layers of other security measures and isolation permits them to be reasonably secure for their use prior to lifecycle replacement where possible.

Furthermore, no one should place remote access servers on the internet and should instead place them on a private, internal network behind an infrastructure VPN-jumpbox such as OpenVPN or Wireguard.

Only a few extremist developers in control of all of their own software and who don't have to interact with anything in the real world can maintain the idealistic purity to forever run only the latest version of everything.

Re:Timeline to remove DSA support in OpenSSH by afavour on Thursday January 11, 2024 @12:12PM (#38955178)
> idealistic purity to forever run only the latest version of everything

But the OpenSSH devs are specifically saying “just use the old version if you need this”?

Re:Timeline to remove DSA support in OpenSSH by mynameisnoone on Thursday January 11, 2024 @12:16PM (#38955242)
You're sweeping several huge assumptions under the rug. While it might work for the moment incidentally but it isn't a long-term solution.
Re:Timeline to remove DSA support in OpenSSH by afavour on Thursday January 11, 2024 @12:22PM (#38955340)
It seems only fair to me that if someone is insisting that they must connect to ancient systems that they should be expected to use only-slightly ancient software to do so. Or fork it, of course. If the team doesn’t want to be responsible for maintenance you’re welcome to take it on.
Re:Timeline to remove DSA support in OpenSSH by chlorion on Thursday January 11, 2024 @01:42PM (#38956705)
I'm not sure that I understand this.

The openssh developers supporting outdated systems and software forever also isn't a long term solution. Why should they pay this cost, but not you (or your company)?

If you can keep unsupported hardware in operation, why can't you keep a containerized openssh image around, or maybe a VM image, or ideally a statically linked executable?

Maybe your company can hire an expert in software archival to set this up and maintain it if needed, or an extra developer to maintain an openssh fork that supports your environment.

Expecting other people (who you don't even pay) to support your outdated systems doesn't really make sense.

Re:Timeline to remove DSA support in OpenSSH by justsomehnguy on Thursday January 11, 2024 @12:15PM (#38955230)
> If you can't update a system, you have no business exposing it to a network. Full stop.

Ah, another i-know-better tells everyone how to do the things.

Okay, I cut the CAT5 cable with a wire cutter with nonconductive grips (shoulda be safe!), you don't whine what you can't access your mortage/medical history/whatever else thing and should physically be present at the facility to receive the documents.

Deal?

Re:Timeline to remove DSA support in OpenSSH by cogman10 on Thursday January 11, 2024 @12:30PM (#38955487)
Deal, Because I don't want my mortgage, medical history, and other important and sensitive documents exposed to the internet by companies that can't be bothered to secure their systems.

The alternative is these systems never get updated until the next big "welp, the private information of 10 million people just got leaked to the open web". For example, equifax.

Re:Timeline to remove DSA support in OpenSSH by justsomehnguy on Thursday January 11, 2024 @02:48PM (#38957869)
The sibling thread is for you.
Re:Timeline to remove DSA support in OpenSSH by 127361 on Thursday January 11, 2024 @03:11PM (#38958272)
> If you can't update a system, you have no business exposing it to a network. Full stop.

What about isolated networks, a single Ethernet switch for example, used for industrial automation? We can't keep replacing equipment every 5 years because they keep changing crypto protocols.

Many industrial networking protocols have no security at all. No encryption. Not even a password. They achieve their security by being disconnected from the outside world, constrained to a single room or building. If an attacker can get physical access to the wires, then we have a lot more to worry about than network security.

Re:Timeline to remove DSA support in OpenSSH by xoa on Thursday January 11, 2024 @05:22PM (#38960213)
In this case though literally what are you even complaining about? If it's physically isolated so you don't need to update the old hardware, then you don't need to update OpenSSH either. Right? You can just leave whatever terminal you use right now on whatever it runs right now forever.

That's the basic discontinuity here. The reason one would want to keep OpenSSH updated and continuing to receive development work is for use in a networked environment without full physical security from the world. If you have something stuck on DSA it shouldn't have any exposure to the world. So there's no problem here. At the very least one could softgap with old-ssh-in-VM that is completely restricted in what it can access.

Re:Timeline to remove DSA support in OpenSSH by 127361 on Thursday January 11, 2024 @05:34PM (#38960377)
Sorry, I likely screwed up my reasoning in that comment, I was under a lot of pressure at the time. The option to delete my post is gone, so I can't remove it.
Re:Timeline to remove DSA support in OpenSSH by shawnz on Thursday January 11, 2024 @12:06PM (#38955066)
It's already disabled by default, which is basically what you are asking for. However, disabling it by default doesn't solve the problem of the maintenance burden. That's what this change is meant to solve:

> [...] we no longer consider the costs of maintaining DSA in OpenSSH to be justified.

Re:Timeline to remove DSA support in OpenSSH by V-eHGsd_ on Thursday January 11, 2024 @12:17PM (#38955267)
exactly. and if the added burden of having to maintain (or more likely, just download) a version of ssh that supports dsa means that some piece of legacy hardware is no longer cost effective, then it's probably time to upgrade that legacy hardware.

and you (the general you) should probably be thanking the openssh folks for all the work they've done for the last 8+ years keeping the dsa code around which allowed you (the general you) to externalize that cost.

Re:Timeline to remove DSA support in OpenSSH by csdreamer7 on Thursday January 11, 2024 @08:53AM (#38952162)
They said it has been disabled by default for years. There is a cost to maintaining it and a security risk for untested code. I agree with this removal.

> those systems cannot be fixed (old network hardware, doing V2V conversions from old RHEL, etc)

How old are these old systems? V2V conversions? What version of RHEL?

Re:Timeline to remove DSA support in OpenSSH by Arnt on Thursday January 11, 2024 @09:03AM (#38952266)
I tried to look for active DSA keys now, and didn't see anything but don't feel confident that there are in fact none.

Hmm.

Re:Timeline to remove DSA support in OpenSSH by SoftTalker on Thursday January 11, 2024 @09:18AM (#38952465)
Yeah old switches, BMCs, and other embedded SSH servers often use it. Really that stuff is too old to be using in a production environment but sometimes reality is different.

Keep an older release of openssh if you need it for those. No sense keeping obsolete code for obsolete use cases in the codebase, it's a maintenance an testing headache and a security risk.

Re:Timeline to remove DSA support in OpenSSH by Arnt on Thursday January 11, 2024 @09:39AM (#38952736)
I don't want to be nervous about whether I need it, I'd prefer an alert when it's used, turned on by default for a year.
Re:Timeline to remove DSA support in OpenSSH by roblabla on Thursday January 11, 2024 @09:46AM (#38952830)
It's been disabled by default since 2015 - you need to enable support for them in the config file, otherwise the client will error out. In other words, if you don't have the following line in your ~/.ssh/config, you're fine:

PubkeyAcceptedKeyTypes=+ssh-dss

Re:Timeline to remove DSA support in OpenSSH by Arnt on Thursday January 11, 2024 @12:55PM (#38955905)
That's great. Do you know what happens when an old unattended client with an old old key connects to a new server?
Re:Timeline to remove DSA support in OpenSSH by Symbiote on Thursday January 11, 2024 @03:24PM (#38958459)
The same as happened last year, and will happen next year, since your old client isn't being updated.
Re:Timeline to remove DSA support in OpenSSH by Arnt on Friday January 12, 2024 @03:07AM (#38965401)
So it's only being ditched from the clients, not the servers? I'm happy to hear that.
Re:Timeline to remove DSA support in OpenSSH by Symbiote on Friday January 12, 2024 @06:09AM (#38966649)
Assuming you haven't edited it, I misread your comment and my reply is probably incorrect.

You presumably have a configuration option allowing the old encryption in your server configuration, which is your warning that you're running a legacy system.

Re:Timeline to remove DSA support in OpenSSH by harshreality on Thursday January 11, 2024 @11:21AM (#38954312)
Couldn't you grab an old distro image (or livecd), install/run it in a VM, and use that? Archive.org even has an iso of redhat 6.2. :)
Re:Timeline to remove DSA support in OpenSSH by laserbeam on Thursday January 11, 2024 @10:56AM (#38953950)
Write a guide for how to obtain and install an old version of openssh for that usecase. Make it available within your org. Problem solved.
Re:Timeline to remove DSA support in OpenSSH by Lord_Zero on Thursday January 11, 2024 @11:18AM (#38954270)
Use an older version of OpenSSH then.
Re:Timeline to remove DSA support in OpenSSH by dehrmann on Thursday January 11, 2024 @12:42PM (#38955689)
Do they support telnet?
Re:Timeline to remove DSA support in OpenSSH by mschuster91 on Thursday January 11, 2024 @08:48AM (#38952109)
> We sometimes have to connect to older systems that use insecure keys, and no those systems cannot be fixed

At least there's now a way to tell management "hey, there is no choice, <thing> must be replaced because we literally won't be able to connect to it any more".

Re:Timeline to remove DSA support in OpenSSH by patrakov on Thursday January 11, 2024 @08:58AM (#38952215)
Evil manager from hell: nope, you can still reconfigure the <thing> to use telnet. At least it would be then plain obvious that there is no security, instead of the current security theater with DSA.
Re:Timeline to remove DSA support in OpenSSH by throw0101d on Thursday January 11, 2024 @09:12AM (#38952366)
> Evil manager from hell: nope, you can still reconfigure the <thing> to use telnet.

Possible reply for some folks: our cyber-insurance mandates encryption for all logins.

Re:Timeline to remove DSA support in OpenSSH by midasuni on Thursday January 11, 2024 @09:27AM (#38952585)
Telnet uses double rot 13 encryption.
Re:Timeline to remove DSA support in OpenSSH by acdha on Thursday January 11, 2024 @10:40AM (#38953678)
The grind of audit requirements tends to mean those managers are a lot more willing to do the right thing now – it’s less risk than putting your name in writing on the thing which the auditors / insurance company will be using to fail you.
Re:Timeline to remove DSA support in OpenSSH by crote on Thursday January 11, 2024 @11:39AM (#38954595)
I don't think anything using SHA-1 for security is going to pass an audit anyways...
Re:Timeline to remove DSA support in OpenSSH by acdha on Thursday January 11, 2024 @12:21PM (#38955318)
Yes, or telnet. My point was that it used to be that random acts of management/ BOFH were more common because they could play politics out of consequences; now that lots of people have insurance or regulatory checks, that’s harder to do. That paperwork might not be the most efficient way to do it but it does at least produce a slow grind forcing the business people to pay attention to problems they used to ignore.
Re:Timeline to remove DSA support in OpenSSH by robertlagrant on Thursday January 11, 2024 @09:21AM (#38952490)
Or just use an existing version of OpenSSL. They aren't sending a terminator back in time to purge DSA support from all of time.
Re:Timeline to remove DSA support in OpenSSH by oynqr on Thursday January 11, 2024 @10:25AM (#38953459)
That would be a better timeline than this one.
Re:Timeline to remove DSA support in OpenSSH by _jal on Thursday January 11, 2024 @10:43AM (#38953727)
Worse that old network gear is technically incompetent business partners.

Speaking in very general terms, let's just say that we've had to maintain an extremely locked down machine running a version of sshd from about a decade ago hosted in its own DMZ, all for one particular partner. It is monitored for everything we can think of, and I still find myself stressing about possible ways someone could escape from that machine - I'm mostly surprised we haven't been attacked through them yet.

Their problem is they bought proprietary software that's no longer supported, and look at it as a one-time purchase rather than a forward commitment. Our problem is the nontechnical relationship is important and we can't cut them off.

Re:Timeline to remove DSA support in OpenSSH by freedomben on Thursday January 11, 2024 @11:17AM (#38954241)
Indeed. I can't imagine what it's going to be like 10 years from now when the mountain of SaaS offerings start disappearing and there'se zero options to "run it a little longer"
Re:Timeline to remove DSA support in OpenSSH by pbhjpbhj on Thursday January 11, 2024 @02:10PM (#38957206)
But then Linus from LTT will end up using DSA by accident! /s