-
Notifications
You must be signed in to change notification settings - Fork 260
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
No PEM-encoded private key found #1892
Comments
Hmm, strange. Can you check whether you have a It should look vaguely like this, $ ls -ld ~/.config/gsconnect; ls -l ~/.config/gsconnect
drwxr-xr-x. 2 ferd ferd 4.1k Sep 25 2020 /home/ferd/.config/gsconnect
total 21k
-rw-------. 1 ferd ferd 1.2k Nov 19 2017 certificate.pem
-rw-------. 1 ferd ferd 1.9k Jun 25 2020 id-gsconnect
-rw-------. 1 ferd ferd 1.2k Sep 25 2020 id-gsconnect-cert.pub
-rwx------. 1 ferd ferd 391 Jun 25 2020 id-gsconnect.pub
-rw-------. 1 ferd ferd 1.8k Nov 19 2017 private.pem One of the only things I can think of that might cause this is if the config directory is accidentally owned by The error GSConnect logged shows it's dying at line 370 of openssl req -new -x509 -sha256 \
-out $HOME/.config/gsconnect/certificate.pem \
-newkey rsa:4096 -nodes \
-keyout $HOME/.config/gsconnect/private.pem \
-days 3650 \
-subj '/O=andyholmes.github.io/OU=GSConnect/CN=$RANDOM_UUID_STRING' ...and then checks that the So, if openssl couldn't create the files, that would be a problem that could manifest this way. (You can also try running that command yourself — just insert anything for If you do, then that's why GSConnect failed as well. If you don't, then the files should be there and usable by GSConnect as well, so win/win.) |
Hello, I am so sorry for late reply. This directory indeed exists, and it has read-write permissions:
And well, I run this command you've written, and in terminal it does successfuly execute (it outputs some kind of '.' and '+' string; as far as I understand, it's some kind of a private image?). What I am concerned about, is that I have only two files here... |
Well, problem solved. I have reinstalled the extension (it's the same version) from Fedora's repository... I don't know what was the problem earlier. Thank you for help though! I won't close the issue now, in case if someone would like to investigate it further. |
Describe the bug
On launch, the extension throws an error below. This prevents a user from connecting to any devices in the network. OpenSSL is installed and is working correctly.
Steps to reproduce
Expected behavior
No errors, easy connection.
GSConnect version
58
Installed from
GNOME Extensions website
GNOME Shell version
47
Linux distribution/release
Fedora 41
Paired device(s)
Iphone SE 2 (cannot pair)
KDE Connect app version
0.4.1 (1)
Plugin(s)
No response
Support log
Screenshots
Notes
No response
The text was updated successfully, but these errors were encountered: