OpenPGP / openpgp.org

OpenPGP.org website
https://www.openpgp.org
294 stars 112 forks source link

Broken API service? #104

Closed sphakka closed 4 months ago

sphakka commented 12 months ago

It looks like the API service is broken. https://keys.openpgp.org/pks/lookup?op=get&options=mr&search=foobar returns

Error 400 Invalid request

teythoon commented 4 months ago

It also points to https://keys.openpgp.org/about/api which says:

Hagrid implements a subset of the HKP protocol so that tools like GnuPG and OpenKeychain can use it without modification.

Notably, that subset only allows queries for email addresses, key IDs, and fingerprints. Note how appending @example.org to your query makes it work:

https://keys.openpgp.org/pks/lookup?op=get&options=mr&search=foobar@example.org