storage: remove the storage server's "remote_cancel_lease" function
authorZooko O'Whielacronx <zooko@zooko.com>
Mon, 12 Sep 2011 22:23:31 +0000 (15:23 -0700)
committerZooko O'Whielacronx <zooko@zooko.com>
Mon, 12 Sep 2011 22:23:31 +0000 (15:23 -0700)
commit5476f67dc1177a26b69fd67fbe589842f065d482
tree4546695222f8a59d1b136d9d695a962641c4b6ad
parent65de17245da26a4ce00aa7c441d6bf81464a6e65
storage: remove the storage server's "remote_cancel_lease" function
We're removing this function because it is currently unused, because it is dangerous, and because the bug described in #1528 leaks the cancellation secret, which allows anyone who knows a file's storage index to abuse this function to delete shares of that file.
fixes #1528 (there are two patches that are each a sufficient fix to #1528 and this is one of them)
docs/garbage-collection.rst
src/allmydata/interfaces.py
src/allmydata/storage/server.py