Skip to content

Commit f26e0d1

Browse files
committed
Update tuf_conformance
Signed-off-by: Samuel Giddins <[email protected]>
1 parent 6f79ad5 commit f26e0d1

File tree

3 files changed

+2
-10
lines changed

3 files changed

+2
-10
lines changed

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ end
130130
GitRepo.define_task(:tuf_conformance).tap do |task|
131131
task.path = "test/tuf-conformance"
132132
task.url = "https://github.com/theupdateframework/tuf-conformance.git"
133-
task.commit = "649423d80c91dd5f803b7bbe691d9e2b304b1384"
133+
task.commit = "ac4e663cb0120e15e7dad5131dd968092e131ee6"
134134
end
135135

136136
namespace :tuf_conformance do

bin/tuf-conformance-entrypoint

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ OptionParser.new do |parser|
2727
end
2828
parser.on("--target-base-url U") do |v|
2929
args << "--target-base-url" << v
30-
args << "--no-prefix-targets-with-hash"
3130
end
3231
parser.on("--target-name N") do |v|
3332
args << v

lib/rubygems/commands/sigstore_tuf_download_target_command.rb

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ module Commands
2323
class SigstoreTufDownloadTargetCommand < Gem::Command
2424
def initialize
2525
super("sigstore-tuf-download-target", "download a target from a TUP repo")
26-
@prefix_targets_with_hash = true
2726

2827
add_option("--metadata-url url", String) do |v|
2928
@metadata_url = v
@@ -42,9 +41,6 @@ def initialize
4241
add_option("--target-base-url url", String, "base url for target download") do |url|
4342
@target_base_url = url
4443
end
45-
add_option("--[no-]prefix-targets-with-hash") do |prefix_targets_with_hash|
46-
@prefix_targets_with_hash = prefix_targets_with_hash
47-
end
4844
end
4945

5046
def execute
@@ -54,13 +50,10 @@ def execute
5450

5551
kwargs = {}
5652
kwargs[:target_base_url] = @target_base_url if @target_base_url
57-
config = Sigstore::TUF::UpdaterConfig.new(
58-
prefix_targets_with_hash: @prefix_targets_with_hash
59-
)
6053
trust_updater = Sigstore::TUF::TrustUpdater.new(
6154
@metadata_url, false,
6255
metadata_dir: @metadata_dir, targets_dir: @targets_dir, target_base_url: @target_base_url,
63-
config: config, **kwargs
56+
**kwargs
6457
)
6558

6659
options[:args].each do |target|

0 commit comments

Comments
 (0)