News for hackers. Stuff that matters.
Re:2021.06.08 Certificate Lifetime Incident by jcranmer on Wednesday June 09, 2021 @01:37PM (#27450753)
This is a "no brown M&Ms" kind of violation. The direct impact of this violation is basically nil. However, it's a violation that suggests that the requirements haven't been very carefully read and that conformance to them hasn't been very carefully audited. So how can you have be assured that there aren't violations of more important rules still lurking about?
Re:2021.06.08 Certificate Lifetime Incident by andrewmunsell on Wednesday June 09, 2021 @02:08PM (#27451108)
In case anyone is confused, I believe the reference to "no brown M&Ms" is a reference to Van Halen's contracts: https://www.snopes.com/fact-check/brown-out/

> So, when I would walk backstage, if I saw a brown M&M in that bowl … well, line-check the entire production. Guaranteed you’re going to arrive at a technical error. They didn’t read the contract. Guaranteed you’d run into a problem. Sometimes it would threaten to just destroy the whole show. Something like, literally, life-threatening.

Re:2021.06.08 Certificate Lifetime Incident by travisjungroth on Wednesday June 09, 2021 @03:14PM (#27451870)
There's something I don't get about that method, as clever as it sounds. The method is if there are brown M&Ms, then check the entire production for safety. What about the else? Don't check everything? So if the person in charge of the green room happens to be on top of things and picks out a few M&Ms, they don't line-check the entire production even though there could be something "literally life-threatening"?

It's easy to say that the brown M&Ms acted as a signal, but I can't think of any way to depend on that signal that isn't reckless. Just check the actual production, since that seems to be an option.

Re:2021.06.08 Certificate Lifetime Incident by dane-pgp on Wednesday June 09, 2021 @03:41PM (#27452171)
Perhaps in practice, if they passed the M&Ms check, you would say "Great, okay, now talk me through all the other things you set up." whereas if they failed that test, you would say "I'm not willing to take your word on anything, so I'm going to call in an external auditor to check everything, and I'll recover the costs of that from you, for breach of contract."
Re:2021.06.08 Certificate Lifetime Incident by _jal on Wednesday June 09, 2021 @03:35PM (#27452121)
As in most things, it is an economic tradeoff.

A big-name traveling band is kind of like a carnival without the ferris wheels. They have a lot less support staff than you probably think, and most of them are busy most of the time you're not driving.

If you have more than one person playing management/problem solver/coordinator/process lubricant, you've got it easy. Much more typical is everyone heads-down on their part of the event and one person trying to hold it all together.

That person has no free bandwidth, and depends heavily on proxy measures of the state of things.

I've played roadie before, not for a super big act and not for long. And I've ended up running point for a lot of conferences, more or less because I know how to run that sort of thing. Conferences are so, so much easier - they have resources, can assume workers aren't wasted, can assume the location at least vaguely cares about things like fire suppression, can assume the venue doing a revenue split actually has a license to sell alcohol...

Re:2021.06.08 Certificate Lifetime Incident by travisjungroth on Wednesday June 09, 2021 @04:11PM (#27452526)
> As in most things, it is an economic tradeoff.

I think that's what gets me. I'm pretty "Old Man Yells At Cloud" right now, criticizing an 80s metal band for not meeting the safety standard that I've imagined. It's just that people pull out this idea as being something neat and I think it's a completely inappropriate technique when other options are available and safety is on the line. If either of these things aren't true, then sure, try it.

You can't see how people follow orders in war without sending them to war. So you tell them "no food in the barracks" and when you catch them with a bagel you make them do a hundred pushups. And it's easy to toss out resumes with typos since they've indicated they don't actually have attention to detail. Those make sense because they're the best you can do.

But if someone dies at your concert, you'll probably think it would have been worth it to have more than one person playing safety checker. The contracts and M&Ms aren't actually going to make you feel better. (Or necessarily keep the lawyers away).

At its deepest, I think I'm reacting to a change that happened to me over time. I used to work at a ropes course. Think team building, high wires and zip lines. We'd give a list of instructions to our group contact to pass along to the group, including that people need to wear long pants and closed-toe shoes.

Well, about 20% of groups would hop out of their cars with a bunch of people in shorts and sandals. "Oh, no one told us." And we'd announce to ourselves that the group contact had failed to communicate and we should "watch out" for the rest of the day.

Looking back, I think we were the dumb ones. If 20% of groups are showing up unprepared to my ropes course, then that's my problem. I need to make different choices that lead to better outcomes. If I have evidence I shouldn't trust group contracts to make things happen (I definitely do) then I need to stop counting on them.

Re:2021.06.08 Certificate Lifetime Incident by tclancy on Wednesday June 09, 2021 @07:41PM (#27454879)
It’s a koan about how to use heuristics, not a guide to running tours. Much like how Full Metal Jacket isn’t the same as being in the military.
Re:2021.06.08 Certificate Lifetime Incident by kbenson on Wednesday June 09, 2021 @05:39PM (#27453588)
> people pull out this idea as being something neat and I think it's a completely inappropriate technique when other options are available and safety is on the line.

But we do this with all things all the time. You didn't take a ruler/micrometer and measure tolerances between parts of the last car you bought, nor the last cab/rideshare/friend's car you got into. Instead, you make some assumptions and use some cues to inform those assumptions.

Perhaps you're about to get into some ride share vehicle and you notice the exhaust looks a little smokey for the age of the car, and think maybe they aren't taking care of it. Then maybe to take a closer look at the tires and notice they're bald, etc. This is definitely something that would be considered "literally life-threatening", but there's a statistical likelihood that makes it something that not everyone checks every time.

> But if someone dies at your concert, you'll probably think it would have been worth it to have more than one person playing safety checker.

But it's not "your" concert, as much as it's billed that way. It's a joint operation between the artist and the venue, and each have their own responsibilities. It's the venue's responsibility to do certain things. This is just the artist trying to use one technique of many that are likely employed (like outright asking) to gauge how well the other party has fulfilled their responsibilities. You can't check every single thing, otherwise there's no point in there being another party (and they may not give you that access to check), but there are things you can do let you know a closer look is warranted.

> Looking back, I think we were the dumb ones. If 20% of groups are showing up unprepared to my ropes course, then that's my problem.

To some degree, maybe. I think the best outcome would be both cases, "look out" when stuff looks awry, but also examine why it doesn't seem to change. But what if you can't eliminate the problem? What if, no matter what you iterate on and try to get the contact to correctly relay your information, you can't always get he info to all the relevant people either yourself or through the contact, and 5% still show up like that? Do you stop with the "watch out" notice? No, most likely you still do that because it's useful and better than nothing, and still provides a little benefit on top of everything else that was done.

That's what we should assume the rock band was doing. They have contracts that stipulate how stuff is supposed to be, and different staff to coordinate with the venue reps for aspects of the production, and they should be doing what they can to make sure stuff is set as expected. But if brown M&M's show up, maybe it's worth paying those people a little overtime to grill the venue on what they did and didn't do that they said they did and check their work, because who knows, maybe this is the time it saves a life.

Re:2021.06.08 Certificate Lifetime Incident by travisjungroth on Wednesday June 09, 2021 @06:06PM (#27453895)
Look, that's all super reasonable. I don't have an airtight argument. This is more of a different way of looking at things. I think those sort of tricks can help with safety, but they can also come from a place of ego. If you don't believe me, check out the Snopes link I originally replied to for what happened when there was a brown M&M.

On your rideshare example, I don't do a preflight check when I ride an airliner. I did when I was a pilot, even if it had just come out of the shop.

> But it's not "your" concert, as much as it's billed that way.

This is it. This is the difference in mindset. I now think of it as "mine". Not that it's mine and no one else's. But I choose to take responsibility for anything that went wrong that I could have been prevented. I don't care how the responsibilities are divvied up or what the contracts say. So anywhere I'm in some position where people are counting on me, I'm either going to check things myself or know that someone I trust did the checking.

Re:2021.06.08 Certificate Lifetime Incident by kbenson on Wednesday June 09, 2021 @09:00PM (#27455502)
I don't actually disagree with your point of people taking more responsibility, I just think the brown M&M's incident isn't a good example to illustrate it. The production crew had an extensive document outlining all the requirements, likely built up over time as they encountered things venues did not actually take the care to ensure (like the stage not sinking through rubberized flooring).

> This is it. This is the difference in mindset. I now think of it as "mine". Not that it's mine and no one else's. But I choose to take responsibility for anything that went wrong that I could have been prevented.

That's fine, and you can take responsibility, but you can't do all the work, not in any way that scales. Even in the preflight checks for the plane, you're not disassembling wings and checking for cracks on internal struts I imagine. Someone else does that occasionally and you have to trust (or not) their opinions and that they've actually done the work. And you can't always spend a week doing a thorough background check of those people either (or for some reason you're forced to use someone you would rather not), so sometimes little tricks that might indicate that you should be wary are useful.

Re:2021.06.08 Certificate Lifetime Incident by cyberge99 on Wednesday June 09, 2021 @07:35PM (#27454825)
I think you’re spot on. It’s a summary QA of the QA layer below Eddie van Halen. I think it’s a mindset and extra check, much akin to clearing a handgun after you watch someone clear the gun as they hand it to you. It never hurts to have an additional safety measure.

It’s a signal to a potentially larger issue.

Re:2021.06.08 Certificate Lifetime Incident by Sebb767 on Wednesday June 09, 2021 @04:11PM (#27452531)
The other commenters have a point, but the Snopes article actually points this out:

> So just as a little test, in the technical aspect of the rider, it would say “Article 148: There will be fifteen amperage voltage sockets at twenty-foot spaces, evenly, providing nineteen amperes …” This kind of thing. And article number 126, in the middle of nowhere, was: “There will be no brown M&M’s in the backstage area, upon pain of forfeiture of the show, with full compensation.”

So they had other simple-to-check signs; the brown M&M one is just the only one commonly cited as it's the funniest/most interesting.

Re:2021.06.08 Certificate Lifetime Incident by travisjungroth on Wednesday June 09, 2021 @04:43PM (#27452970)
Is a fifteen amp socket providing nineteen amps a thing?
Re:2021.06.08 Certificate Lifetime Incident by nightpool on Wednesday June 09, 2021 @06:07PM (#27453907)
No, I think it's supposed to be a contradiction that an on-the-ball venue will catch before signing the contract.
Re:2021.06.08 Certificate Lifetime Incident by tetha on Wednesday June 09, 2021 @05:41PM (#27453619)
It's at least 15 sockets, each providing at least 19 amps. Probably following some plug/socket standard.
Re:2021.06.08 Certificate Lifetime Incident by tonyarkles on Wednesday June 09, 2021 @09:30PM (#27455711)
I think you’re incorrect. There is a standard 15A socket. There is no standard 19A socket (but there are 20A sockets that are compatible with 15A plugs)
Re:2021.06.08 Certificate Lifetime Incident by sjruckle on Wednesday June 09, 2021 @11:10PM (#27456273)
Sure is. See this stackexchange link: https://diy.stackexchange.com/questions/12115/is-using-15-am...

So what I think what the contract was specifying was several 15-amp receptacles, spaced 20 feet apart, from which a combined total of not less than 19 amps may be drawn. A 20 amp breaker would do that nicely.

Re:2021.06.08 Certificate Lifetime Incident by TFortunato on Wednesday June 09, 2021 @07:20PM (#27454671)
They are stating that they would put 19A of load on a 15A rated socket. E.g. creating an obvious safety hazard that should be caught and addressed.
Re:2021.06.08 Certificate Lifetime Incident by warbs on Thursday June 10, 2021 @03:28AM (#27457910)
I assume they mean multiple 15 A (standard) sockets with a combined load no more than 19 A
Re:2021.06.08 Certificate Lifetime Incident by sa46 on Wednesday June 09, 2021 @03:34PM (#27452116)
It’s a common heuristic for inspections. It’s not efficient or possible to check everything, so you inspect a few pieces in minute detail. For the pieces that fail, you do a complete inspection.

In my experience it’s a pretty good heuristic. It fails badly if the organization knows what pieces will be inspected (queue Goodhart). It can also be fantastically inefficient if there’s a ton of checks or the checks are ambiguous.

Being a stickler at inspections sets a useful precedent that organizations will do a better job for you in the future.

Napoleon took advantage of this during his first inspection of a combined arms unit (Napoleon was an artillery officer). He inspected the shit out the artillery unit first. Then he could be reasonably confident the light infantry and Calvary units would take the inspection seriously.

Re:2021.06.08 Certificate Lifetime Incident by tialaramex on Wednesday June 09, 2021 @08:18PM (#27455177)
An even cleverer trick if you have lots of things you could inspect, but finite resources and you should like to encourage people to have practices that routinely pass inspection anyway:

The Paris MOU randomly inspects vessels entering European ports with the rate of inspections based on their flag. So if you're a UK registered ship, you might expected to go several years without inspection, while if you're Albanian registered, Albania is blacklisted, you're getting inspected twice a year or more, and if you fail several inspections you're getting banned from all European ports.

How did Albania get blacklisted? The Paris MOU tracks the results of inspections. Each time a ship flying some flag is inspected, the result of the inspection changes the calculation of how much apparent risk there is of ships with that flag failing inspection. Risk too high? Greylist. Risk higher still? Blacklist.

Why flags? Because before Port State Control existed, the Flag States (Country where the ship is registered) were responsible for periodically inspecting ships. And they still are, it's international law, the Europeans just got sick of all these ships with a "flag of convenience" from some distant island that are clearly non-compliant and have never been inspected in their nice well-regulated ports. So they invented the Paris MOU and Port State Control.

And it worked, I mentioned the UK flag is whitelisted, but the Bahamas are a famous Flag of Convenience, and they're whitelisted too, because they took the job seriously. A Bahamas registration is a little cheaper†, but your ship will be properly inspected on their behalf, and so sure enough when it gets randomly inspected again in say, Antwerp, it'll likely pass. Meanwhile St Vincent, another Flag of Convenience, is on the Greylist and a few tiny islands that dipped their toes in the "Flag of Convenience" business are blacklisted. The promise of inspectors poking around inside your ships every five minutes is a bad deal even if Tuvalu shipping registration is half price.

† The other thing we don't like about Flags of Convenience is they make it easier to hide who owns things, which can serve to also avoid taxation. The Paris MOU doesn't fix that, that superyacht registered in the Bahamas might be safe but the owner likely didn't pay tax...

Re:2021.06.08 Certificate Lifetime Incident by hallway_monitor on Wednesday June 09, 2021 @03:18PM (#27451924)
If we were designing a critical system around this, I suppose I would create several unrelated triggers that, if found, would invoke an extra-detailed review of all work in the show.
Re:2021.06.08 Certificate Lifetime Incident by hashkb on Wednesday June 09, 2021 @03:22PM (#27451975)
The baseline assumption is that they read your contract and do everything. It's their job to get it right. If they're attentive to the stupidest thing in your contract, they probably did an OK job on everything else. Sure, it's still possible to be electrocuted during the show even if the M&M's were right.

But, rock stars are not going to arrive early every night just to stay alive. The buck has to stop somewhere, and EVH decided it was in the bowl of M&M's.

Re:2021.06.08 Certificate Lifetime Incident by jjeaff on Wednesday June 09, 2021 @04:42PM (#27452956)
I don't buy that this trick would be effective, though I like the sentiment. I would guess that the detail of m&m color could very often be overlooked due to its insignificance and create a false signal.

For one, the same people in charge of safety like riggings and electrical are not going to be the same people that are supplying the refreshments.

I can also imagine a high number of people like myself reading that part and think it's a joke or purposely ignoring it because there are much more important issues to deal with and because I'm not much into indulging the ridiculous whims of self important people.

Re:2021.06.08 Certificate Lifetime Incident by YuriNiyazov on Wednesday June 09, 2021 @05:26PM (#27453452)
> I can also imagine a high number of people like myself reading that part and think it's a joke or purposely ignoring it because there are much more important issues to deal with and because I'm not much into indulging the ridiculous whims of self important people.

It doesn't say "no brown M&Ms;" - it says "no brown M&Ms, otherwise we cancel the show and you still pay us the entire amount".

If I saw something like that in a contract, maybe I wouldn't go looking for brown M&Ms, I'd at least ask my boss (who hopefully has a direct line to our lawyers) "is this for real?", and if my boss and our lawyers are any good they'd tell me that's as real as it gets.

Re:2021.06.08 Certificate Lifetime Incident by Melkman on Wednesday June 09, 2021 @06:20PM (#27454044)
There is no need to indulge them: you just tell them you are not going to sort the M&M's. If you do that in advance: great. If you ignore other points and tell them in advance also great. If you ignore requests and don't communicate that fact you are in trouble. Like the 15 amp sockets which can deliver 19amps in a comment above. That's a fire hazard. If you don't start a discussion that it is a fire hazard and you will only deliver 15amps or you will use a different higher rated socket you failed the test and your work is suspect.
Re:2021.06.08 Certificate Lifetime Incident by hashkb on Thursday June 10, 2021 @07:07PM (#27467145)
> I'm not much into indulging the ridiculous whims of self important people.

Then you probably wouldn't be working at a concert venue / on a showbusiness production team anyway.

Edit: have you seen a Van Halen (or, really, any stadium-headlining) show? The entire performance is "the ridiculous whims of self important people". That's kind of why we like it.

Re:2021.06.08 Certificate Lifetime Incident by kmeisthax on Wednesday June 09, 2021 @08:53PM (#27455447)
It's a heuristic.

Furthermore, the brown M&Ms clause was buried deep in a list of technical riders. The person in charge of the green room isn't reading the technical part of the contract at all. Why would they? It's not their job. They're reading the other part of the contract that plainly says "please put a bowl of M&Ms in the green room". So the only two cases in which a venue is going to pick out the M&Ms is...

1. The technical director saw the requirement and told the green room guy to start picking out M&Ms or the show is cancelled

2. The green room guy somehow knows about the brown M&Ms thing and decides to falsely signal compliance

Presumably, the whole brown M&Ms thing was obscure enough that no venue actually decided to just check for odd requirements. Furthermore, if they did decide to just do that and only that, specifically knowing that they were interfering with such a heuristic, they'd almost certainly be liable for something. So I doubt anyone would deliberately interfere with this, and it's hard to accidentally comply with just the no brown M&Ms thing.

"Just line-check the production all the time" might not always be an option.

Re:2021.06.08 Certificate Lifetime Incident by bch on Wednesday June 09, 2021 @09:21PM (#27455650)
If the brown m&m clause wasn’t in the green-room section, then it’s still a valid test of the setup - in the sense: “can you guys simply communicate?”
Re:2021.06.08 Certificate Lifetime Incident by mabbo on Wednesday June 09, 2021 @08:54PM (#27455456)
It's a bit like mutation testing. Add real bugs to the code (through automation) and see what gets caught by your unit test. Do this a few hundred times and you can get some idea how many bugs your unit tests might have missed.
Re:2021.06.08 Certificate Lifetime Incident by pqdbr on Wednesday June 09, 2021 @03:32PM (#27452091)
The else is undetermined. See https://en.wikipedia.org/wiki/Denying_the_antecedent

So, the logic of this signal is like this:

- If a brown M&M HAS been found, you know for a fact they didn't follow the specs well enough;

- IF a brown M&M HAS NOT been found (denying the antecedent), you can't state anything about they following the specs or not.

Re:2021.06.08 Certificate Lifetime Incident by travisjungroth on Wednesday June 09, 2021 @03:44PM (#27452215)
I was talking about behavior following a decision tree. You're talking about arguments. The "else" can't exactly be undetermined here. In checking out the M&Ms, he's making a choice to check the production in that moment or not. (Of course, he can check it later, too).
Re:2021.06.08 Certificate Lifetime Incident by cpeterso on Wednesday June 09, 2021 @03:10PM (#27451831)
Did Van Halen ever actually cancel any shows because of brown M&Ms? The Snopes article says David Lee Roth found a brown M&M, but the show proceeded (and technical problems caused damage to the venue floor).

"I found some brown M&M’s, I went into full Shakespearean “What is this before me?” … you know, with the skull in one hand … and promptly trashed the dressing room. Dumped the buffet, kicked a hole in the door, twelve thousand dollars’ worth of fun.

The staging sank through their floor. They didn’t bother to look at the weight requirements or anything, and this sank through their new flooring and did eighty thousand dollars’ worth of damage to the arena floor. The whole thing had to be replaced.

Re:2021.06.08 Certificate Lifetime Incident by jjeaff on Wednesday June 09, 2021 @04:45PM (#27452999)
Vandalism and destruction of property is a crime, even if you say you will pay for it. I guess if you are rich or famous enough, everyone just let's everything slide.
Re:2021.06.08 Certificate Lifetime Incident by ceejayoz on Wednesday June 09, 2021 @04:55PM (#27453110)
Unless, of course, said destruction of property is in said contract.

Otherwise, "smash therapy" places couldn't exist.

If I were writing contracts for rock stars, I'd probably look to account for tantrums and raging parties in the wording.

Re:2021.06.08 Certificate Lifetime Incident by LeifCarrotson on Wednesday June 09, 2021 @02:51PM (#27451601)
On reading the explanation:

> The Zlint project only attempts to check whether a certificate exceeds the maximum validity allowed by the baseline requirements [398 days], and is not configurable.

To extend the 'no brown M&Ms' analogy, this would be like Van Halen learning the caterer was only checking for FDA safety requirements and not their specific needs. It's good that it's food safe, and a brown M&M (or one with a fleck of brown exposed) isn't going to hurt anyone, but it means that you've got a breakdown in your process.

Specifically, Let's Encrypt needs a review of their linting process. The requirement was that the lifetime be set to 7775999 seconds, or 90 days, this particular tool may not have thrown an error if the time had been 180 days or 360 days, and instead only thrown an error at 399 days. One second is not a problem, but 300 days would be a problem for sure! How were the lints which they're running selected, in particular how was the rule 'e_tls_server_cert_valid_time_longer_than_398_days' accepted, knowing that their validity was shorter than that? Are there other rules where the linter is checking against the most liberal specs but Let's Encrypt is offering something more precise? Fuzzing against a validity clock of 7775998 seconds, 7775999 seconds, and 7776000 seconds would find this issue, are there any other parameters that can be fuzzed? Questions like this need to be asked.

Re:2021.06.08 Certificate Lifetime Incident by teraflop on Wednesday June 09, 2021 @01:52PM (#27450926)
There was a similar issue a while back, where an open-source system used by a number of CAs was by default configured to generate serial numbers with only 63 bits of entropy, when the CA/B forum rules require 64 bits: https://www.schneier.com/blog/archives/2019/03/cas_reissue_o...

This incident was complicated by the fact that it was first noticed while investigating a particular CA (DarkMatter) that was already suspected of various shady activities. Most of the other affected organizations took the incident seriously, fixed the problem and revoked the affected certificates, as required by the letter of the rules, even though the actual risk was small.

DarkMatter chose to spend a lot of time complaining and making weaselly arguments on the mailing list (like "a 64-bit number where the leading bit is always zero is still technically a 64-bit random number") which did not do much to convince anyone of their trustworthiness.

Re:2021.06.08 Certificate Lifetime Incident by teachingassist on Wednesday June 09, 2021 @03:02PM (#27451736)
> This is a "no brown M&Ms" kind of violation.

I see it more as a "no brwn M&Ms" violation.

We would all assume the intent was to say no brown M&Ms, rather than imagine that no action was required.