References: <0440d93b-6ded-9efc-8fba-838b4e954261@...515...> <20170323031127.GB24725@...2182...> <59bf8d07-476f-bdb7-611d-154bdc4a1bbf@...515...> From: =?UTF-8?Q?Samuli_Sepp=c3=a4nen?= Message-ID: <990a231d-a891-193c-94b3-e3f7c315cc5e@...515...> Date: Thu, 23 Mar 2017 16:01:42 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="M0aM58A7nXJfOokiaslN1UdWKntEQgXDv" Subject: Re: [Openvpn-devel] Consider git tags for I60x List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: openvpn-devel@lists.sourceforge.net, Antonio Quartulli This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --M0aM58A7nXJfOokiaslN1UdWKntEQgXDv Content-Type: multipart/mixed; boundary="------------88F9646C9B42BBC82E78BD05" This is a multi-part message in MIME format. --------------88F9646C9B42BBC82E78BD05 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable On 23/03/2017 13:48, David Sommerseth wrote: > On 23/03/17 08:52, Samuli Sepp=E4nen wrote: >> Hi, >> >> On 23/03/2017 05:11, Antonio Quartulli wrote: >>> On Wed, Mar 22, 2017 at 02:11:56PM +0100, David Sommerseth wrote: > [...snip...] >>>> Currently we do not have anything providing a guaranteed match between >>>> openvpn-install-2.x.y-I60z and a particular git commit. This helps >>>> understanding what a release really contains, especially if you have >>>> more commits in a release. Then you just do: >>>> >>>> $ git shortlog v2.4.0-I601..v2.4.0-I602 >>> >>> I like this too - makes it really easy to revise what was changed betwe= en two >>> releases/tarballs. It's basically one little step more to perform when = creating >>> the tarball. >> >> The git shortlog command will show us how openvpn-build's parameters in >> "generic/build.vars" and "windows-nsis/build-complete.vars" have >> changed. That is generally enough to know what openvpn-build has >> downloaded and from where. >> >> One shortcoming is the tarball version numbering scheme in openvpn-gui: >> >> openvpn-gui-11.tar.gz >=20 > It's become fairly popular these days to skip the minor/patch level > numbers and just have a single revision number (firefox, chrome, systemd > are those instantly coming to my mind, but there are many more). > Perhaps the OpenVPN GUI can see a benefit of that too? And Windows insist on using a four-number versioning scheme, where the meaning of the last two numbers is unknown to most :). >=20 >> So just the major number, not the full version number (e.g. 11.5.0.0). >> It would be good to have the full version in the tarball name, so that >> all the components combined by openvpn-build would be identifiable >> exactly from git diff. Another concrete benefit would be that old minor >> version tarballs would remain available on the download servers; right >> now they get overwritten on every openvpn-gui release. >=20 > All good points! >=20 >>>> Another aspect is when you do signed commits (git tag -s), then the tag >>>> is "cryptographically bound" to a particular git commit. That is >>>> incredibly hard to manipulate. If the branch itself is modified the >>>> committish will change, thus there will be a mismatch between the bran= ch >>>> committis and the commit the tag points at. In fact, if you do a git >>>> checkout using the tag name, you will most likely get the correct comm= it >>>> checked out and not the manipulated one. >>>> >>> >>> +1 on signing the tags - this increases the confidence in the code some= body is >>> downloading. Manipulations are found immediately (unless done voluntari= ly by >>> the committer). >> >> With the current build setup I can easily do signed tags for openvpn-gui. >> >> Openvpn-build would require some additional work, as the build computer >> is a shared EC2 VM which other OpenVPN Tech people can access. I don't >> want to have my private GPG key lying around on such a VM. That said, >> nobody else is using the EC2 VM, so I can fairly easily switch to using >> something in my own intranet. >=20 > There is nothing that mandates using a personal signing key if you have > some kind of automation behind it - as long as the signing key is is > signed by physical persons we trust. So the shared VM could have its > own private key used for this and other package signing tasks. Indeed, and this is why our Debian packages are signed with a different key. > If you're tempted going for full automation and still keep things fairly > more secure, have a look at the Tang project [1]. There is a video [2] > of a talk from devconf.cz the conference in January which describes the > challenge and how Tang fills the gap >=20 > [1] > [2] "Securing automated decryption" > >=20 Looks very interesting. Right now moving openvpn-build VM away from EC2 would suffice, though. I've typically used Fabric[1] when I need to orchestrate commands that need to run on different nodes (build computers, web servers, signing computer etc.) in a specific sequence. --=20 Samuli Sepp=E4nen Community Manager OpenVPN Technologies, Inc irc freenode net: mattock [1] --------------88F9646C9B42BBC82E78BD05 Content-Type: application/pgp-keys; name="0x40864578.asc" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0x40864578.asc" -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v2 mQENBFilZHYBCADGVuvyV9yg2GW7bslnPylaa9cxb3IXmb0qC7hUJueGnz0vLdit /fPPPfsI3/hgcQYK1Y8cP5p2Pq+CZL0TVQWBEu2naH2unwxtfNm1EJcWDsky9DzW CZQrcZ/v/coaV4UqMTVzGQaxQOzzeaP5nRgdX95dVKqXqsG8wKoIJmBuILAqkOPi 4EG9NQt2Lbqaiszo3LdsqyeGYK2yc745xBX4UDgIN7XTrXcQDyUOb4dsJynbM+Z9 8NMQxdA5q0s6BwWSA1xK/gKUCzfF7D1fwWuO2MoedHveB45rOMSFlfVUgr7fa1CR zCe7lccu0APfgXrTnNWwWMVoQMO8HIyk2iGnABEBAAG0JVNhbXVsaSBTZXBww6Ru ZW4gPHNhbXVsaUBvcGVudnBuLm5ldD6JATgEEwECACIFAlilZtwCGwMGCwkIBwMC BhUIAgkKCwQWAgMBAh4BAheAAAoJEClYTZ9AhkV46tEH/Aot7SnpcLHpEkkCX7Jm ERrWuqIwYJp7fQlbOPAVZG1+iC/3KlhYxHmH1/Dj6rP3LEEfWpCQSHSbBFkzPtZ6 AGnEfaxovXjso/tgnAAjYnxy9R0+1t0g5T6anXzCAjl3+mOssjzWBICBDZaFW9Rd R47vCA92Fp9kAy3N+AMOv1HfTabaPo6p8HbaBSUQtgdOrfoBSXaFzaPSp8uwonQW xRvpG91XtDrEoQio13460025ww+sZe5mIH4c7xhKBEZPswO2xnFszcFp3u12Glbj eloAn8oxNycEuw11DfsHf2ctlbQCOLlJJxh2MND5SyL0SjCWMqO7v2c8UUUe4igS xeuIRgQQEQIABgUCWKVo6wAKCRDCnZftGY0ioxDUAJ45kbXxCH3hiUexMvlJzvgN mZmpyACg0UKbcmHUiFhnhyjtTTmAS5TjB8G0LFNhbXVsaSBTZXBww6RuZW4gPHNh bXVsaS5zZXBw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M7mct0d1rFVuSS1m+1YOZNN8e/eSox84HvboSq6xk+3IC1NGXXdUQ qObWceUyU0KmmBFMV86pUgI/YbA2uMxkFK8XGsOqMgTBdBWHTTcSOfmPsu/04zDl MuQ+GC2WcUHoTtxytA432TzOixF5wfunqTzXeZxAybQPkETmAFgHT0BmUVShwPQ0 XuwT7RpGDZ6jBfphYQ=3D=3D =3DFKLE -----END PGP PUBLIC KEY BLOCK----- --------------88F9646C9B42BBC82E78BD05-- --M0aM58A7nXJfOokiaslN1UdWKntEQgXDv Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJY09VGAAoJEClYTZ9AhkV4wagH/1dFgItth4JBxgnYND8eTLgU aEsdeIKd5ko6ROiJnn+C7xbyoysiYKCvnNQt+8OsM/VDxh+6irlK0hhYo2E4j6Nv IzpD0kzG4U7f0BVBf9vsQVwtkerffIezNtlxGOrakhXfaKgkxpkEG+bTdjR44qku iKsu5awD4OTWG8k0vA44g3MZzKQuBRKAFgF1cpis8Kj+QM9+pUDRE+l0eQEp2N5p KTBwl8s/DipmGF2wFkn2j25Ig8R92CoMD72rUx0Rtp32RG/6gf4LXmrGGR9uAl4n D+d4jePL3sZdMM4i2g0Y11srFLQFXqKs9IXk9054GLP6/m6lCpzHdjQBQ8qG7OI= =kVov -----END PGP SIGNATURE----- --M0aM58A7nXJfOokiaslN1UdWKntEQgXDv--