Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken ArchLinux package signatures #1907

Closed
ItachiSan opened this issue Jul 4, 2016 · 2 comments
Closed

Broken ArchLinux package signatures #1907

ItachiSan opened this issue Jul 4, 2016 · 2 comments

Comments

@ItachiSan
Copy link

ItachiSan commented Jul 4, 2016

Recently, Arch packages signatures have been readded to the build server (see 32384a5).

The database signature works properely, but the package one does not.
I discussed on the ArchLinux general mailing list and this popped out:
https://lists.archlinux.org/pipermail/arch-general/2016a-July/041531.html
The actual signature added to the database (specifically, the desc file of each package) contains newlines, which pacman does not recognise, as it expects %PGPSIG% to be on a single line.
To fix the problem, newlines should be removed.
I am not sure, but maybe it can be done in this line:
https://github.com/openSUSE/open-build-service/blob/master/src/backend/bs_mkarchrepo#L93
but I have no knowledge of perl, so I sincerely don't know.

@ItachiSan
Copy link
Author

I've created a quick fix (not dirty, also...!) that is present here: #1908
Maybe not the fanciest thing, but works and it's my first time with Perl. 😛
On server side, you should run the bs_mkarchrepo for all the existent Arch repositories to have the signature fixed.

@mlschroe
Copy link
Member

mlschroe commented Jul 4, 2016

Merged, thanks!

@mlschroe mlschroe closed this as completed Jul 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants