When kid is not set and only a single key is published, fall back to using this single key.
This expands upon #7 (and pulls in the commit part of that PR) and adds a modification to find_key_id to deal with an empty kid.
Adresses parts of the issues observed in #53 .
When
kid
is not set and only a single key is published, fall back to using this single key.This expands upon #7 (and pulls in the commit part of that PR) and adds a modification to
find_key_id
to deal with an emptykid
. Adresses parts of the issues observed in #53 .