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?

  • TootSweet@lemmy.world
    link
    fedilink
    English
    arrow-up
    23
    arrow-down
    2
    ·
    edit-2
    9 days 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 so long as you include the source code. 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.

    Edit: Oh, I also think a right to attribution is a good thing. It can be done poorly. (Like some of the earlier BSD licenses that would result in pages and pages of attribution for a single code project.) But done well, I think it’s a worthwhile thing.

  • themaninblack@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    8 days 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.

  • rowinxavier@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    9 days ago

    Yes, in the same way all research funded by the public should be open. If you pay for a dataset to be gathered and only one team gets to use it you have wasted money. Make the dataset open, make all the methods open, and it can be used multiple times, increasing the return on investment. In the same way if someone is working on security auditing for something like OpenSSH anyone who uses it benefits. You pay once for the work but get benefit for all who use it.

    This also makes standardising easier because of the common tools so you can have cross department access without unnecessary technical barriers. For example, making a standard format for data in a SQL database means you can access multiple datasets and correlate them, allowing the study of important issues with minimal fuss. You can even create standards for accessing this data to make it much safer to use without exposing people’s personal information.

    On the flip side you could have Microsoft and other similar companies decide what is worth investing in and just hope their system will work. If there is a security issue you just have to wait for them to patch it assuming they identify it. If they stop supporting something you can’t keep using it with external support because you don’t have the code.

    Honestly, it is also a national security risk. Using a vendor from another country means you have someone who can access your data with software you cannot audit who is potentially influenced by the government of another country and you just have to trust them. I cannot understand the use of Windows in military applications. Honestly, asking the fox to guard the hen house. Why would you let the USA have access to your systems with the plausibly deniability of a company like Microsoft in between? Sounds like lazy writing for a military fantasy novel, not modern foreign policy.

  • Onno (VK6FLAB)@lemmy.radio
    link
    fedilink
    arrow-up
    2
    ·
    9 days 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.

  • FaceDeer@fedia.io
    link
    fedilink
    arrow-up
    9
    ·
    9 days ago

    Do you mean software created by the government, or simply used by the government?

    In the US, I believe the standard is that the software would be public domain if it’s an official government publication.

    • stoy@lemmy.zip
      link
      fedilink
      arrow-up
      6
      ·
      8 days 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

  • hello_cruel_world@lemmy.world
    link
    fedilink
    arrow-up
    6
    arrow-down
    1
    ·
    9 days ago

    Within reason.

    A nice little application to calculate tax and benefits? For sure.

    A detailed model on how a nuclear attack would behave depending on the wind direction and tidal waves? That shit needs to be kept secret.

    • stoy@lemmy.zip
      link
      fedilink
      arrow-up
      4
      ·
      8 days 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

  • bacon_pdp@lemmy.world
    link
    fedilink
    arrow-up
    15
    arrow-down
    1
    ·
    9 days 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.

    • KrombopulosMikl @lemmynsfw.com
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      9 days ago

      *limited exceptions. You can’t trust law enforcement. If you give them any leeway they will abuse the he’ll out of it, so you still need some serious oversight to make sure they aren’t trampling people’s rights in the name of “safety”.

  • vin@lemmynsfw.com
    link
    fedilink
    English
    arrow-up
    5
    ·
    9 days ago

    OP, what do you mean by the following two challenges

    1. Maintenance and updating of complex systems.
    2. Protecting sensitive data without compromising citizen privacy.
  • Mugita Sokio@discuss.online
    link
    fedilink
    English
    arrow-up
    47
    ·
    9 days ago

    Not only should the source code be available, but they need to be Free Software (licenses such as GPL, Apache, etc.).