3 ms·
The author seems to have written this article in a very web-centric way, as if "API" could only possibly refer to web service APIs that go over the open interne
by adrianmonk 7y ago
The author seems to have written this article in a very web-centric way, as if "API" could only possibly refer to web service APIs that go over the open internet.
But of course sometimes (you might even say often) APIs don't go over a network at all and don't cross the sort of boundaries that require signing.
For example, the Linux kernel has an API that applications can use. There's no need for the response to open(2) to be signed. If you can't trust the result, you can't trust anything else that is happening either since you are at the mercy of the kernel.
- edent 7y agoThe author primarily works with web APIs. But, for example, the Kernel's USB API may want to verify that it is communicating with a specific device. And, for audit purposes, log the signed input.