vmware-archive / repository-editor-for-tuf

Command line tool for editing and maintaining a TUF repository
Apache License 2.0
5 stars 3 forks source link

verify & snapshot interaction is a bit broken #37

Closed jku closed 2 years ago

jku commented 2 years ago

original idea was that verify would fail if there are files that are not in snapshot: this way the snapshot workflow (in tuf-demo repo) would try to do a new snapshot if verify fails.

this has been a bit lost in some refactor and verify does not currently check if files are are part of snapshot: making new snapshot would work but the tuf-demo workflow does not actually try to make a new snapshot unless verify fails because it wants to avoid doing unnecessary snapshot updates

Two choices:

cc @MVrachev this is what's preventing tuf-demo from working at the moment. I'll have a look some time soon