theupdateframework / go-tuf

Go implementation of The Update Framework (TUF)
https://theupdateframework.com
Apache License 2.0
630 stars 107 forks source link

Revisit path handling for proper Windows support #605

Closed rdimitrov closed 9 months ago

rdimitrov commented 9 months ago

This issue is about revisiting the way paths are handled within the project and update them accordingly so they work properly on non-Unix environments, such as Windows.

There are places where we construct paths out of one or more strings (even URLs) and these seem to cause failures on Windows because of the improper path separator.

Running our set of examples on windows-latest seems to help reproduce this issue, for reference - https://github.com/theupdateframework/go-tuf/pull/604

rdimitrov commented 9 months ago

FYI @jonnystoten

rdimitrov commented 9 months ago

I've reopened it until we fixed the multi repo issue too 👍