You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
New repository tools should allow hashed-bin delegations #137
Add the add_restricted_paths() method.
Rename libtuf.py
Update README.
Update delegate_hashed_bins() docstring.
More testing of hashed bins and consistent snapshots.
Activity
vladimir-v-diaz commentedon Nov 20, 2013
Example of hashed-bin delegations:
https://github.com/theupdateframework/pypi.updateframework.com/blob/master/delegate_unclaimed_targets.py
JustinCappos commentedon Nov 20, 2013
I thought it is allowed, but there should be a helper function to tell you
what the hash of something is so you can select the right bin.
If so, we should add that function.
On Wed, Nov 20, 2013 at 10:37 AM, Trishank Karthik Kuppusamy <
notifications@github.com> wrote:
trishankkarthik commentedon Nov 20, 2013
Correct, it is technically allowed, but the entire process should be much sweeter.
JustinCappos commentedon Nov 20, 2013
I agree. Let's add the hash helper function. (It must already exist for
client checking but let's just expose what exists.)
On Wed, Nov 20, 2013 at 12:29 PM, Trishank Karthik Kuppusamy <
notifications@github.com> wrote:
vladimir-v-diaz commentedon Jan 2, 2014
As requested, hash helper method added: 2a61a80
trishankkarthik commentedon Jan 5, 2014
Hmm. This is useful, but it still does not complete the picture for developers. I vote for reopening this issue.
JustinCappos commentedon Jan 14, 2014
Can you give a before and after example code so that I can understand what is lacking?
Update issues #151 and #137.
vladimir-v-diaz commentedon Jan 21, 2014
Initial implementation of issue 137.
Update issue #137.
vladimir-v-diaz commentedon Jan 22, 2014
@JustinCappos:
Creating hashed bins with the delegate_hashed_bins() method.
Request a file stored in a hashed bin:
Note: The client only has root.txt.
trishankkarthik commentedon Jan 22, 2014
Very nice --- this is exciting!
On Wed, Jan 22, 2014 at 5:54 PM, Vladimir Diaz notifications@github.comwrote:
Address Issue #137 and update repository_tool.py.
vladimir-v-diaz commentedon Jan 23, 2014
Final updates to #137.
Add the add_restricted_paths() method.
Rename libtuf.py
Update README.
Update delegate_hashed_bins() docstring.
More testing of hashed bins and consistent snapshots.