-
Notifications
You must be signed in to change notification settings - Fork 221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to install/update plugins on Windows XP #85
Comments
@ivanbuto Most probably you are facing issue #40. WinXP doesn't support newer TLS versions any more. And the link for DspellCheck is:
also it is still accessible via plain http. So maybe there is another option to add a fallback from https to http to still support winxp. I will have to investigate that. |
Iirc XP does in fact support TLS1.2 but with a severely reduced cipher set. You have to allow some weak ciphers in order for things to work |
@nanonyme Do you have https://cloudblogs.microsoft.com/microsoftsecure/2017/10/05/announcing-support-for-tls-1-1-and-tls-1-2-in-xp-posready-2009/ in mind? Otherwise with a plain WinXP is probably not available, see https://blogs.msdn.microsoft.com/kaushal/2011/10/02/support-for-ssltls-protocols-on-windows/. |
@ivanbuto @nanonyme Could you please test https://ci.appveyor.com/project/chcg/npppluginmanager/build/1.4.9.119/artifacts which contains a fallback to http in case that the https connection is not successfull. |
I don't have XP, we just had to support this scenario a while back |
And I do not. WinHTTP in XP supprts TLS1.2 with an unsecure cipher at least in 2016, maybe 2015. I don't remember which one it is and it should only be allowed on XP |
Iirc it was not visible as supported in IE in this case |
I'm suddenly not sure anymore whether I'm even remembering correctly and can't check since on vacation. I guess dropping encryption isn't a big thing anyhow. The platform can't be securely supported for other reasons and its users are essentially running honeypots |
@chcg I have tested the updated version of PluginManager.dll, but still no success. |
@ivanbuto Sad to here that. You could countercheck at https://github.com/bruderstein/npp-plugins-x64/blob/master/plugins/plugins_template.xml which download source is used: Combine: So http should be no problem in any case. Https depends on the server configuration to fallback to older tls/ssl layers which are outdated/unsafe nowadays. The mechanism I tried to implement is a automatic fallback from e.g.:
Could you try to reach http://sourceforge.net/projects/analyseplugin/files/binaries/v01.10-R32.zip or http://github.com/bruderstein/nppPluginManager/releases/download/v1.4.9/PluginManager_v1.4.9_UNI.zip from WinXP IE, which uses the same windows infrastructure as PluginManager.. |
Any chance of only enabling the fallback on XP or adding a switch? Fallback to HTTP makes you vulnerable to repeat attacks |
Available cipher at github.com found by https://www.digicert.com/help/:
and sourceforge.net
Vs. winxp schannel https://msdn.microsoft.com/de-de/library/windows/desktop/aa380512(v=vs.85).aspx:
|
The fallback doesn't really help much, only for the actual plugin list (and there's already a switch to use HTTP for that). The plugins hosted on the various platforms that remove the insecure ciphers that XP supports don't have an HTTP fallback (AFAIK), so it doesn't really help. When I tested it a while ago I couldn't open github on IE under XP. But, as has been said here already, XP is no longer supported, it's 15 or so years old and supporting the XP only ciphers reduces the security for everyone, so it's pretty reasonable that these sites don't do it. |
@chcg Tried the links from IE8 - Internet Explorer cannot display the webpage in both cases. |
@bruderstein Hi, see chcg@97a1436. I added a fallback for the download step of a plugin. currently unconditionally (if it would work, I would either create a special version or try to do a restriction to XP programmatically) |
@chcg sounds good. There's a call or something from N++ that gives a friendly windows version somwhere. Seems like restricting this to just XP is pretty safe (they're insecure anyway!) |
@bruderstein Did you read my mail about npptidy2, etc? |
@ivanbuto If you like risks you may try https://www.catalog.update.microsoft.com/Search.aspx?q=KB4019276, the relevant one is probably Update für WES09 und POSReady 2009 (KB4019276) , afterwards TLS1.1 and TLS 1.2 have to be enabled via registry, see https://support.microsoft.com/en-us/help/4019276/update-to-add-support-for-tls-1-1-and-tls-1-2-in-windows. But what is not described is if there are the supported cipher suites contained, because if TLS_RSA_WITH_AES_256_CBC_SHA is not added TLS 1.2 will also not help. |
Just installed the KB4019276 update for Windows Embedded POSReady 2009 on my Windows XP Professional machine. I can now install and update plugins with the Plugin Manager. |
@ivanbuto Thanks for the evaluation. My felling is that this is the most meaningful way to go. Raising the security level of the connection instead of falling back to plain http. |
Interesting, an update to the SpellCheck plugin is available, and the Plugin Manager is again failing on my Windows XP machine. I don't get why, since I have not made any changes that I would be aware of. |
For the sake of security, please close this issue as WONTFIX or even better WONTFIXSUCHAMESSYOSEVER. IMHO, fixing bugs on dead platforms offers nothing but a time-consuming activity. So, instead of wasting it for pretty much nothing, I suggest putting all such effort into improving all the other bugs to get fixed and features to get implemented. |
@chcg, I think curl is good as fallback. It supports modern cryptography and various protocols. |
Won't happen as stated in the other various issues. Get an updated OS and deal with the fact that XP is dead - for good. |
@Eagle3386, how many times you will repeat that thing? And why you waste peoples' time to read it? |
Curl also has regular security vulns leading to high maintenance cost |
@nanonyme, replace widespreaded executable with update so untrivial task. |
@fedor4ever up to that very last moment when even stubborn people like you accept the irreversible reality: XP is dead. Period. Get over it already!
@nanonyme agreed. Yet another good point against those XP clingers. @bruderstein can you close this issue as WONTFIX, please? |
@bruderstein, will you fix this isue? |
@Eagle3386 I also don't understand the unfriendly tone in your messages. I simply reported an error that I encountered using Plugin Manager on my Windows XP machine, where Notepad++ up to the latest version otherwise runs fine. I did not demand in any way that the issue must be solved and I understand the reasons for not addressing it. @fedor4ever I was able to update plugins after installing the KB4019276 update (which is otherwise intended for Windows XP Embedded). Even did not have to make any registry changes described in the KB article. However, after some time, I again began getting errors. I am trying to figure out why, but I don't suppose it could be due to newer versions of Notepad++ or the Plugin Manager? I have in the meantime uninstalled the update; will try installing it again. |
I don't believe there are any good maintainable solutions. The KB was a good workaround, sad to hear it stopped working already. I did expect it eventually would considering cipher suites have their own lifespans and it's not as if Microsoft was maintaining XP outside special deployments under special contracts |
Much older versions of plugin manager used libcurl. The problem was that that doesn't support NTLM authenticated proxies. When switching to use the native Win32 calls, we get all the proxy support and it's automatically configured from the same configuration as IE/Edge and Chrome. Supporting all the users behind corporate proxies is unfortunately a greater need than supporting the few users on a 15 year old unsupported operating system. The only way I see would be for someone to fork this project and bring back the libcurl support, releasing a custom "XP" version. |
I propose not allowing any curl code anywhere near Windows 7 versions of the plugin for security reasons. As long as that is held, I don't really care if there's XP-specific hacks. Do keep in mind though that any binaries that are supposed to work in XP get special compilation treatment which makes the binaries bigger for decreasing amount of benefits. I strongly recommend a migration plan to move to a newer OS |
@fedor4ever There will be no development of a version with curl from my side. |
Description of the Issue
I receive an installation error when trying to update an existing plugin or install a new plugin. This happens on my Windows XP computer; it works fine on Windows 7. Does Plugin Manager not support Windows XP?
Screenshot attached.
Debug Information
Notepad++ v7.5.3 (32-bit)
Build time : Dec 5 2017 - 10:45:46
Path : D:\Program Files\Notepad++\notepad++.exe
Admin mode : OFF
Local Conf mode : OFF
OS : Windows XP (32-bit)
Plugins : NppTextFX.dll ComparePlugin.dll NppExport.dll mimeTools.dll NppConverter.dll PluginManager.dll DSpellCheck.dll
nppPluginManager version 1.4.9
The text was updated successfully, but these errors were encountered: