Home Blog Page 219

How To Make Open Source More Secure: A Tale Of Supply Chain

Co-authored by Curtis Franklin, Jr

Open source software is often considered safer and more secure than proprietary software because users can, if they want, compile the software from the source code. They know the source of the code running in their environment.  Every component that they are running in their environment can be audited and the developer held accountable.  

However, users and vendors are moving away from complexity that comes with total control and embracing convenience and ease of use.

“I am often taken aback when I see a talk around security and privacy and then the presenter runs the ‘docker run’ command to install and run some random binary downloaded from the internet,” said Dirk Hohndel, Vice-President and Chief Open Source Officer at VMware. “Those two things seem to be a little bit at odds with each other.”

The software supply chain — the process that takes an application from coding through packaging and distribution to its ultimate user — is complicated. If done wrong, it could be potentially risky, especially for open source software.  A malevolent player can get access to the backend and start inserting any random binary code onto a user’s system without that user’s knowledge or control.

It’s not a problem specific to the cloud-native world. It can be seen in modern app development environments, including JavaScript, npm, PyPI, RubyGems, and so on.  Even Homebrew on Mac used to be provided through source code that a user would compile themselves. 

“Today, you just download the binary and install it, hoping that it’s built from the same source code that you have access to,” said Hohndel. “As an industry, we need to pay more attention to our supply chain.  It’s something that is extremely important to me and that I’m trying to get more people interested in it.” 

It’s not simply a binary versus source code equation, though. There are huge advantages to just running a binary instead of having to build everything from sources.   It allows developers to be more flexible and more responsive in their turnaround. They can cycle very quickly through new development and product releases by reusing some binaries.

“It would be nice if there was a way to sign these binaries and have an ‘on-the-fly’ verification mechanism so users know they can trust these,” said Hohndel.

Linux distributions have solved this problem as the distributions act as gatekeepers who check the integrity of packages that go into supported repositories. 

“Packages offered through distributions like Debian are signed with a key. It takes a lot of work to ensure that this is really the software that should be in the distribution. They have solved the supply chain problem,” said Hohndel.

But even on Linux distribution, people want to simplify things and trade correctness and security for speed. There are now projects like AppImage, Snap and Flatpack that have adopted the binary route, bringing the trust issue to Linux distributions. It’s the same problem of docker containers all over again.

“The ideal solution would be to find a way for us as a community to devise a system of trust which ensures that if a binary was signed with a key that is in the network of trust, it can be trusted and provides us with the ability to reliably go back to the sources and do an audit,” suggested Hohndel.

However, all this additional steps incur costs that most projects are either unwilling or unable to afford. Some projects are trying to find ways around the problem. NPM, for example, has begun to encourage those submitting packages to properly authenticate and secure their accounts to improve trustworthiness on the platform. 

Open Source Community Is Good At Solving Problems

Hohndel is involved with many efforts to solve the open source supply chain problem and is spreading awareness about it. Last year, VMware acquired Bitnami, which is a great place for curating open source applications that are signed by VMware. 

“We are talking with upstream open source communities in various ecosystems to raise awareness about it. We are also discussing technical solutions that will make it easier for these communities to solve the underlying problems,” said Hohndel.

The open source community has historically been diligent at ensuring software quality, including the mechanisms for security and privacy. Still, Hohndel says, “The biggest concern that I have is that, in the excitement about the next new thing, we often ignore the underlying engineering discipline that we really need.”

Ultimately, Hohndel feels that answer will come from the open source community itself. “Open source is an engineering methodology and it’s a social experiment. Open source is all about people trusting each other, working with each other, collaborating across borders, between companies, amongst competitors in ways that we didn’t do before,” he explains.

Open source storage: driving intelligence in the small data sprawl era

Open source storage is an emerging phenomenon; data storage software that is developed in a public, collaborative manner under a license that permits the free use, distribution and modification of the source code. Organisations are now dealing with a huge amount of data, petabytes-worth, and it all needs to be stored in manner that is flexible, accessible and secure, while allowing analytics and intelligence-driven solutions to gain actionable insights from it.

Read on to know more about the three trends that have given rise to open source storage…

[Source: Information Age]

Researchers develop new open-source system to manage and share complex datasets

Data is often at the heart of science—researchers track velocities, measure light coming from stars, analyze heart rates and cholesterol levels and scan the human brain for electrical impulses. But often, sharing that data with other scientists—or with peer-reviewed journal editors, or funders—is difficult.

A research team has developed an open-source data-management system that the scientists hope will solve all of those problems. The researchers outlined their system today in the journal PLOS ONE.

[Source: Tech Xplore]

Linux Mint 19.3 is here and better than ever

While many of us were getting ready to celebrate Christmas and Hanukkah, Linux Mint quietly gifted us with the latest long-term support (LTS) version of its popular desktop Linux desktop, Linux Mint “Tricia” 19.3. This release supports three different Linux desktop interfaces: my own favorite Cinnamon; MATE, a fork of the venerable GNOME 2 desktop; and the lightweight Xfce.

[Source: ZDNet]

Benchmarking 9 Linux Distributions On A $50 Processor

Your choice of Linux distribution on a budget PC can mean the difference of ~14% performance overall. Here are benchmarks of Ubuntu, CentOS, Debian, EndeavourOS, Manjaro Linux, openSUSE Tumbleweed, Fedora Workstation, and Clear Linux on a $50 processor as we roll into 2020 with the newest Linux distribution releases.

[Source: Phoronix]

Microphone support finally comes to Linux on Chromebooks

Linux apps on Chromebooks have become a bit more commonplace than they were just a year ago. Many devices now support this new feature and the overall abilities of the Linux container in Chrome OS continue to grow. As the big pieces have been in place for some time, it is easy at this point to miss the less glaring omissions that are still yet to be fixed, and that is exactly what has happened with microphone support with the latest build of Chrome OS 79.

[Source: Chrome Unboxed]

Pulse SMS by Klinker Apps is now completely open source

Klinker Apps released ‘Pulse’ in 2016 as a new SMS client with support for sending messages from multiple devices. Once set up on your phone, you can send messages from a web app, wearables, and other platforms. Now the app is completely open-source, with Klinker Apps hoping more developers will contribute.

[Source: Android Police]

What is GNU/Linux?

Most consumers can, with a little effort, name two desktop and laptop operating systems: Microsoft Windows and Apple’s macOS. Few have ever considered any of the open-source alternatives found under the umbrella of GNU/Linux, though some may have done so without even knowing it—Google’s Chrome OS uses the Linux kernel. To be honest, aside from the Chromebook platform, GNU/Linux systems are typically not best for people who rely on big-name software or don’t like dabbling with a customizable, hands-on interface.

However, if you’re looking for a change of pace, don’t want to pay for your software, and don’t mind rolling up your sleeves, switching to GNU/Linux may not only be worthwhile, but make you a convert for life. This guide for nontechnical users will show you how.

[Source: PCMag.com]

The Linux Kernel Enters 2020 At 27.8 Million Lines In Git But With Less Developers For 2019

As of this morning in the Linux kernel Git source tree, the kernel weighs in at 27.8 million lines! The stats as we start 2020 put the Linux kernel source tree at 27,852,148 lines (including docs, Kconfig files, user-space utilities in-tree, etc), 887,925 commits, and around 21,074 different authors. The 27.8 million lines are divided among 66,492 files.

During 2019, the Linux kernel saw 74,754 commits, which is actually the lowest point since 2013. The 74k commits is compares to 80k commits seen in both 2017 and 2018, 77k commits in 2016, and 75k commits in both 2014 and 2015.

[Source: Phoronix]

Clear Linux Saw New Features, New Desktop Installer + Increased Adoption In 2019

In addition to Clear Linux seeing more performance optimizations in 2019 (more so than Fedora and Ubuntu during the year), it also benefited from a new desktop installer, new help forums, and more of Intel’s partners talking about their current or planned usage of Clear Linux.

Below is a look back at the popular Clear Linux news on Phoronix during 2019. While a lot of it was about their performance optimizations with continuing to deliver the best Linux x86_64 performance we have seen out of any distribution, but they’ve also been expanding their features into areas like better usability, their various reference stacks, and more.

[Source: Phoronix]