1431
submitted 1 day ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 165 points 1 day ago

security through obscurity is not security

[-] [email protected] 32 points 1 day ago

Security can mean security against hackers, but it can also mean security against revealing classified information. Classified information about weapons systems (e.g. performance characteristics) is inherently embedded into the code running on those systems, and therefore shouldn't be open sourced.

Source: used to write classified code

[-] [email protected] 30 points 1 day ago

then the code maintainers are doing it wrong.

Any information that shouldn't be public knowledge such as specs, account credentials, access tokens etc should be in a configurable/dynamic format such as an ENV variable or a config file, that way confidential info isn't part of the working tree.

This should not be an issue in a properly maintained codebase.

[-] [email protected] 17 points 1 day ago

Eh, there's an intrinsic amount of information about the system that can't be moved into a configuration file, if the platform even supports them.

If your code is tuned to make movement calculations with a deadline of less than 50 microseconds and you have code systems for managing magnetic thrust vectoring and the timing of a rotating detonation engine, you don't need to see the specific technical details to work out ballpark speed and movement characteristics.
Code is often intrinsically illustrative of the hardware it interacts with.

Sometimes the fact that you're doing something is enough information for someone to act on.

It's why artefacts produced from classified processes are assumed to be classified until they can be cleared and declassified.
You can move the overt details into a config and redact the parts of the code that use that secret information, but that still reveals that there is secret code because the other parts of the system need to interact with it, or it's just obvious by omission.
If payload control is considered open, 9/10 missiles have open guidance control, and then one has something blacked out and no references to a guidance system, you can fairly easily deduce that that missile has a guidance system that's interesting with capabilities likely greater that what you know about.

Eschewing security through obscurity means you shouldn't rely on your enemies ignorance, and you should work under the assumption of hostile knowledge. It doesn't mean you need to seek to eliminate obscurity altogether.

[-] [email protected] 19 points 1 day ago

I think when it comes to the code that controls the navigation, control, detonation, etc, or our munitions, that perhaps that should not be publicly reviewable. Not because of hacking concerns, but it does give info to a potential enemy that could render them less effective.

[-] [email protected] 4 points 1 day ago

It seems to be working out fine in Ukraine…

[-] [email protected] 0 points 1 day ago* (last edited 1 day ago)

A lot of functionality can be decoupled from anything that needs to be classified. A HUD is a HUD and no one should be hard coding in performance characteristics of the F-35 into it. I've also worked on government projects and holy crap does the code quality vary wildly, even before you get into "it's still working so deal with the problems, it doesn't have the budget for updates".

Using 'off the shelf' parts/code can save significant time and money. There's a reason subs use xbox controllers. Government websites and data interfaces at the very least should have the audit-ability that open source provides.

[-] [email protected] 3 points 1 day ago* (last edited 1 day ago)

A HUD is a HUD

sure but the HUD from the F-35 is very specifically designed to work in an F-35. It's very similar, and comes from the same family, as the software running on other planes. But it's not identical.

And yes, performance limits would be hard coded into the software because the HUD needs to alert the pilot when they are getting close.

Edit: and that's ignoring the fact that a lot of this stuff comes from private companies so you'll run into things like IP/patent laws

[-] [email protected] 1 points 18 hours ago

That's what config files are for. It would be a nightmare to hardcode weight and balance and have to recompile the HUD every time you change the loadout or refuel the plane.

Most code, algorithms, etc are not any more sensitive than the concept of desks and file cabinets. No, guidance programs for missiles probably shouldn't be put on GitHub, but there's a reason RSA and other encryption algorithms were open sourced. It's better to have more eyes looking for inefficiencies, weaknesses, and vulnerabilities than to just assume it's good because no-one on the team responsible is smart/engaged enough to find them.

[-] [email protected] 1 points 12 hours ago

Lmfao I can tell you've never worked in embedded systems before. They don't really have config files. They don't have the space.

[-] [email protected] 4 points 1 day ago

For the F35 unfortunately a lot of its capabilities seems to be cloud based. (At least for maintenence, I don't know of on the air).

That's why I'm angry my stupid government still has wants to buy the stupid things instead of sitting this generation out and going to an own 6gen aircraft.

[-] [email protected] 4 points 1 day ago

Aren't all planes cloud based though?

[-] [email protected] 2 points 1 day ago

Yes, I agree, so as Vlad learned even if you leave them on the ground and put tires on them so they don't fly off, something might come along and successfully migrate around 40 of them to the cloud.

[-] [email protected] -1 points 1 day ago

If it's developed for the government, even by a private contractor, it's still considered US government code and is public domain. It's why sqlite is public domain.

I personally doubt there's much available in the off-the-shelf fighter HUD system market, personally.

[-] [email protected] 1 points 1 day ago

Uh, clearly you haven't seen the quarterly earnings reports.

this post was submitted on 04 Jun 2025
1431 points (99.7% liked)

Technology

70847 readers
3312 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS