You are not logged in.

#1 2011-09-18 19:30:44

toru
Member
Registered: 2011-03-22
Posts: 27

Arch Repository Server Security

I'm not trying to get everyone in a hissy about package signing, that's not what this post is about.  I was wondering what measures are currently being taken to make sure that the  main repository server is untampered with.

It is my understanding that the devs are waiting until the next version of pacman to implement someone's idea of adding sha256 hashes to the database.  This is going to be for pacman to verify packages.  Said person didn't make any patches, the devs ended up making them, yada yada.  Kind of pointless if package signing is to be implemented by that point anyway.

Is something stopping the devs from making up a list of sha256 sums and then signing that and putting it out there for the piece of mind of paranoid users such as myself?  Is it the fact that these packages aren't fully trusted that makes them not want to do this?  If you have a database of trusted packages there are plenty of tools out there already that will make a list of sha256 sums with a simple command.  It seems to me like this would up the security greatly with very little work.

Perhaps my idea is flawed, and maybe it's already been said time after time.  That brings me back to the original question.  What is currently being done to verify the security of these servers?  Is it nothing?  Or are they being heavily monitored?

Offline

#2 2011-09-18 19:58:07

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Arch Repository Server Security

we sign our packages since long time ago


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2011-09-18 20:09:58

toru
Member
Registered: 2011-03-22
Posts: 27

Re: Arch Repository Server Security

wonder wrote:

we sign our packages since long time ago

I was under the impression most packages weren't signed yet.  Is that not true?  Would the unsigned packages pose no threat?

I would like to get to the bottom of this for my own peace of mind.

Offline

#4 2011-09-18 20:11:06

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Arch Repository Server Security

toru wrote:
wonder wrote:

we sign our packages since long time ago

I was under the impression most packages weren't signed yet.  Is that not true?  Would the unsigned packages pose no threat?

I would like to get to the bottom of this for my own peace of mind.

we sign them gradually when they are updated.


Give what you have. To someone, it may be better than you dare to think.

Offline

#5 2011-09-18 22:04:16

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,648
Website

Re: Arch Repository Server Security

There is little point in rushing to get these sorts of things done when no-one even checks what is already there...   This might not show in the current version of pacman, but many package have:

> pacman -Si glibc
...
MD5 Sum        : 79baa0cbc0a226b11417b293860d5470
SHA256 Sum     : ec042518012a32243a0ac11ec710e83fe687ee5603e0f0056005435810dd5d32
Signatures     : Yes

If people were actually using that information, then it might be worth us spending the time to get it completely done across the repo...

Offline

#6 2011-09-18 22:08:04

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,601

Re: Arch Repository Server Security

Allan wrote:

There is little point in rushing to get these sorts of things done when no-one even checks what is already there...

Well, that is a bit of a broad brush, isn't it wink


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#7 2011-09-19 22:01:36

Leonid.I
Member
From: Aethyr
Registered: 2009-03-22
Posts: 999

Re: Arch Repository Server Security

ewaller wrote:
Allan wrote:

There is little point in rushing to get these sorts of things done when no-one even checks what is already there...

Well, that is a bit of a broad brush, isn't it wink

Not necessarily. IIRC linux (kernel26) packages were signed even before pacman 4rc became available. And what's the point of sha256sums then?

@Allan, is that pacman-git? I don't see the "Signatures: " field in pacman 4.0 rc1...

Last edited by Leonid.I (2011-09-19 22:02:18)


Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd

Offline

#8 2011-09-19 22:45:53

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,648
Website

Re: Arch Repository Server Security

Leonid.I wrote:

@Allan, is that pacman-git? I don't see the "Signatures: " field in pacman 4.0 rc1...

Yes.

Offline

Board footer

Powered by FluxBB