-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
simpler NormalizeTargets #82
Conversation
Thanks! Please add a DCO sign-off (I just realized that we're missing a CONTRIBUTING file). |
Ah yep, no worries. Are you interested in the changes I made around verifiers (see my master branch, signed/verifiers.go and updates to signed/verify.go)? I'd be happy to port them over. |
Yeah, pluggable signature verification makes sense, ideally with RSA off by default. |
Cool, I'll get that ported sometime this week |
ugh, ignore for a bit, I screwed up my branches... :-P |
Signed-off-by: David Lawrence <[email protected]> (github: endophage)
There we go. |
LGTM, Thanks! |
theupdateframework#82) Since TUF spec 1.0.32 the key type for ecdsa does not include the parameters, they are only part of the key-scheme. This commit updates the default keytype to not include the parameters, but includes a compatibility key type to be able to accept metadata compliant with older versions of the spec. Signed-off-by: Fredrik Skogman <[email protected]>
#82) Since TUF spec 1.0.32 the key type for ecdsa does not include the parameters, they are only part of the key-scheme. This commit updates the default keytype to not include the parameters, but includes a compatibility key type to be able to accept metadata compliant with older versions of the spec. Signed-off-by: Fredrik Skogman <[email protected]>
path.Join("/", foo)
will always add a/
on the front offoo
and additionally apath.Clean
happens internally as part ofpath.Join