easy-rsa icon indicating copy to clipboard operation
easy-rsa copied to clipboard

Drop POSIX claim

Open ecrist opened this issue 3 years ago • 4 comments

I proposing dropping the claim to adhere to POSIX in favor of a looser claim to a happy-medium of BSD/GNU compatibility.

I'd even go so far as to say we will support a short list of operating systems that we can modify.

For starters:

  1. *BSD (Free/Net/Open/Dragonfly)
  2. Linux (GNU)
  3. BusyBox
  4. Darwin/macOS (aka BSD)

Thoughts? This was kind of highlighted in #559.

ecrist avatar May 08 '22 22:05 ecrist

easyrsa has never been strictly POSIX because doing so would require dropping support for Windows.

Eg: cleanup() and to a lesser extent hide_read_pass()

To a larger extent, aiming for POSIX compliance, while exercising careful non-compliance, is exactly what a good script does. That is, "Until" "They" "Fix Everything".

TinCanTech avatar May 09 '22 00:05 TinCanTech

easyrsa passes shellcheck definition of POSIX, with only the exception of Windows, mentioned above.

TinCanTech avatar Jun 20 '22 22:06 TinCanTech

This could be the ouzo, grappa, schnapps, brandy, gin, whiskey, bourbon, saki or ghosts projecting through my diluted and divided soul, however, I believe that easyrsa is exemplar of good, old POSIX.

I can hardly imagine the torture to which Easy-RSA has been subjected.. (And yet, torture is exactly what sh.exe dishes-out to CI ... lol_z)

And yet, it is still here.

(I came across some form of Easy-RSA with ssleay.dll eons ago. <-- That was not POSIX)

TinCanTech avatar Aug 24 '22 23:08 TinCanTech

Can we then conclude: easyrsa is POSIX and will do what-ever it can to remain so ?

If I had a reputation then it currently hangs in the balance .. Witch! They cry!

TinCanTech avatar Aug 25 '22 00:08 TinCanTech

The original question here is bogus.

Adhering to POSIX is clearly a simpler task than providing specific OS support.

Until there is a POSIX deal-breaker, EasyRSA is POSIX compliant.

TinCanTech avatar Mar 03 '23 03:03 TinCanTech