Re: [arch-dev-public] /r/linux AMA

2018-08-12 Thread Florian Pritz via arch-dev-public
- Bluewind
- Developer, DevOps
- any monday should be fine

Can't promise how much I'll answer, but I'll try.

Florian


signature.asc
Description: PGP signature


Re: [arch-dev-public] /r/linux AMA

2018-08-12 Thread Eli Schwartz via arch-dev-public
On 8/9/18 12:41 PM, Morten Linderud via arch-dev-public wrote:
> Yo!
> 
> The subreddit /r/linux have started organizing AMA threads for relevant
> projects. Gentoo had one of these a few months ago and is an interesting read.
> 
> https://www.reddit.com/r/linux/comments/8nsdj0/we_are_gentoo_developers_ama/
> https://www.reddit.com/r/linux/comments/93qlow/established_project_developer_team_member_flairs/
> 
> I think it's a good idea Arch Linux does an AMA as it's might give users some
> incentive to help contributing to the project. I have chatted with a subreddit
> mod at /r/linux, and the AMA should preferably start on any Monday from 27th 
> and
> onwards. It will also run for a few days, so there is no need to be present 
> all
> the time, or when it starts.
> 
> 
> If you are interested participating please reply to the list with the 
> following
> information:
> 
> * Reddit username.
> * What you do.
> * What Monday fits for you?
> 
> I have also started handing out flairs on the /r/archlinux subreddit. It's not
> an official forum, but if developers and team members want flairs for their
> reddit accounts you can also reply to this mail or poke me on IRC :)

/u/eli-schwartz

I'm a Bug Wrangler and Trusted user. I like poking things to make them
work, I also contribute frequently to various Arch projects, e.g.
pacman, and maintain dbscripts.

I can probably find time most Mondays.

-- 
Eli Schwartz
Bug Wrangler and Trusted User



signature.asc
Description: OpenPGP digital signature


Re: [arch-dev-public] /r/linux AMA

2018-08-12 Thread Jelle van der Waa
On 08/09/18 at 06:41pm, Morten Linderud via arch-dev-public wrote:
> Yo!
> 
> The subreddit /r/linux have started organizing AMA threads for relevant
> projects. Gentoo had one of these a few months ago and is an interesting read.
> 
> https://www.reddit.com/r/linux/comments/8nsdj0/we_are_gentoo_developers_ama/
> https://www.reddit.com/r/linux/comments/93qlow/established_project_developer_team_member_flairs/
> 
> I think it's a good idea Arch Linux does an AMA as it's might give users some
> incentive to help contributing to the project. I have chatted with a subreddit
> mod at /r/linux, and the AMA should preferably start on any Monday from 27th 
> and
> onwards. It will also run for a few days, so there is no need to be present 
> all
> the time, or when it starts.
> 
> 
> If you are interested participating please reply to the list with the 
> following
> information:
> 
> * Reddit username.
> * What you do.
> * What Monday fits for you?

* jvdwaa
* Developer, Security Team, DevOps, Reproducible builds, Archweb maintainer
* Most mondays

-- 
Jelle van der Waa


signature.asc
Description: PGP signature


Re: [arch-dev-public] Automatic Signing of ISOs, pacman databases and everything else (was: Arch Linux Cloud Images (virtualbox and Qemu))

2018-08-12 Thread Jelle van der Waa
On 05/15/18 at 05:43pm, Bruno Pagani via arch-dev-public wrote:
> Le 15/05/2018 à 17:25, Florian Pritz via arch-dev-public a écrit :

Just going to necro-bump this thread, since we didn't arrive at a
conclusive descision.

> 
> > On 13.05.2018 22:47, Christian Rebischke via arch-dev-public wrote:
> >> We could just generate an automated cloud image signing key (only for
> >> this purpose) of course and automatically sign the images with that key.
> >> Problem with this is: If our build server ever get pwned the person will
> >> have these keys for signing cloud images as well. Any opinion about
> >> this?
> > We had that discussion some years ago about signing our pacman
> > databases. I mostly remember that we didn't reach a consensus, but you
> > might want to search the archives for details. At some point there was a
> > proposal to have a dedicated signing host that is well protected and
> > receives files and then returns the signature. I'm not sure if that was
> > turned down or if there was simply nobody to work on this. Does anyone
> > remember that?
> >
> > I think this would be a viable option for us. We could also implement
> > some form of rate limiting and sanity checks to ensure we only sign
> > things that we want to sign. For example, only one ISO can be signed per
> > month and the request must come from a specific IP. I probably won't do
> > any implementation, but I'd offer to provide feedback and design help if
> > someone wants to work on this. Assuming we first agree that we want to
> > do it this way.

I believe this solution is the way to go.

> To me this is quite a good idea. :)
> 
> I had a bit more sophisticated design in mind, where the signing host
> /retrieves/ the file to be signed (so that the connection is initiated
> from it, not toward it) by having the filename added to some text file
> on an other (almost?) dedicated host (so that having access to the hosts
> where the DB/iso/whatever are built is not enough and vice-versa, see
> just after), text file that the signing host would be watching a way or
> another (but should be in an authenticated way). Of course you need to
> restrict what kind of files can be retrieved from what host (like you
> proposed for the request coming from a specified IP).
> 
> The goal of this setup is to have no open port on the signing host,
> requiring physical/IPMI access to it to make any change.
> 
> But maybe that does not bring much more than your setup, while adding
> much more complexity…
> 
> Just as you, I cannot help on implementing, but I can offer ideas and
> design feedback if anyone want to take this task in charge.

That sounds rather complicated, since we also wants this for the repo
db as well. I wonder if we use the proposed method but restrict access
not only source ip but also on the user who can make the request?

On a seperate note,  I don't believe the signing issue is new I know
that Fedora and OpenSuSe have both signing solutions. For the OpenSuse
Build Service, they have a daemon called obs-signd. [1]

Their solution is a sperate machine with a port open for their
signing daemon. I'm not sure how they resolve the don't sign any
arbitrary file problem.

For Fedora I couldn't find any information, I've reached out to a Fedora
Dev for some more information. The only thing I can find is a proposal. [2]

Maybe we should create a wiki page for signing the repository DB and
ISO's. So we can list all the benefits and downsides along with the
threat vector.

[1] https://en.opensuse.org/openSUSE:Build_Service_Signer
[2] https://fedoraproject.org/wiki/Koji_Build_Autosign_Proposal

-- 
Jelle van der Waa


signature.asc
Description: PGP signature


Re: [arch-dev-public] /r/linux AMA

2018-08-12 Thread Bartłomiej Piotrowski via arch-dev-public
On 09/08/2018 18.41, Morten Linderud via arch-dev-public wrote:
> Yo!
> 
> The subreddit /r/linux have started organizing AMA threads for relevant
> projects. Gentoo had one of these a few months ago and is an interesting read.
> 
> https://www.reddit.com/r/linux/comments/8nsdj0/we_are_gentoo_developers_ama/
> https://www.reddit.com/r/linux/comments/93qlow/established_project_developer_team_member_flairs/
> 
> I think it's a good idea Arch Linux does an AMA as it's might give users some
> incentive to help contributing to the project. I have chatted with a subreddit
> mod at /r/linux, and the AMA should preferably start on any Monday from 27th 
> and
> onwards. It will also run for a few days, so there is no need to be present 
> all
> the time, or when it starts.
> 
> 
> If you are interested participating please reply to the list with the 
> following
> information:
> 
> * Reddit username.
> * What you do.
> * What Monday fits for you?
> 
> I have also started handing out flairs on the /r/archlinux subreddit. It's not
> an official forum, but if developers and team members want flairs for their
> reddit accounts you can also reply to this mail or poke me on IRC :)
> 

I'd like to participate too, if time allows.

/u/barthalion, I'm a developer maintaining the toolchain, master key
holder and DevOps team member.

I'll be completely away for the first week of September, I should be
fine after that.

Bartłomiej