| Oh boy do I have opinions with this one. This seems like a lot of work to avoid using a perfectly good package manager on the device. They could have used rsync without installing rsync on the device. The target device doesn't need to have rsync for rsync to be used. They could have installed the package manager and left it. It doesn't run anything in the background on my device. It's easy enough to verify you don't have a systemd service or timer running it. (cron isn't installed, iirc) They could have compiled rsync with all of the libraries bundled with it. (Maybe this is beyond their expertise?) Their solution is using Docker to use the package manager and then overwriting system files on the device in the worse possible way, without understanding what they are doing. At that point, they verified in Docker. Should be safe to run it on the tablet then, yes? What attack vector are they worried about? :/ Toltec is actively worked on, odds are someone would notice someone else fucking with repository. The cherry on top was completely not understanding how the remarkable works. There are two partitions for a reason. The inactive one is used for software updates. When the reMarkable downloads an update, it downloads it to the inactive partition. When you "install" the update, it flips which of the two partitions is active.
If the update fails to boot, it flips back to the known good state. All they had to do was switch the active partition, the next update would overwrite the broken partition. https://github.com/ddvk/remarkable2-recovery/issues/6 This looks like a bad case of tunnel vision, combined with a lack of understanding. I'm glad they managed to figure out how to fix it. |
> Going further down the rabbit hole, the toltec GitHub page mentions that it works on top of the Entware distribution, and recommends what is basically “wget | bash”. I’m not a fan of this. Could I install my own rsync?
We made sure that the toltec install process includes a hash of the install script to prove that it isn't modified by a man-in-the-middle. Toltec itself requires the use of SSL to connect after the fact, which lowers the risk after it's been installed. We are also exploring the implications of adding package signing[0].
0. https://github.com/toltec-dev/build/issues/14