[tahoe-lafs-trac-stream] [tahoe-lafs] #1593: the drop-upload dircap should be in ~/.tahoe/private/

tahoe-lafs trac at tahoe-lafs.org
Sun Nov 20 12:06:43 UTC 2011


#1593: the drop-upload dircap should be in ~/.tahoe/private/
---------------------------+--------------------------
 Reporter:  zooko          |          Owner:  somebody
     Type:  defect         |         Status:  new
 Priority:  major          |      Milestone:  1.10.0
Component:  code           |        Version:  1.9.0
 Keywords:  configuration  |  Launchpad Bug:
---------------------------+--------------------------
 We like to keep anything confidential out of {{{~/.tahoe/tahoe.cfg}}} and
 in {{{~/.tahoe/private/}}}. This allows people to share their
 {{{tahoe.cfg}}} or an excerpt from it without risking disclosure of
 sensitive information. Unfortunately the dircap for the "drop upload"
 feature is currently stored in {{{~/.tahoe/tahoe.cfg}}}. To close this
 ticket, start reading that dircap out of {{{~/.tahoe/private/}}} and
 deprecate its appearance in {{{~/.tahoe/tahoe.cfg}}}.

 Decisions we have to make while doing this:

 1. Where does it appear in {{{~/.tahoe/private/}}}? I would recommend its
 own file, perhaps named {{{~/.tahoe/private/drop-upload.cap}}}.

 2. How to handle if you detect a cap in the old location in
 {{{tahoe.cfg}}}, in a key named {{{[drop_upload]upload.dircap}}}? I
 suggest to raise an error, similar to the way we do
 [source:trunk/src/allmydata/node.py?annotate=blame&rev=5123#L136 if an
 old-style config file is detected].

 == “'Twere well it were done quickly” ==

 Since drop-upload was explicitly marked as an "experimental" feature in
 v1.9.0 that we reserved the right to change in backwards-incompatible
 ways, we shouldn't worry too much about forcing users who have already
 started using it to change their config files if they want their Tahoe-
 LAFS gateway to start up. But, the longer we leave it there, the more
 people will come to rely on it, and the more we'll feel like we ought to
 go through the long process of gracefully deprecating it in its old
 location before finally, years later, removing it altogether. So let's
 hurry and remove it altogether now!

-- 
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1593>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list