Bug 467671 - SSL error when importing github plugin
Summary: SSL error when importing github plugin
Status: RESOLVED NOT A BUG
Alias: None
Product: krita
Classification: Applications
Component: Scripting (other bugs)
Version First Reported In: 5.1.5
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-21 23:40 UTC by amelie lavender
Modified: 2023-03-30 14:30 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description amelie lavender 2023-03-21 23:40:39 UTC
SUMMARY
When I try to import a krita plugin via a github url, I get an error that states `<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)>`


STEPS TO REPRODUCE
1. find any krita plugin from github. example: https://github.com/viksl/kritapluginpiemenu
2. open krita 5.1.5 appimage
3. go to tools > scripting > import python plugin from web menu and import the plugin url

OBSERVED RESULT

error dialogue pops up

EXPECTED RESULT

be able to import a plugin from url just like importing from a downloaded file

SOFTWARE/OS VERSIONS

Krita: 5.1.5
Linux: archlinux 6.2.7-arch1-1

ADDITIONAL INFORMATION

only tried appimage build. haven't tried other os or other kinds of builds. 
krita-artists thread: https://krita-artists.org/t/ssl-error-when-importing-github-plugin-with-appimage/58506?u=amelielavender
Comment 1 Ben Bonacci 2023-03-28 10:29:28 UTC
I installed Krita's AppImage and I was able to reproduce this issue with the same error message that the reporter got. I also installed Krita from Fedora's repositories and instead got a HTTP 404 error, however other plugins from GitHub appear to import correctly.
I don't use Krita nor AppImages, however I suspect that the SSL library may be the cause of the issue.
Comment 2 Halla Rempt 2023-03-30 14:30:14 UTC
I think that the first problem some arch build issue or library issue is.

Looks like there are no releases for this plugin? And if that's the case, there's nothing to download, so this error message is completely correct.