create internal VerifierNode/RepairerNode classes #847

Open
opened 2009-11-30 23:48:48 +00:00 by warner · 3 comments

I'd like to have a set of VerifierNode and/or RepairerNode classes, created by the nodemaker, which implement IVerifiable and IRepairable (but not IFilesystemNode). This would be the first step towards fixing #482, by giving us an object that represents what we can do with a given verifycap/repaircap.

I'm thinking that these objects might be created with or without the integrity information. If without, it would just wrap a storage-index. It'd be nice to be able to find out what the SI represents, determine its UEB value (by consensus, not by cryptographically-ensured integrity values), and then verify/repair the file on the assumption that those shares were correct.

I'd like to have a set of `VerifierNode` and/or `RepairerNode` classes, created by the nodemaker, which implement `IVerifiable` and `IRepairable` (but not `IFilesystemNode`). This would be the first step towards fixing #482, by giving us an object that represents what we can do with a given verifycap/repaircap. I'm thinking that these objects might be created with or without the integrity information. If without, it would just wrap a storage-index. It'd be nice to be able to find out what the SI represents, determine its UEB value (by consensus, not by cryptographically-ensured integrity values), and then verify/repair the file on the assumption that those shares were correct.
warner added the
code
minor
task
1.5.0
labels 2009-11-30 23:48:48 +00:00
warner added this to the eventually milestone 2009-11-30 23:48:48 +00:00
davidsarah commented 2009-12-06 00:15:43 +00:00
Owner

Replying to warner:

It'd be nice to be able to find out what the SI represents, determine its UEB value (by consensus, not by cryptographically-ensured integrity values), and then verify/repair the file on the assumption that those shares were correct.

When would you have a storage index but not a verify cap? If we had traversal/deep-verify caps, would that obviate the need for this feature? It seems risky to be encouraging attempts to repair a file without having sufficient information to be sure that the repair is correct.

Replying to [warner](/tahoe-lafs/trac-2024-07-25/issues/5909): > It'd be nice to be able to find out what the SI represents, determine its UEB value (by consensus, not by cryptographically-ensured integrity values), and then verify/repair the file on the assumption that those shares were correct. When would you have a storage index but not a verify cap? If we had traversal/deep-verify caps, would that obviate the need for this feature? It seems risky to be encouraging attempts to repair a file without having sufficient information to be sure that the repair is correct.
davidsarah commented 2010-02-11 01:25:25 +00:00
Owner

I think this is more useful to fix #568 (make immutable check/verify/repair and mutable check/verify work given only a verify cap) rather than #482.

I think this is more useful to fix #568 (make immutable check/verify/repair and mutable check/verify work given only a verify cap) rather than #482.
tahoe-lafs added
major
and removed
minor
labels 2010-02-11 01:25:25 +00:00
tahoe-lafs modified the milestone from eventually to 1.7.0 2010-02-11 01:25:25 +00:00
zooko modified the milestone from 1.7.0 to soon 2010-05-30 21:30:41 +00:00
daira commented 2017-03-07 18:37:12 +00:00
Owner
See <https://github.com/tahoe-lafs/tahoe-lafs/pull/408> , which adds `IVerifyNode`.
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: tahoe-lafs/trac-2024-07-25#847
No description provided.