> a "Mastodon-ism". It's not strictly right
actually it's not wrong, especially when/because the key is a fragment of the returned document.
you're supposed to get the document and then *find the graph node that matches the input id*.
i suspect some implementations don't recognize that they need to do this, and they just assume that the key is *always* at $.publicKey.publicKeyPem or at $.publicKeyPem. that's incorrect.