Skip to content

Check Repo Key for Flat Repositories for valid gpg content #56

@wintron04

Description

@wintron04

in /etc/berrymill/berrymill.conf, if the URL for flat repositories is wrong, berrymill will not detect this.

It will try to download a key and write it. However it will get an error response from the server and write this html response thinking its a key.... Kiwi will then try to use this "fake key" and complain that it is no valid gpg data.

Fix: Check the downloaded key for valid gpg data before proceeding with writing the key
https://github.com/isbm/berrymill/blob/main/src/berry_mill/kiwrap.py#L88

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions