theupdateframework / go-tuf

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

unresolved reference AddKeyWithSchemeAndExpires() #556

Open udf2457 opened 12 months ago

udf2457 commented 12 months ago

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
}
ChevronTango commented 10 months ago

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.

rdimitrov commented 8 months ago

@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 👍