Consider git tags for I60x
Hi
just so this does not get forgotten about:
@dazo | slypknot: https://github.com/OpenVPN/openvpn-build
@dazo | I see that there are no tags with the I60x indicator ...
that could probably be something mattock should consider to add
@cron2 | true
Regards
Quoted 11 lines · On 20/03/2017 17:13, debbie10t wrote:
Hi
just so this does not get forgotten about:
@dazo | slypknot: https://github.com/OpenVPN/openvpn-build
@dazo | I see that there are no tags with the I60x indicator ...
that could probably be something mattock should consider to add
@cron2 | trueRegards
For openvpn-build I have not added release tags, as the commit message usually contains the necessary information. For example:
---
commit 23d42200f282d2fcdc57bd4262d1fffc0832c7ff
Author: Samuli Seppänen <[email protected]...> Date: Tue Dec 27 12:31:39 2016 +0000
Update build parameters to match openvpn-install-2.4.0
---
Adding a tag per installer release is not a big deal, though, if we have a use-case for it.
Signature · 5 lines
Samuli Seppänen Community Manager OpenVPN Technologies, Inc irc freenode net: mattock
Quoted 22 lines · Samuli Seppänen
Quoted 11 lines · On 20/03/2017 17:13, debbie10t wrote:
Hi
just so this does not get forgotten about:
@dazo | slypknot: https://github.com/OpenVPN/openvpn-build
@dazo | I see that there are no tags with the I60x indicator ...
that could probably be something mattock should consider to add
@cron2 | trueRegards
For openvpn-build I have not added release tags, as the commit message usually contains the necessary information. For example:
---
commit
23d42200f282d2fcdc57bd4262d1fffc0832c7ffAuthor: Samuli Seppänen <[email protected]...> Date: Tue Dec 27 12:31:39 2016 +0000
Quoted 8 lines
Update build parameters to match openvpn-install-2.4.0
Signed-off-by Samuli Seppänen <[email protected]...>---
Adding a tag per installer release is not a big deal, though, if we have a use-case for it.
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
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 branch 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 commit checked out and not the manipulated one.
Of course, the git commits can also be hardened a bit further by using signed commits (git commit -S).
Signature · 4 lines
kind regards, David Sommerseth OpenVPN Technologies, Inc
Quoted 32 lines · David Sommerseth
Quoted 22 lines · Samuli Seppänen
Quoted 11 lines · On 20/03/2017 17:13, debbie10t wrote:
Hi
just so this does not get forgotten about:
@dazo | slypknot: https://github.com/OpenVPN/openvpn-build
@dazo | I see that there are no tags with the I60x indicator ...
that could probably be something mattock should consider to add
@cron2 | trueRegards
For openvpn-build I have not added release tags, as the commit message usually contains the necessary information. For example:
---
commit
23d42200f282d2fcdc57bd4262d1fffc0832c7ffAuthor: Samuli Seppänen <[email protected]...> Date: Tue Dec 27 12:31:39 2016 +0000Quoted 8 lines
Update build parameters to match openvpn-install-2.4.0
Signed-off-by Samuli Seppänen <[email protected]...>---
Adding a tag per installer release is not a big deal, though, if we have a use-case for it.
Quoted 6 lines
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 between two releases/tarballs. It's basically one little step more to perform when creating the tarball.
Quoted 9 lines
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 branch 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 commit checked out and not the manipulated one.
+1 on signing the tags - this increases the confidence in the code somebody is downloading. Manipulations are found immediately (unless done voluntarily by the committer).
All in all, I think it would be worth adding these small steps, as git makes them really easy to be performed.
my 2 cents.
Cheers,
Quoted 8 lines
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel
Signature · 1 line
Antonio Quartulli
Hi,
Quoted 38 lines · Antonio Quartulli
Quoted 37 lines · David Sommerseth
Quoted 22 lines · Samuli Seppänen
Quoted 11 lines · On 20/03/2017 17:13, debbie10t wrote:
Hi
just so this does not get forgotten about:
@dazo | slypknot: https://github.com/OpenVPN/openvpn-build
@dazo | I see that there are no tags with the I60x indicator ...
that could probably be something mattock should consider to add
@cron2 | trueRegards
For openvpn-build I have not added release tags, as the commit message usually contains the necessary information. For example:
---
commit
23d42200f282d2fcdc57bd4262d1fffc0832c7ffAuthor: Samuli Seppänen <[email protected]...> Date: Tue Dec 27 12:31:39 2016 +0000Quoted 8 lines
Update build parameters to match openvpn-install-2.4.0
Signed-off-by Samuli Seppänen <[email protected]...>---
Adding a tag per installer release is not a big deal, though, if we have a use-case for it.
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:
Quoted 5 lines
Quoted 1 line
$ git shortlog v2.4.0-I601..v2.4.0-I602I like this too - makes it really easy to revise what was changed between 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
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.
Quoted 10 lines
Quoted 9 lines
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 branch 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 commit checked out and not the manipulated one.
Quoted 3 lines
+1 on signing the tags - this increases the confidence in the code somebody is downloading. Manipulations are found immediately (unless done voluntarily 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.
Quoted 3 lines
All in all, I think it would be worth adding these small steps, as git makes them really easy to be performed.
Signature · 5 lines
Samuli Seppänen Community Manager OpenVPN Technologies, Inc irc freenode net: mattock
Quoted 4 lines · Samuli Seppänen
Hi,
Quoted 1 line · Antonio Quartulli
On Wed, Mar 22, 2017 at 02:11:56PM +0100, David Sommerseth wrote:
[...snip...]
Quoted 11 lines
Quoted 10 lines
Quoted 6 lines
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-I602I like this too - makes it really easy to revise what was changed between two releases/tarballs. It's basically one little step more to perform when creating the tarball.
Quoted 8 lines
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
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?
Quoted 6 lines
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.
All good points!
Quoted 13 lines
Quoted 9 lines
Quoted 8 lines
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 branch 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 commit checked out and not the manipulated one.
Quoted 3 lines
+1 on signing the tags - this increases the confidence in the code somebody is downloading. Manipulations are found immediately (unless done voluntarily by the committer).
Quoted 7 lines
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.
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.
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
[1] <https://github.com/latchset/tang>
[2] "Securing automated decryption"
<https://www.youtube.com/watch?v=CM_IOaBUJo0>
Signature · 4 lines
kind regards, David Sommerseth OpenVPN Technologies, Inc
Quoted 22 lines · David Sommerseth
Quoted 4 lines · Samuli Seppänen
Hi,
Quoted 1 line · Antonio Quartulli
On Wed, Mar 22, 2017 at 02:11:56PM +0100, David Sommerseth wrote:
[...snip...]
Quoted 16 lines
Quoted 10 lines
Quoted 6 lines
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-I602I like this too - makes it really easy to revise what was changed between 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.
Quoted 8 lines
Quoted 3 lines
One shortcoming is the tarball version numbering scheme in openvpn-gui:
openvpn-gui-11.tar.gz
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 :).
Quoted 31 lines
Quoted 7 lines
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.
All good points!
Quoted 13 lines
Quoted 9 lines
Quoted 8 lines
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 branch 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 commit checked out and not the manipulated one.
Quoted 3 lines
+1 on signing the tags - this increases the confidence in the code somebody is downloading. Manipulations are found immediately (unless done voluntarily by the committer).
Quoted 7 lines
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.
Quoted 4 lines
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.
Quoted 9 lines
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
[1] <https://github.com/latchset/tang>
[2] "Securing automated decryption"
<https://www.youtube.com/watch?v=CM_IOaBUJo0>
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.
Signature · 8 lines
Samuli Seppänen Community Manager OpenVPN Technologies, Inc irc freenode net: mattock [1] <http://www.fabfile.org/>