rust-tuf icon indicating copy to clipboard operation
rust-tuf copied to clipboard

Consistent snapshot feature is not completely implemented

Open erickt opened this issue 7 years ago • 1 comments

I noticed that inside Client::_fetch_target during the section we're updating the metadata, we're using MetadataVersion::None when getting the local target metadata, but using MetadataVersion::Hash(...) when getting the remote target metadata. Is this on purpose? If so, can you add a note to make it clear we're being inconsistent?

erickt avatar Jul 24 '18 23:07 erickt

This is a partial bug in that the consistent_snapshot feature is not totally correct. I think this was left over because of #146. #96 was the original ticket, but it seems I missed some things.

heartsucker avatar Jul 27 '18 15:07 heartsucker