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
When dealing with the filesystemStore local store implementation, there are issues using the consistent snapshot option where targets will not have filenames with prepended hashes, preventing clients finding targets in the repo.
Following a simple repo creation with cmd/tuf and consistent snapshots:
Following this, our file target ends up in repository\targets\file, which is incorrect since we have consistent snapshots enabled.
We would expect, and following the same process on Linux we would see, that the file should end up prepended with a hash, such as repository\targets\cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e.file.
The problem is that the filesystemStore local store implementation conflates filepaths and paths, which of course are different on Windows. Because of this it sees targets\file as a metadata file rather than a target:
When dealing with the
filesystemStore
local store implementation, there are issues using the consistent snapshot option where targets will not have filenames with prepended hashes, preventing clients finding targets in the repo.Following a simple repo creation with
cmd/tuf
and consistent snapshots:Following this, our
file
target ends up inrepository\targets\file
, which is incorrect since we have consistent snapshots enabled.We would expect, and following the same process on Linux we would see, that the file should end up prepended with a hash, such as
repository\targets\cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e.file
.The problem is that the
filesystemStore
local store implementation conflates filepaths and paths, which of course are different on Windows. Because of this it seestargets\file
as a metadata file rather than a target:The text was updated successfully, but these errors were encountered: