saturneric / GpgFrontend

A free, open-source, robust yet user-friendly, compact and cross-platform tool for OpenPGP encryption. It stands out as an exceptional GUI frontend for the modern GnuPG (gpg).
https://gpgfrontend.bktus.com
GNU General Public License v3.0
456 stars 43 forks source link

AppImage [latest] fresh install/run - Network/TCP dont work on Fedora Linux 37 #85

Closed orgcontrib closed 1 year ago

orgcontrib commented 1 year ago

Just tried it. Everything else besides networking seems to work fine. That's quite a bummer as we need to search/import pub keys from keyservers.

Steps to reproduce:

$ cd ~/Downloads/
$ mkdir gpgfe
$ cd gpgfe/
$ wget https://github.com/saturneric/GpgFrontend/releases/download/v2.0.9/GpgFrontend-2.0.9-linux-x86_64.AppImage
$ wget https://github.com/saturneric/GpgFrontend/releases/download/v2.0.9/GpgFrontend-2.0.9-linux-x86_64.AppImage.sig
$ chmod a+x GpgFrontend-2.0.9-linux-x86_64.AppImage
$ ./GpgFrontend-2.0.9-linux-x86_64.AppImage &
# On main app window, go to Edit > Settings > Key Server > Test Listed Keyserver
# After connectivity test (with default TCP timeout of 2500), Available field is updated as: Not Reachable

Hints:

2023-01-02 01:21:04,324 INFO [ui] {void GpgFrontend::UI::KeyserverTab::slot_refresh_table()} -> Start Refreshing Key Server Table 2023-01-02 01:21:21,910 TRACE [core] {GpgFrontend::Thread::Task::Task()} -> Task 93f6021a-4481-4c6a-91a8-6dc362a3ccb6 created 2023-01-02 01:21:21,914 TRACE [core] {void GpgFrontend::Thread::TaskRunner::PostTask(GpgFrontend::Thread::Task*)} -> Post Task 93f6021a-4481-4c6a-91a8-6dc362a3ccb6 2023-01-02 01:21:21,914 TRACE [core] {virtual void GpgFrontend::Thread::TaskRunner::run()} -> TaskRunner: A new cycle start 2023-01-02 01:21:21,914 TRACE [core] {virtual void GpgFrontend::Thread::TaskRunner::run()} -> TaskRunner: Task queue size: 1 2023-01-02 01:21:21,914 TRACE [core] {virtual void GpgFrontend::Thread::TaskRunner::run()} -> TaskRunner: Running Task 93f6021a-4481-4c6a-91a8-6dc362a3ccb6 2023-01-02 01:21:21,914 INFO [ui] {virtual void GpgFrontend::UI::ListedKeyServerTestTask::run()} -> key server request: keyserver.ubuntu.com 2023-01-02 01:21:21,915 INFO [ui] {virtual void GpgFrontend::UI::ListedKeyServerTestTask::run()} -> key server request: keys.openpgp.org 2023-01-02 01:21:21,915 TRACE [core] {virtual void GpgFrontend::Thread::TaskRunner::run()} -> TaskRunner: A new cycle start 2023-01-02 01:21:21,915 TRACE [core] {virtual void GpgFrontend::Thread::TaskRunner::run()} -> TaskRunner: No tasks to run, trapping into event loop... qt.network.ssl: QSslSocket: cannot call unresolved function SSL_get_peer_certificate 2023-01-02 01:21:21,999 INFO [ui] {GpgFrontend::UI::ListedKeyServerTestTask::run()::<lambda()>} -> key server domain reply https://keys.openpgp.org qt.network.ssl: QSslSocket: cannot call unresolved function SSL_get_peer_certificate 2023-01-02 01:21:22,037 INFO [ui] {GpgFrontend::UI::ListedKeyServerTestTask::run()::<lambda()>} -> key server domain reply https://keyserver.ubuntu.com 2023-01-02 01:21:22,037 TRACE [core] {void GpgFrontend::Thread::Task::before_finish_task()} -> Task 93f6021a-4481-4c6a-91a8-6dc362a3ccb6 finished QBasicTimer::stop: Failed. Possibly trying to stop from a different thread

saturneric commented 1 year ago

Maybe your operating system is missing "OpenSSL".

orgcontrib commented 1 year ago

Maybe your operating system is missing "OpenSSL".

tux@dactuxone ~]$ which openssl
openssl is /usr/bin/openssl
[tux@dactuxone ~]$ openssl version
OpenSSL 3.0.5 5 Jul 2022 (Library: OpenSSL 3.0.5 5 Jul 2022)
[tux@dactuxone ~]$ 
orgcontrib commented 1 year ago

If there's any consolation, you're not alone. Look here.

saturneric commented 1 year ago

This might be an annoying issue. I know the reason now. GpgFrontend use openssl 1.1.1 now, but the verion installed in your machine is 3.0.5. I suppose that a possible and temporary solution is to install both of above openssl library in your machine.

You can read here.