-
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
Add better error message when TLS fails [was: I can not install any plugins or update] #40
Comments
Which plugin are you trying to update? And which new plugin are you trying to install? |
|
@bruderstein Is it possible to add just a single dll like in https://github.com/kapilratnani/JSON-Viewer/releases/download/1.24/NPPJSONViewer-win32.dll for the download and installation in the webinterface? Or must it be a zip file? |
Yes, I have SP3 on XP [quote]Compare 2.0.0 should still be running on winxp sp3.[/quote] [quote]Maybe the issue with JSTool the renaming from JSMinNPP, also JSMin is added as alias to the plugin manager db,so the update should be possible[/quote] [quote]See https://npppm.bruderste.in/plugins/edit/json-viewer, there is no install sequence configured for this plugin, just the version number is there, so this is an issue of the plugin provider[/quote] Maybe I should enable: Admin mode: or Local Conf mode |
So from now on I will have to install and update all plugins manually? Nobody do not care XP system, even though many people are still using it. |
Hope not, but as I have no win xp around it is hard to find the root cause of the problem you face.
|
Yes, I have PluginManager version 1.4.3 No, I can not install AnalysePlugin - I get: "installation of AnalysePlugin failed" Whereas, I can install a plugin eg: Preview HTML |
|
No, at the beginning of the download AnalysePlugin - crashes error. |
@chcg short answer: yes it has to be a zip file. Long answer: PM actually supports downloading single files, but the current admin interface doesn't. New one supports it, so it will be possible when we switch over. |
|
Unfortunately, I can not manually download this plugin - IE has problems, Firefox downloads and Chrome Why Google is working and Sourceforge not? |
@pedro22 https://cc.dcsec.uni-hannover.de/ For my firefox:
, but the build in ssl lib of winxp doesn't get updates any more. So if some website requires explicitly TLS > 1.0 their might the problem occur that the download fails. Maybe that could be detected more gracefully. I will have to check that in the code. In this case you should see problems with all the plugins hosted at sourceforge. |
Firefox: and Chrome: are able to open this page, IE NOT. |
Yep, so as @chcg said, these sites are now using more secure algorithms, and disallowing older less secure (or insecure) algorithms for HTTPS that XP doesn't support. Sadly, in order for plugin manager to support these more secure algorithms, we'd have to do a lot of work including another SSL implementation, and then deal with the added risks of there being security related bugs in that library, which would mean we'd need to be aggressive in updating, and spend more time than we already do. So, the answer is, there's nothing we can do, but I would advise you to upgrade your OS - running a 15+ year old operating system that is no longer updated with security patches leaves you open to many attacks. If it's financially difficult to upgrade, then I'd recommend Linux, which is kept up to date - no native Notepad++, but there are many other editors. |
And you could add to the Plugin Manager SSL libraries to handle XP? |
What I will check if it is possible to show a better error message with the hint that TLS support might be a problem and that a manual download and installation is needed maybe with the appropriate link. |
Yes, but as I said, that's a lot of work, and introduces extra risk, so it's not something I'm prepared to do. |
@pedro22 See #85. For WinXP TLS 1.2 support is available via: https://www.catalog.update.microsoft.com/Search.aspx?q=KB4019276, the relevant one is "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. |
@chcg Thanks, but now I have Windows 7 - and Plugin Manager works good. |
@pedro22 Fine. I think it is better to have a still supported OS. |
Version 1.4.3 as the topic - I can not install any plugins or update - when I click "update" tries to download and display the "installation <name_plugin> failed" in the settings, I have checked "force HTTP instead of HTTPS for downloading Plugin list"
However, during the installation of a new plugin there are no errors - after restart the plugin is not listed.
Notepad++ v7.3.2 (32-bit)
Build time : Feb 12 2017 - 23:15:39
Path : C:\Program Files\Notepad++\notepad++.exe
Admin mode : OFF
Local Conf mode : OFF
OS : Windows XP (32-bit)
Plugins : ComparePlugin.dll JSMinNPP.dll LightExplorer.dll mimeTools.dll NppConverter.dll NppExport.dll NppTextFX.dll PluginManager.dll
The text was updated successfully, but these errors were encountered: