Page 1 of 3 123 LastLast
Results 1 to 10 of 24

Thread: opensuse leap 15.3 - gpg keys import fails

  1. #1

    Default opensuse leap 15.3 - gpg keys import fails

    Code:
    gpg --recv-keys 0x22C07BA534178CD02EFE22AAB88B2FD43DBDC284
    
    
    gpg: keyserver receive failed: General error

  2. #2
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    16,019
    Blog Entries
    3

    Default Re: opensuse leap 15.3 - gpg keys import fails

    Code:
    % gpg --recv-keys 0x22C07BA534178CD02EFE22AAB88B2FD43DBDC284
    gpg: key B88B2FD43DBDC284: public key "openSUSE Project Signing Key <opensuse@opensuse.org>" imported
    gpg: Total number processed: 1
    gpg:               imported: 1
    I guess it worked for me.

    For my configuration, I have:
    Code:
    keyserver hkp://keys.gnupg.net
    I think that's actually a pool of servers. Maybe you connected to a broken server, and perhaps it will work when you next try.
    openSUSE Leap 15.4; KDE Plasma 5.24.4;
    testing Tumbleweed.

  3. #3

    Default Re: opensuse leap 15.3 - gpg keys import fails

    Quote Originally Posted by nrickert View Post
    Code:
    % gpg --recv-keys 0x22C07BA534178CD02EFE22AAB88B2FD43DBDC284
    gpg: key B88B2FD43DBDC284: public key "openSUSE Project Signing Key <opensuse@opensuse.org>" imported
    gpg: Total number processed: 1
    gpg:               imported: 1
    I guess it worked for me.

    For my configuration, I have:
    Code:
    keyserver hkp://keys.gnupg.net
    I think that's actually a pool of servers. Maybe you connected to a broken server, and perhaps it will work when you next try.
    Same as 1hr ago. I'll try to change the key. Please post how to do that.

  4. #4

    Default Re: opensuse leap 15.3 - gpg keys import fails

    Code:
    gpg --search-key 0x22C07BA534178CD02EFE22AAB88B2FD43DBDC284
    gpg: error searching keyserver: General error
    gpg: keyserver search failed: General error

  5. #5
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    7,242

    Default AW: opensuse leap 15.3 - gpg keys import fails

    Post:
    Code:
    grep -i 'keyserver' ~/.gnupg/gpg.conf
    Please also post the whole commandline with the whole output here, not only the output.
    Last edited by Sauerland; 17-Jun-2021 at 22:44.

  6. #6

    Default Re: opensuse leap 15.3 - gpg keys import fails

    local user:

    Code:
    grep -i 'keyserver' ~/.gnupg/gpg.conf
    grep: /home/lehann_beinne/.gnupg/gpg.conf: No such file or directory
    root:

    Code:
    grep -i 'keyserver' ~/.gnupg/gpg.conf
    grep: /root/.gnupg/gpg.conf: No such file or directory
    Should I reinstall gpg in yast? How?

  7. #7
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    7,242

    Default AW: opensuse leap 15.3 - gpg keys import fails

    Is not the whole commandline, but as you see, there is no gpg.conf file.........

    So as User:
    Code:
    echo 'keyserver hkp://keys.gnupg.net' >> ~/.gnupg/gpg.conf

  8. #8

    Default Re: AW: opensuse leap 15.3 - gpg keys import fails

    Quote Originally Posted by Sauerland View Post
    Is not the whole commandline, but as you see, there is no gpg.conf file.........

    So as User:
    Code:
    echo 'keyserver hkp://keys.gnupg.net' >> ~/.gnupg/gpg.conf
    Code:
    >echo 'keyserver hkp://keys.gnupg.net' >> ~/.gnupg/gpg.conf
    >gpg --recv-keys 0x22C07BA534178CD02EFE22AAB88B2FD43DBDC284
    gpg: key B88B2FD43DBDC284: public key "openSUSE Project Signing Key <opensuse@opensuse.org>" imported
    gpg: Total number processed: 1
    gpg:               imported: 1
    > gpg --fingerprint "openSUSE Project Signing Key <opensuse@opensuse.org>"
    pub   rsa2048 2008-11-07 [SC] [expires: 2024-05-02]
          22C0 7BA5 3417 8CD0 2EFE  22AA B88B 2FD4 3DBD C284
    uid           [ unknown] openSUSE Project Signing Key <opensuse@opensuse.org>
    Can't get the verify to work.
    openSUSE-Leap-15.3-DVD-x86_64-Current.iso.sha256
    openSUSE-Leap-15.3-DVD-x86_64.iso
    gpg-pubkey-3dbdc284-53674dd4.asc

  9. #9
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    7,242

    Default AW: opensuse leap 15.3 - gpg keys import fails

    Change to the directors with your iso, sha256 and asc file:
    Code:
    ich@linux64:~> cd /mnt/2TB/Container/ISO/openSUSE-Leap-15\ 3-DVD-x86\ 64/
    compare the gpg signature with the asc file:
    Code:
    ich@linux64:/mnt/2TB/Container/ISO/openSUSE-Leap-15 3-DVD-x86 64> LANG=C gpg --verify openSUSE-Leap-15.3-DVD-x86_64.iso.sha256.asc
    gpg: assuming signed data in 'openSUSE-Leap-15.3-DVD-x86_64.iso.sha256'
    gpg: Signature made Mi 26 Mai 2021 14:56:40 CEST
    gpg:                using RSA key B88B2FD43DBDC284
    gpg: Good signature from "openSUSE Project Signing Key <opensuse@opensuse.org>" [unknown]
    gpg: WARNING: This key is not certified with a trusted signature!
    gpg:          There is no indication that the signature belongs to the owner.
    Primary key fingerprint: 22C0 7BA5 3417 8CD0 2EFE  22AA B88B 2FD4 3DBD C284
    Now compare the iso file with the sha256 file:
    Code:
    ich@linux64:/mnt/2TB/Container/ISO/openSUSE-Leap-15 3-DVD-x86 64> Lang=C sha256sum -c openSUSE-Leap-15.3-DVD-x86_64.iso.sha256
    openSUSE-Leap-15.3-DVD-x86_64.iso: OK
    PS: I am on German here, so I use LANG=C to get an English output.

  10. #10
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    7,242

    Default AW: opensuse leap 15.3 - gpg keys import fails

    Can't get the verify to work.
    openSUSE-Leap-15.3-DVD-x86_64-Current.iso.sha256
    openSUSE-Leap-15.3-DVD-x86_64.iso
    gpg-pubkey-3dbdc284-53674dd4.asc
    You need the files with the same filename, but different endings:

    Code:
    ls -al
    insgesamt 4576276
    drwxr-xr-x  2 ich users       4096 11. Jun 09:39 .
    drwxr-xr-x 30 ich users       4096 11. Jun 09:53 ..
    -rw-r--r--  1 ich users 4686086144 11. Jun 09:39 openSUSE-Leap-15.3-DVD-x86_64.iso
    -rw-r--r--  1 ich users        100 11. Jun 09:32 openSUSE-Leap-15.3-DVD-x86_64.iso.sha256
    -rw-r--r--  1 ich users        481 11. Jun 09:32 openSUSE-Leap-15.3-DVD-x86_64.iso.sha256.asc
    http://suse.uni-leipzig.de/pub/ftp.o...leap/15.3/iso/
    Last edited by Sauerland; 17-Jun-2021 at 23:47.

Page 1 of 3 123 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •