5 ms·
Packnback: asymmetrically encrypted backups
- marmaduke 8y agoWhy aren’t borg keys good enough? Why not just contribute that to borg?
- snaky 8y agoDiscussed at https://github.com/borgbackup/borg/issues/672 https://github.com/borgbackup/borg/issues/672
- blattimwind 8y agoBecause the Borg code base is a hot mess while the existing crypto in Borg is pretty much the equivalent of a dumpster fire. ("The project" also has rather severe contributor and maintainer retention issues given it went through four maintainers in only two years.)
- jsiepkes 8y agoWhile everyone is of course free to start his/hers project there is a whole bunch of projects which basically does the same thing like: deduplication, client can append backups only, server side client backup rotation / pruning, etc. For example restic ( https://restic.net/ https://restic.net/ ) does everything the author describes in the ideal feature set ( https://packnback.github.io/blog/work_begins/ https://packnback.github.io/blog/work_begins/ ) except for asymmetric encrpytion. Though there is an issue open for that and iirc they are working on it. Contributing to that project would probably be easier? Another existing very interesting project to contribute to is rdedup ( https://github.com/dpc/rdedup https://github.com/dpc/rdedup ) which is written in Rust. There is a whole list over here of existing backup solutions: https://github.com/restic/others https://github.com/restic/others Judging from the comparisons made in the introduction blog post by the author I think he / she missed the existence of a bunch of existing solutions. EDIT: This was supposed to be a reply to the comment in which marmaduke asked "why start a new project?"
- blattimwind 8y agoAsymmetric crypto for backups feels overrated to me. The "write-only mode" argument makes sense, if the backup target holds data from other nodes, but that doesn't require asymmetric crypto. The "shouldn't be able to read own backups by default because what if it's hacked" argument doesn't seem to hold much water to me, because the most valuable secrets will generally be those in active use on the machine.
- justin_oaks 8y agoAsymmetric crypto allows you to use the same public key across all your machines without the concern that one compromised machine will leak the key for all of them.
- blattimwind 8y agoLike I said, access control does not require asymmetric crypto.
- justin_oaks 8y agoLayered security. If there's a vulnerability in your access control, the encryption prevents data from being accessed (decrypted). If there's a vulnerability in the encryption, the access control prevents the data from being read.
- blattimwind 8y agoI'm not saying it shouldn't be done, but I've seen a number of projects which have been started (and afaik abandoned as soon as the author saw that backup software isn't quite so simple to develop) specifically because asymmetric crypto was seen as a missing flagship feature. What I'm saying here is, if you start a new backup software project today, there are more important things to consider and failings of existing software to address than not supporting asymmetric crypto. Do the encryption right. Do proper access controls. Get concurrency right. Get deduplication right. Get your archive/snapshot format right. Get filesystem interaction and testing right. Maybe you think existing software does all of that already; it doesn't. (Though I am actually convinced that you can't design a piece fulfilling these requirements without having a lot of prior experience developing backup software — conversely that's the reason why most backup software is so half-baked: they're all first designs, by the time a developer has the necessary experience to do a better second design, they're fed up with backup software and move on).
- heinrichf 8y agoDuplicity https://www.nongnu.org/duplicity/ https://www.nongnu.org/duplicity/ also supports asymmetric encryption (and works with many protocol/file servers).
- blattimwind 8y ago> To access the source code see it on github. remember this project is just starting, so there is not much to see yet. In fact, there is nothing to see yet, because there isn't any code on Github.