OQB @fajre@lemmy.world

I’ve been thinking about transparency and security in the public sector. Do you think all government software and platforms should be open source?

Some countries have already made progress in this area:

  • Estonia: digital government services with open and auditable APIs.
  • United Kingdom: several open source government projects and systems published on GitHub.
  • France and Canada: policies encouraging the use of free and open source software in public agencies.

Possible benefits:

  • Full transparency: anyone can audit the code, ensuring there is no corruption, hidden flaws, or unauthorized data collection.
  • Enhanced security: public reviews help identify vulnerabilities quickly.
  • Cost reduction: less dependency on private vendors and lower spending on proprietary licenses.
  • Flexibility and innovation: public agencies can adapt systems to their needs without relying on external solutions.

Possible challenges:

  • Maintenance and updating of complex systems.
  • Protecting sensitive data without compromising citizen privacy.
  • Political or bureaucratic resistance to opening the code.

Do you think this could be viable in the governments of your countries? How could we start making this a reality globally?

  • azuth@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    Why would it be more difficult to maintain and update a complex system?

    They don’t have to accept outsider contributions on their mainline nor employ less people to work on it.

  • bacon_pdp@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    Yes. Public funds for only public code. Any and arguments involving security are invalid.

    Ken Thompson’s nightmare scenario was solved by a couple people who were enjoying their hobby in their free time and not by any of the military programs that have to date spent over $22 Billion and have achieved far less.

  • Rodsthencones@startrek.website
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    I don’t have a source, some looking will find it, but NASA used to have to be in the public domain. Now they partner, and the partner gets the patents. I know the Apollo soyez mating hardware was public domain, and apas docking is still.

    I also seem to remember that research paid for by the USA, used to have to stay public.

    I don’t have a source to quote, just memory.

    There really is no good reason for not being open source.

  • themaninblack@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    Any even partially publicly funded government code should be open sourced, just like the new rules for public funding and publishing of scientific research. If people actually paid attention this would crush my former local government department.

  • TootSweet@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    Yes, I think all government software should be FOSS.

    (Ok, ok. Not all. I don’t think it should be mandatory to distribute software. But if you do distribute software, I think the source code should be required to come with it and there shouldn’t be any intellectual property restrictions on modifying it or distributing it, with or without modifications. Aside from that, distributing versions with malware included without sufficiently advertising that fact should be considered some sort of fraud or vandalism.)

    But I’m under no illusion that there’s any likelihood of that happening any time in my lifetime. One can hope, though.

    Of your “possible challenges”, the first two are complete fiction. FOSS would make it easier to properly maintain and update systems, complex or otherwise. And databases and code are two different things. Beyond that, I’ll say that distributing software only in compiled form doesn’t make anything more secure or hide anything about how the code works.

    • stoy@lemmy.zip
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      Yes, that is a very good thing.

      It would mean that we a have a lot more people who can find exploits, report them and repair them.

      Sure, some would find exploits and use them, but you would have more people finding and fixing them

  • percent@infosec.pub
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    Some, but probably not all. Seems like it would be a bad move to open-source all military software.

    • humanamerican@lemmy.zip
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      Why? Open source only requires sharing the source when sharing the software. No distribution of software - no distribution of source. But if they are gonna sell software to other militaries or civilian contractors, we have a right to know what they’re selling.

      And no, hiding your code doesn’t generally make your software more secure.

      • percent@infosec.pub
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        It just seems like a bad tactic. For example, if the US gives Ukraine some software that helps them fight Russia, it’s likely tactically advantageous (to Ukraine) if Russia doesn’t have the source code.

        Of course, it doesn’t mean Russia couldn’t do some reverse engineering to some extent. But that takes time, and likely wouldn’t be as complete/thorough as just handing them the source code.

        • humanamerican@lemmy.zip
          link
          fedilink
          arrow-up
          0
          ·
          1 year ago

          If the DoD gives some ooen source software to Ukraine they are required to give the source code to Ukraine - not to Russia.

          • Lumidaub@feddit.org
            link
            fedilink
            arrow-up
            0
            ·
            1 year ago

            Trying to understand what you’re saying: how is that open source then? It sounds like you’re saying giving the source to Ukraine only would suffice.

              • magic_lobster_party@fedia.io
                link
                fedilink
                arrow-up
                0
                ·
                1 year ago

                You’re confusing GPL with open source. Not all open source software is GPL.

                The general discussion in this thread is if source code to government software should be publicly available. Not if government software should adopt GPL.

                • humanamerican@lemmy.zip
                  link
                  fedilink
                  arrow-up
                  0
                  ·
                  1 year ago

                  Its not just GPL. MPL, BSD work this way as well. And the original post refers to open source, not “code available to all”. Come back with a commonly used open source license that enforces what you’re describing and maybe you’ll have a point. Otherwise, why are we arguing about things that can just be looked up?

  • FreedomAdvocate@lemmy.net.au
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    Firstly do you mean software that the government uses, or that the government make? What about if they hire an external company to make it, which is pretty much what they always do?

    I don’t think there is any need. It wouldn’t solve any problem or make anyone safer.

    • chaospatterns@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      Even if an external company makes it, they can add an open source mandate if they want. The US DoD is starting to mandate the usage of open standards for their contractors to increase inter compatibility and ability to extend those systems.

      Open source software has some value like making it easier for analysts to find security issues and the act of open sourcing software usually leads organisations to raise the quality because they don’t want to be ashamed of the code. Plus imagine the clout gained by a dev who got a bug fix merged in that millions of citizens get to use.

  • Onno (VK6FLAB)@lemmy.radio
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    I think all public funds that generate data and/or software needs to be public.

    The notion that maintenance is an issue is a red herring. Proprietary software purchased by government requires ongoing support contracts right until the vendor discontinues the product and leaves the public funds to prop up another billionaire.

    Open source would also stimulate the economy since businesses could benefit from the project and use or apply it to their use, something which currently requires more investment with the same vendor.

    • stoy@lemmy.zip
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      This is due to a simple mental hang up people have.

      They want to blame/punish someone for the failure.

      In an open source project, there isn’t really any one you can fine, GPL clearly states that the software is provided without warranty.

      If you hire a company to make a program for you, you pay them to not only build the program for you, but to also accept liability for errors.

      And that is often far more important to management than if the code is open