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

unresolved reference AddKeyWithSchemeAndExpires()

Open udf2457 opened this issue 2 years ago • 2 comments
trafficstars

I'm integrating go-tuf with a thin wrapper so I can use it with a Yubikey.

For that I need to use a few of the functions from repo, one of them is repo.AddKeyWithSchemeAndExpires().

However GoLand is telling me it is an unresolved reference. Am I being stupid here ?

RepoMissingTUF

RepoStruct is just a thin local wrapper:

type RepoStruct struct {
	repo *tuf.Repo
}

udf2457 avatar Oct 06 '23 17:10 udf2457

That function is relatively new, and I don't think there's been a release since it was merged in. Hopefully there will be a release relatively soon with the new features in.

Edward13ruf avatar Nov 12 '23 15:11 Edward13ruf

@udf2457 The code base changed so I'll leave this open for some time, but feel free to close if you think this is no longer relevant 👍

rdimitrov avatar Jan 31 '24 21:01 rdimitrov