This is a plugin to use with the quetz package server.
It generates signed repodata files for different subdirs of a particular channel.
However, this is only done when a private key for that particular channel exists in the database.
See usage section below for more details.
To install use:
quetz plugin install plugins/quetz_content_trustPOST /api/content-trust/upload-rootendpoint is used to uploadroot.jsonfiles.POST /api/content-trust/upload-key-mgrendpoint is used to uploadkey_mgr.jsonfiles.POST /api/content-trust/private-keyendpoint is used to add aprivate keyfor a particularchannelin the database. The endpoint expects a JSON with two fields:{channel: abc, private_key: xyz}