Skip to content

The Guardian That Never Sleeps

· 4 min read · Updated

Lire en français
The Guardian That Never Sleeps

A security device that switches off when you unplug it is not one, because it is then a witness you only have to silence, and so we tried to keep in the Cube a guardian that never sleeps, awake in all circumstances, including the ones in which you would rather it saw nothing.

This article follows the one where we said that cutting the power is not an emergency stop, but it takes the other side of it, because it does not speak of what the stop does to the machine but of what the cut reveals and to whom.

Deciding locally even when nothing answers

The Cube addresses equipment that often has no screen and no digital identity and no network to rely on, and it was built so that its decision would not depend on one either, so allowing or refusing a power-up and recognising a presence and logging a refusal, all of this is settled on the spot inside the Cube and without a far-away server having to answer. This choice has a consequence we want to state, because the Cube does not go blind when the link drops, while a device whose security rests on a call far away stops protecting at the moment the far away stops answering, and that moment is not always an accident, so we prefer a guardian that still guards once the phone line has been cut.

Unplugging is not neutralising

From this comes a simple and almost rustic function whose use struck us. The Cube knows when its external power disappears, which is plain power-loss detection, and taken alone this event says nothing because a device is unplugged for a thousand legitimate reasons, but set against a second fact, which is the absence at the same moment of any recognised badge holder or administration phone nearby, it changes in meaning. A power supply that drops while no authorised person is there to explain it is at the very least something we would like to know, because it can come from a mains outage that is worth timestamping and logging, and it can also come from someone who wanted to put the Cube to sleep before acting, and in both cases the device turns the situation into a timestamped event instead of a black hole, and it is that turn that interests us. The converse is worth saying too because it averts false alarms, because a cut that happens while a recognised administrator is present does not have the same meaning and does not have to wake everyone, so the signal is not born of the cut alone but of the cut without a legitimate witness.

A low-power guardian that never sleeps, even when the rest switches off

For this to hold a part of the Cube has to draw very little and never stop, and so we separated the roles, because the costly functions such as the display and the rich exchanges can switch off or go to sleep, while a very-low-power guardian stays awake on the internal energy reserve and keeps watching the essentials, which are the presence or absence of power, the presence or absence of an authorised holder, any opening of the enclosure, which is what the datasheets call tamper detection, and the state of the battery. This separation is not an implementation detail because it is what lets us promise a continuous watch without promising endless autonomy, because the guardian does not claim to run the machine on battery but only to stay lucid long enough to observe and timestamp and remember.

What it does not claim to be

The promise has to be bounded or it is betrayed. The Cube is not a UPS, an uninterruptible power supply, because it does not keep the equipment powered when the mains drops, and that is not its role, and it does not replace the building's access control or sound personnel management either, because someone determined, with the right tools and enough time, will end up thwarting any device, and we have written as much about jamming. What the guardian guarantees is more modest and we believe more solid, because it is its own waking and its own memory and the fact that an attempt to bypass it by starving it of power leaves a trace instead of a convenient silence.

What we make of it

When you build this kind of object the temptation is to make a device that does a great many things as long as you power it, but we preferred a device that does few things and keeps doing them when someone tries to stop it. A guardian that switches off with the power watches over fair weather, while the guardian that never sleeps is the one that notes the hour at which the lights went out and remembers that no one, that evening, was there to switch them off.