You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it safe to fix this in the specification or do we need to change our implementations? We did not reach in-toto 1.0 yet..
The text was updated successfully, but these errors were encountered:
shibumi
changed the title
Differences between the Golang and the Python implementation
Differences between the in-toto implementations and the specification
Sep 11, 2021
While investigating in-toto/in-toto-golang#124 I think I have found a bug in our specification.
The question is: What happens when the "command" section in the link file is empty? (Vice versa with "expected_command" for the layout file).
In our Golang implementation such case looks like this right now:
Our python implementation has the following link:
These two are pretty much the same (thank god, that's good!).
Out in-toto specification is different to our implementations, though. In our specification we define the field
"command"
as string not as an array of strings. See: https://github.com/in-toto/docs/blob/master/in-toto-spec.md#44-file-formats-namekeyid-prefixlinkIs it safe to fix this in the specification or do we need to change our implementations? We did not reach in-toto 1.0 yet..
The text was updated successfully, but these errors were encountered: