FilterMyKeys does not work as expected with the new CI module

Description

For a newly generated key using `freshKey` the node will return `false` when `filterMyKeys` is called in respect of the new key. This is because the implementation of `filterMyKeys` uses the `IdentityService` tables, why? I don't know? Instead, the implementation should perform a key lookup using the public key hash on the public/private key table or HSM equivalent. See screenshot, the commented out code on the first line returns false, where as a direct lookup on the keys table returns true.

CVSS Vector

None

Status

Assignee

Roger Willis

Reporter

Roger Willis

Labels

CVSS Score

None

Feature Team

Mid Stack

Target Version/s

None

Ported to...

None

Fix versions

Priority

High