awslabs / tough

Rust libraries and tools for using and generating TUF repositories

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tuftool: url arguments require a trailing slash

webern opened this issue · comments

Does not work:

cargo run -- download --allow-root-download --targets-url https://updates.bottlerocket.aws/targets --metadata-url https://updates.bottlerocket.aws/2020-07-07/aws-k8s-1.17/x86_64 /tmp/foobar

Does work:

cargo run -- download --allow-root-download --targets-url https://updates.bottlerocket.aws/targets/ --metadata-url https://updates.bottlerocket.aws/2020-07-07/aws-k8s-1.17/x86_64/ /tmp/foobar

Error message is not helpful and it's kinda silly to require the trailing slash