TODO.txt 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. # Format: - <task ID>, <task points>, <created by user>, <created on commit>, <finished by user>, <finished on commit>
  2. !- 0, 3, mdcarr941@gmail.com, 2ebb8a
  3. Fix bug where writing to a block that already has a Writecap in its header using the creds of
  4. a different node produces an invalid signature (a signature using the creds of the other node).
  5. - 1
  6. Fix BufSectored so it doesn't have to write to the first sector every flush.
  7. - 2
  8. Track position and dirty-ness in Trailered.
  9. - 3
  10. Implement a stream which is both Read and Write and which can transparently compress and decompress
  11. data written to and read from it.
  12. - 4
  13. Remove TryCompose?
  14. !- 5, 1, mdcarr941@gmail.com, bd6904, mdcarr941@gmail.com, bd6904
  15. Move crypto::{encrypt, decrypt} into corresponding {EncrypterExt, DecrypterExt}.
  16. !- 7, 2, mdcarr941@gmail.com, ?, mdcarr941@gmail.com, fd4356
  17. Add a ser_sign_into method to SignerExt which serializes a value into a provided Vec<u8> and returns
  18. a signature over this data. Update BlockStream::flush_integ to use this method.
  19. - 8
  20. Convert all sector sizes to u32 for portability.
  21. - 9
  22. Create an extension trait for u64 with a method for adding an i64 to it. Use this in
  23. SecretStream::seek, Trailered::seek and SectoredBuf::seek.
  24. !- 10, 5, mdcarr941@gmail.com, ?, mdcarr941@gmail.com, fd4356
  25. Create a struct which digests data written to it before passing it to an underlying Write.
  26. !- 11, 3, mdcarr941@gmail.com, bd6904, mdcarr941@gmail.com, bd6904
  27. Create a struct called WritecapBody to contain the fields of Writecap which go into the signature
  28. calculation so that WritecapSigInput is no longer required.
  29. - 12, 8, mdcarr941@gmail.com, 2ebb8a,
  30. Create a struct for managing the directory used to store blocks in the file system. Design and
  31. implement an API for creating, opening, moving, copying, deleting and linking blocks. This API must
  32. be codified by a trait to allow the implementation to be changed in the future.
  33. !- 13, 5, mdcarr941@gmail.com, ?, mdcarr941@gmail.com, fd4356
  34. Change the Hash enum so it contains structs for each hash type. Unify these structs with the node
  35. structs used in the VecMerkleTree.
  36. !- 14, 13, mdcarr941@gmail.com, bd6904
  37. Refactor btlib so that most of the types are in their own modules. This is
  38. needed to encourage modularity and weak coupling, as it reduces the amount of code that fields
  39. and helper functions are visible to.
  40. - 15, 13, mdcarr941@gmail.com, 58d1f6,
  41. Create a new crate which implements a FUSE daemon.
  42. !- 16, 5, mdcarr941@gmail.com, 866533,
  43. Add the inherit field, which contains the crypto link from the parent block key to the current
  44. block key, to the block metadata.
  45. - 17, 13, mdcarr941@gmail.com, 8665339,
  46. SECURITY: Design and implement a mechanism to protect the keys in block's metadata dictionary from
  47. being correlated with one another. This mechanism must allow a principal with a readcap to be able
  48. to find their readcap and to rotate the block and create new readcaps for each of the principals in
  49. the dictionary, but prevent an attacker from being able to identify when two blocks contain
  50. readcaps for the same principal.
  51. - 18, 3, mdcarr941@gmail.com, 8665339,
  52. SECURITY: Remove the path field from BlockMeta. It isn't needed as the block path should be
  53. independently know by any verified. This will ensure that path names are not stored in cleartext.
  54. - 19, 21, mdcarr941@gmail.com, 8665339,
  55. Integrate with tokio and add async methods to all of the stream types.
  56. - 20, 5, mdcarr941@gmail.com, ef1d43,
  57. Rewrite BlockPath to be more efficient by ensuring that all characters in a path are contiguous
  58. in memory.
  59. - 21, 13, mdcarr941@gmail.com, fd4356,
  60. Create a type to hold a pipeline of streams. New traits will need to be added for each of the
  61. components of the pipeline to implement. Require that the last pipeline component be a particular
  62. sub-type of this trait. This will allow me to get rid of the dyn Block objects, as they can be
  63. replaced by instances of this pipeline type.
  64. !- 22, 8, mdcarr941@gmail.com, fe2ffc, mdcarr941@gmail.com, fe2ffc
  65. Add a new fields to BlockMeta which stores data encrypted using the block key. This information must
  66. include:
  67. * mode bits as u32
  68. * Unix timestamps
  69. * owner UID and GID
  70. * size of block data in bytes as u64
  71. * number of hardlinks to the block
  72. Also include a dictionary for user data, which is indexed using a String and whose values are
  73. Vec<u8> structs.
  74. - 23, 5, mdcarr941@gmail.com, 7f33fa,
  75. Manually implement the Serialize trait for BlockMetaBody so that the secrets field can be lazily
  76. updated upon serialization if the secrets_struct field has been modified. In order to detect
  77. modifications, a new field with the serde(skip) attribute needs to be added to BlockMetaBody to
  78. store the hash of BlockMetaSecrets that was computed just after decryption.