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_trust
POST /api/content-trust/upload-root
endpoint is used to uploadroot.json
files.POST /api/content-trust/upload-key-mgr
endpoint is used to uploadkey_mgr.json
files.POST /api/content-trust/private-key
endpoint is used to add aprivate key
for a particularchannel
in the database. The endpoint expects a JSON with two fields:{channel: abc, private_key: xyz}