Bug 484735

Summary: Certificate is not published - the server hkps://keys.ubuntu.com fails
Product: [Applications] kleopatra Reporter: willian.tomazi
Component: generalAssignee: Andre Heinecke <aheinecke>
Status: RESOLVED WORKSFORME    
Severity: minor CC: kde, kdepim-bugs, kloecker, mutz
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description willian.tomazi 2024-03-30 02:05:58 UTC
SUMMARY
Under GPG4WIN  version 3.2.2.231170  When trying to publishing to server (sending the public key), it gets this error:

An error occurred while trying to export OpenPGP certificates. 
The output of C:\Program Files (x86)\GnuPG\bin\gpg.exe was:

gpg: enviando a chave FCD039CFF085CE17 para hkps://keys.ubuntu.com 
gpg: falhou o envio ao servidor de chaves: Sem servidor de chaves disponível 
gpg: falhou o envio ao servidor de chaves: Sem servidor de chaves disponível 

(Maybe the server hkps://keys.ubuntu.com is unreachable..)

STEPS TO REPRODUCE
1. IN KLEOPATRA OF GPG4WIN,  , CLICK ON CERTIFICATES.
2.  SELECT YOUR KEY / CERTIFICATE
3.  PRESS CTRL+SHIFT+E 

OBSERVED RESULT

An error occurred while trying to export OpenPGP certificates. 
The output of C:\Program Files (x86)\GnuPG\bin\gpg.exe was:

gpg: enviando a chave FCD039CFF085CE17 para hkps://keys.ubuntu.com 
gpg: falhou o envio ao servidor de chaves: Sem servidor de chaves disponível 
gpg: falhou o envio ao servidor de chaves: Sem servidor de chaves disponível 

EXPECTED RESULT

The public certificate should be published

SOFTWARE/OS VERSIONS
Windows: 10
macOS: -
Linux/KDE Plasma: -
(available in About System)
KDE Plasma Version: -
KDE Frameworks Version: -
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Ingo Klöcker 2024-10-17 21:33:47 UTC
Try hkps://keyserver.ubuntu.com. I don't know why your Kleopatra tries to use hkps://keys.ubuntu.com because keys.ubuntu.com doesn't exist.

Closing as WORKSFORME because it works if one uses the correct keyserver address.