Unable to check digital key for hp-plugin

Asked by Andrey Cherepanov on 2019-04-08

$ rpm -qf /usr/bin/hp-plugin hplip-3.19.3-alt1.x86_64

Ourput: Receiving digital keys: /usr/bin/gpg --homedir /home/user/.hplip/.gnupg --no-permission-warning --keyserver pgp.mit.edu --recv-keys 0x4ABA2F66DBD5A95894910E0673D770CDA59047B9

Please, put correct keys to key server.

Also there is advise on page https://developers.hp.com/hp-linux-imaging-and-printing/hplipDigitalCertificate.html :

  For HPLIP Version 3.9.12 and above:
  /usr/bin/gpg --keyserver pgp.mit.edu --recv-keys 0xA59047B9

I got:
$ LC_ALL=C /usr/bin/gpg --keyserver pgp.mit.edu --recv-keys 0xA59047B9
gpg: requesting key A59047B9 from hkp server pgp.mit.edu
gpgkeys: key A59047B9 can't be retrieved
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
gpg: keyserver communications error: keyserver helper general error
gpg: keyserver communications error: unknown pubkey algorithm
gpg: keyserver receive failed: unknown pubkey algorithm

What is wrong with public keys?

Question information

English Edit question
HPLIP Edit question
No assignee Edit question
Last query:
Last reply:
Manfred Hampl (m-hampl) said : #1

"gpg: keyserver communications error"
It seems that there are some problems with the MIT PGP server.

I suggest that you try again and/or try with a different key server, e.g.

LC_ALL=C /usr/bin/gpg --keyserver keyserver.ubuntu.com --recv-keys 0xA59047B9

Does this give similar error messages?

Andrey Cherepanov (sibskull) said : #2

cas@cas ~ $ LC_ALL=C /usr/bin/gpg --keyserver keyserver.ubuntu.com --recv-keys 0xA59047B9
gpg: requesting key A59047B9 from hkp server keyserver.ubuntu.com
gpg: key A59047B9: public key "HPLIP (HP Linux Imaging and Printing) <email address hidden>" imported
gpg: key A59047B9: public key "Totally Legit Signing Key <email address hidden>" imported
gpg: 3 marginal(s) needed, 1 complete(s) needed, classic trust model
gpg: depth: 0 valid: 20 signed: 5 trust: 0-, 0q, 0n, 0m, 0f, 20u
gpg: depth: 1 valid: 5 signed: 1 trust: 5-, 0q, 0n, 0m, 0f, 0u
gpg: next trustdb check due at 2022-02-24
gpg: Total number processed: 2
gpg: imported: 2 (RSA: 1)

It's OK. Let's patch hplip do not use MIT PGP server?
What do you use in Ubuntu?

Launchpad Janitor (janitor) said : #3

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.