pks: Fix interchanged keys in missing keys
pks: Fix missing signatures (get key from ctx with signatures)