When there are multiple active keys, get_best_pubkey_byname may not work correctly as expected.
I have two active keys on tokens, and I recently begin to use new machine.
I import my new key at first, and then, import old key. I configure trust settings.
In this situation, old key is selected, but apparently get_best_pubkey_byname should return new key.