Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
sphinx: pad out the starting packet with random bytes #40
By padding out the starting packet with random bytes rather than leaving
In order to reconcile this with our existing set of test vectors, we've
Latest push should now pass the build. We now require the caller specify a packet filler. In
By padding out the starting packet with random bytes rather than leaving the zeroes in tact, we patch a privacy leak that may reveal a lower bound on the true route length to an adversarial exit node. In order to reconcile this with our existing set of test vectors, we've introduced a new abstraction that allows the caller to specify how they want the starting bytes of the packet to be filled out. By default, all callers will use the `randPacketFiller`, but may also pass in the `blankPacketFiller`, if they packet construction to be deterministic.