Skip to contentSkip to conversation

Windows installer with SHA-256 signatures ready for testing

Openvpn-devel Samuli Seppänen 3 participants 7 messages Mar 10, 2016 – Mar 23, 2016

lore
Share & tools
lore
#0 lore raw

Hi,

Here are new Windows 2.3.10 installers with OpenSSL 1.0.1s and SHA-2 signatures:

<http://build.openvpn.net/downloads/temp/openvpn-install-2.3.10-I603-i686.exe>
<http://build.openvpn.net/downloads/temp/openvpn-install-2.3.10-I603-x86_64.exe>

I tested the latter lightly on Windows 7 Pro 64-bit and it seemed to work just fine and the signatures seemed to be correct. However, more testing is required before these installers can be officially released.

There is potentially a severe issue which manifests itself on Windows Vista SP2 / Windows Server 2008 SP2:

<https://support.microsoft.com/en-us/kb/2763674>

A second problem should be limited to Windows 7 and Windows Server 2008 R2 installations that are booted through a non-Windows bootloader (e.g. grub):

<https://support.microsoft.com/en-us/kb/3033929>

Let me know if you can confirm or discredit either of these issues - that would help us get the new installers released soon.

Thanks,

Signature · 7 lines
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock

PS. The tap-windows6 driver in the installers is still the old one signed with SHA-1. I'm working on signing it with an EV certificatte, so that Windows 10 accepts it.
#1 lore raw
Quoted 24 lines

Hi,

Here are new Windows 2.3.10 installers with OpenSSL 1.0.1s and SHA-2 signatures:

<http://build.openvpn.net/downloads/temp/openvpn-install-2.3.10-I603-i686.exe>

<http://build.openvpn.net/downloads/temp/openvpn-install-2.3.10-I603-x86_64.exe>

I tested the latter lightly on Windows 7 Pro 64-bit and it seemed to work just fine and the signatures seemed to be correct. However, more testing is required before these installers can be officially released.

There is potentially a severe issue which manifests itself on Windows Vista SP2 / Windows Server 2008 SP2:

<https://support.microsoft.com/en-us/kb/2763674>

A second problem should be limited to Windows 7 and Windows Server 2008 R2 installations that are booted through a non-Windows bootloader (e.g. grub):

Quoted 7 lines

<https://support.microsoft.com/en-us/kb/3033929>

Let me know if you can confirm or discredit either of these issues - that would help us get the new installers released soon.

Thanks,

Hi,

These installers are now live:

<https://openvpn.net/index.php/download/community-downloads.html>

Best regards,

Signature · 5 lines
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock
#2 lore raw
In reply to Samuli Seppänen
Quoted 6 lines · Samuli Seppänen

A second problem should be limited to Windows 7 and Windows Server 2008 R2 installations that are booted through a non-Windows bootloader (e.g. grub):

<https://support.microsoft.com/en-us/kb/3033929>

Is there a link to the corresponding grub bug? In an ideal world, things like the above would never be posted *without* such a link. But I suppose we don't necessarily expect Microsoft to do the right thing. Hopefully *someone* has?

Signature · 1 line
dwmw2
#3 lore raw
Quoted 7 lines · Samuli Seppänen
Quoted 5 lines

A second problem should be limited to Windows 7 and Windows Server 2008 R2 installations that are booted through a non-Windows bootloader (e.g. grub):

Quoted 6 lines
Quoted 1 line

<https://support.microsoft.com/en-us/kb/3033929>

Is there a link to the corresponding grub bug? In an ideal world, things like the above would never be posted *without* such a link. But I suppose we don't necessarily expect Microsoft to do the right thing. Hopefully *someone* has?

I believe the bug is not in Grub, but in the said Windows update, which can put the computer into reboot loop:

<http://answers.microsoft.com/en-us/windows/forum/all/kb3033929-
does-not-install-multi-boot-win7-linux/8f35f8f8-c0b2-461a-a8aa-4bbf16c49920?auth=1>

I could not find a bug report in Grub bug tracker[1] using the above KB number. However, this problem is only tangentially related to the new OpenVPN installers:

- If KB3033929 has been installed, the problem will manifest itself regardless of OpenVPN
- If the said update has not been installed, then Windows 7 will/might fail to verify the signature of the installer and the libraries/binaries in it, showing "Unknown publisher" in UAC

Lack of the update might become more problematic after I rebuild the tap-windows6 driver and sign it with our new key, in which case Windows 7 might reject the driver altogether. So that part requires more thorough pre-release testing.

Signature · 8 lines
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock


[1] <http://savannah.gnu.org/bugs/?group=grub>
#4 lore raw
Quoted 10 lines · Samuli Seppänen
Quoted 7 lines
Quoted 2 lines

<https://support.microsoft.com/en-us/kb/3033929>

Is there a link to the corresponding grub bug? In an ideal world, things like the above would never be posted *without* such a link. But I suppose we don't necessarily expect Microsoft to do the right thing. Hopefully *someone* has?

I believe the bug is not in Grub, but in the said Windows update, which can put the computer into reboot loop:

Is Grub supposed to boot Windows, or is Grub supposed to boot some theoretical ideal Windows-like thing, but not actually work reliably for Windows in the real world?

I assert that it should be the latter, and thus this is by *definition* a bug in Grub. At least until it's been properly analysed and shown that Grub *can't* possibly work around it. And even then, there'd be a bug with that analysis and a 'WONTFIX' conclusion.

Signature · 1 line
dwmw2
#5 lore raw
In reply to Samuli Seppänen

Hi,

Quoted 4 lines · Samuli Seppänen

Lack of the update might become more problematic after I rebuild the tap-windows6 driver and sign it with our new key, in which case Windows 7 might reject the driver altogether. So that part requires more thorough pre-release testing.

The old key is still valid, just not "good enough" for win8+, right?

In that case we might consider building two tap driver packages, one signed with the vista/win7 key, one with the win8+ key.

Or maybe I'm totally misunderstanding this, so ignore me :)

gert

Signature · 4 lines
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             [email protected]...
fax: +49-89-35655025                        [email protected]...
#6 lore raw
Quoted 9 lines

Hi,

Quoted 4 lines · Samuli Seppänen

Lack of the update might become more problematic after I rebuild the tap-windows6 driver and sign it with our new key, in which case Windows 7 might reject the driver altogether. So that part requires more thorough pre-release testing.

Quoted 9 lines

The old key is still valid, just not "good enough" for win8+, right?

In that case we might consider building two tap driver packages, one signed with the vista/win7 key, one with the win8+ key.

Or maybe I'm totally misunderstanding this, so ignore me :)

gert

In case I did not respond to this earlier (my email client claims that)...

Old tap-windows6 signatures will be as valid as they were before. We might run into trouble whe we sign tap-windows6 with the EV dongle, which probably generates SHA-2 signatures. The same goes for our new generic code-signing certificate, which was recently rekeyed to SHA-2.

My view of what will happen once we fully move to SHA-2 for signing the executables, libraries and drivers:

- Windows XP will show "Unknown publisher" for everything
- Some Windows 7 installations _might_ have issues:
- Might not recognize the SHA-2 signatures ("Unknown publisher")
- Might fail to install the SHA-2 tap-windows6 driver
- Windows 8.1+ should work just fine

That said, the Windows 7 issue has not been verified. So far nobody has complained about the new SHA-2 based Windows installers I published. The tap-windows6 driver contained in the installers was still signed with the non-EV SHA-1 key, so at worst we'd see the "Unknown publisher" problem.

I can probably sign Windows XP (I00x) installers with the old SHA-1 key until it expires in September. After that I will need to sign everything with SHA-2. I think that at that point we should consider dropping official Windows XP support, namely:

- Stop publishing tap-windows-based (I00x) OpenVPN installers
- Stop caring about "Unknown publisher" warnings on Windows XP

We could still allow use of I60x installers on Windows XP, and let people downgrade to tap-windows manually.

Signature · 5 lines
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock