WKD not working for my key #116

Closed
opened 1 year ago by singpolyma · 3 comments
https://keyoxide.org/wkd/singpolyma%40singpolyma.net says "something went wrong" but https://metacode.biz/openpgp/web-key-directory check works fine.
Owner

I am not 100% certain what is going wrong here, it seems the upstream openpgp.js library is unwilling to read your key.

This could be due to your implementation not following exactly the specification draft-koch-openpgp-webkey-service-13, section 3.1:

The HTTP GET method MUST return the binary representation of the OpenPGP key for the given mail address.

When I fetch your key at the direct WKD URL, I get an armored key file. This is what I suspect is messing up the process. Could you test again with a binary file?

As for the metacode.biz/openpgp/web-key-directory check, I guess their implementation is more forgiving than that of openpgp.js.

Pinging @wiktor just in case, perhaps his check could show a message if the wrong format is being used?

I am not 100% certain what is going wrong here, it seems the upstream openpgp.js library is unwilling to read your key. This could be due to your implementation not following exactly the specification [draft-koch-openpgp-webkey-service-13, section 3.1](https://tools.ietf.org/id/draft-koch-openpgp-webkey-service-13.html#name-key-discovery): > The HTTP GET method MUST return the binary representation of the OpenPGP key for the given mail address. When I fetch your key at the direct WKD URL, I get an armored key file. This is what I suspect is messing up the process. Could you test again with a binary file? As for the [metacode.biz/openpgp/web-key-directory](https://metacode.biz/openpgp/web-key-directory) check, I guess their implementation is more forgiving than that of openpgp.js. Pinging @wiktor just in case, perhaps his check could show a message if the wrong format is being used?
yarmo added the
bug
label 1 year ago
Poster

That was it, thanks.

That was it, thanks.
singpolyma closed this issue 1 year ago

Indeed the checker is more forgiving than it should be. Actually I'm not sure if I can disable this behavior in sequoia. I'll check it out.

Indeed the checker is more forgiving than it should be. Actually I'm not sure if I can disable this behavior in sequoia. I'll check it out.
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: keyoxide/keyoxide-web#116
Loading…
There is no content yet.