in-toto / specification

Specification and other related documents.
https://in-toto.io
MIT License
41 stars 26 forks source link

Inconsitencies between the in-toto specification and reference implementations: to `_name` or to `name`, that is the question #24

Closed adityasaky closed 4 years ago

adityasaky commented 4 years ago
lukpueh commented 4 years ago

I'm in favor of fixing the spec, i.e. _name should become name in the spec. IMO field display order should be handled elsewhere, e.g. in an in-toto pretty-print --format-<XYZ> tool (see https://github.com/in-toto/in-toto/issues/18 and #5). Especially since neither JSON nor Python dict keys are strictly alphabetically ordered.

adityasaky commented 4 years ago

I noticed another inconsistency:

The specification has the inspections field with the key inspections but our implementations and existing metadata uses inspect.

shibumi commented 4 years ago

This should be fixed with the latest PR. Can we close it? @adityasaky @SantiagoTorres

adityasaky commented 4 years ago

Yessir. Thanks for working on it, @shibumi!