Your own README links to this definition: "A dead man's switch is a switch that is designed to be activated or deactivated if the human operator becomes incapacitated".
This is a watchdog timer / monitor / heartbeat, setting off an alert if a timer elapses.
I've often wondered about how to reliably take software actions after my death or dishonor. After all, you can't really rely on me being able to pay my bills. I'm not looking to do something expensive, more like delete my accounts and send some messages.
This is actually fairly simple and well understood: leave instructions in your will.
"Notify <Provider> to delete my account" is a perfectly valid instruction to leave for an executor.
You could leave behind a password cache with a master password left in your will, but I suspect much of this still runs on trust. I'd imagine (I haven't tried), that "X has died, please take action Y" is a fairly reliable social engineering vector if you have a convincing "proof" that X has died.
It's worth noting that the executor isn't hard forced to carry out your wishes, the legal recourse for them not doing so comes from other beneficiaries ability to take legal action against the executor. If those other beneficiaries don't care much for enforcement, then you might prefer technical methods such as the submission.
I also suppose you would have to also roll in some kind of automated patching and etc into it which would be rather difficult and break a lot of thing if went bad but some kind of "self healing" bot could perhaps also look after this part to fix anything should it break.
Also kinda opens up an entirely new attack vector. Threat actors could scan for these notices and go "hey this person is dead. lets hack their stuffs".
Bit that's exact trigger you wat.
Make something that keeps running while you pay bills and stops running after you no longer pay them. Pay those bills from your current account.
Make another something that periodically checks the status of the first system to be operational. After sufficiently long periode of failures activatie the cleanup crew.
Pay for the second system from a savings account, trust, llc or some other way that is not deactivated once you die
Not that it happens often, but that the incidents are so memorable.
Normally deadmans switches can be compromised by disrupting the deadman switch hardware. This removes that attack vector and pushes it further up the chain (which may or may not help you).
It's certainly very clever.
Notice from the config file, this doesn't actually do checks, only has passive listeners with a remote switch to toggle. That makes this a dead man's switch, not a watchdog / angel / monitor / heartbeat check.
This doesn't do anything except sit there watching a clock not knowing if you're dead.
The service you want monitored, the service you want to be sure the heart is beating, has to ping this to demonstrate aliveness.
If this doesn't get a ping in time, it then acts by telling pagerduty to alert.
If your service (man) is dead (or your service otherwise can't reach this to check in in time), this switches PD to alert mode.
So, dead man's switch does seem a fair characterization.
Deadcheck also doesn’t rely on your infra to alert.
Depending on where you live, and if it matters, give it to an attorney.
Maybe use this to trigger the notification to your attorney, with instructions on how to double check things before doing things.
Wouldn’t it be better to do this as part of a Terraform script or something? Not to take away from the project, it sure looks neat—just wondering if I really want to deploy yet another, independent IaC tool.
Doesn’t require a start command and your infra can completely fail and you’ll still get alerted.
[0] https://betterstack.com/docs/uptime/cron-and-heartbeat-monit...
They should've sent one welcome&upsell email, not several. And not abused contact info that was intended to reach me reliably and promptly.
For my immediate very simple need, Uptrends didn't spam me, and so far they've reliably and promptly notified me whenever my site is down even briefly (e.g., rebooting for kernel update), so they'll be getting money from me as I grow. https://www.uptrends.com/
Anyway, tl;dr is I never had an issue that resulted in not getting alerted about something that I needed to be alerted about, which, above all else, is the point of their offering.
https://developers.checklyhq.com/reference/postv1checksheart...
I don't think OP is saying that an attorney *can't* get these things done, but that it would make them feel more comfortable knowing that a technically competent person and/or service will be performing the actual actions.
I do think there's a place for an attorney here, in the sense that they could be the trusted individual responsible for notifying DeadManService, Inc. that a particular person has, indeed, passed on and wishes DeadManService to run their instructions.
We called it a dead man's switch but it was really just a way to monitor alertmanager.
We had to implement a “heartbeat” and “succession” in our blockchain-based solutions for organizations to control things together.
It’s part of our “application suite for organizations” where each one is sort of this general-purpose LEGO block that could be used to build a custom solution.
In each case, you’d enter some parameters and create an instance from a Factory. We made it simple and secure for any organization to use this.
In this specific one, ControlFactory is used to create ControlContract instance that can be used to control an address together (to sign off things collectively, like transfer tokens or call an arbitrary method on a different address)
We had to handle what happens if the M of N people don’t show up for a while. And we said they have to call a heartbeat() method every so often. If they fail to call it then control temporarily passes to the next group in succession, until the OGs can finally call the heartbeat() method again.
Here is more info on the why: https://community.intercoin.app/t/intercoin-applications-con...
And here are the rest of the blockchain apps for organizations: https://community.intercoin.app/t/applications-of-intercoin-...
You can go ahead and use it, the factory it’s been deployed on many EVM blockchains, at the same address.
PS: fun fact, you can configure a ControlContract to also manage calling methods on itself, thereby creating custom “policies” for organizations when it comes to granting/recoving rights of other people to the quorum.
If you're going to have to write a scheduled check-in anyways, why not use something like cronitor and reduce the complexity? (they host the check-in endpoint)
I have https://github.com/adamdecaf/deadcheck/issues/12 tracking additional vendors
Edit: I'm open to a PR if you're willing. Curious, but would you use their delayed notification config to implement?
https://apidocs.squadcast.com/?version=latest#7742a9af-29fe-...
Pre-Paying a cloud service pennies per month to do all that for you will likely be more reliable and much simpler.
If you don’t want to use a service like Cronitor, you can self-host this without the usual fear that an outage will also take down your monitoring.