News for hackers. Stuff that matters.
Re:Bash 5.0 released by zx2c4 on Tuesday January 08, 2019 @12:49AM (#18853535)
WireGuard doesn't require bash. The main configuration utility, wg(8), is written in vanilla C. However, the tools ship with a little convenience script, called wg-quick(8), which is indeed written in bash. It started out as the thing I was using to configure my laptop on the go, but then others found it helpful. It's by no means essential or central to WireGuard, and lots of people use different things to wrap wg(8) and the various networking tools.
Re:Bash 5.0 released by a012 on Wednesday January 09, 2019 @05:21AM (#18863694)
Based on your documents[1] of Mac OS, it looks very like wireguard requires bash version 4 or newer because wireguard-tools will install bash as dependency. Maybe you should edit the docs or shouldn't deliver wireguard-tools?

   $ brew install wireguard-tools
[1] - https://www.wireguard.com/install/
Re:Bash 5.0 released by zx2c4 on Wednesday January 09, 2019 @12:56PM (#18866942)
Sorry if I didn't make it clear before: wg-quick(8) is part of wireguard-tools, because people find it useful sometimes. But it's in no way essential and WireGuard functions entirely without it. That's what I mean when I say WireGuard doesn't require bash. That little helper script is just a small convenience thing some people like.
Re:Bash 5.0 released by pbhjpbhj on Tuesday January 08, 2019 @07:35AM (#18855065)
Totally aside: is there a tool that can parse a programs code, then consume a folder of (headers for?) versions of a dependency and say the versions that are [a priori] compatible?