sdumetz / aptly-web-ui

Simple web UI for aptly
MIT License
36 stars 11 forks source link

Configure GPG to API Publish #8

Open dakotadelnorte opened 5 years ago

dakotadelnorte commented 5 years ago

When I upload a deb file, select the file and click to the reposirory when i want to upload.

The result is the repository is updated, but not published.

I should publish the repo with the following API query:

curl -X PUT -H 'Content-Type: application/json' --data '{"Signing": { "GpgKey": "XXXXXXX", "Batch":true, "PassphraseFile":"/my/secret/folder"}}' http://localhost:8080/api/publish/dev/xenial

I would like set the GpgKey in a config file of this web ui.

Could be possible?

sdumetz commented 5 years ago

No Idea how I would implement this, sorry. I'll look into it if I have more time to put into this project someday.