diff --git a/app/shared/components/Tools/Keys.js b/app/shared/components/Tools/Keys.js index 38212d692..7806088e2 100644 --- a/app/shared/components/Tools/Keys.js +++ b/app/shared/components/Tools/Keys.js @@ -80,9 +80,13 @@ class ToolsKeys extends Component { const { confirmRemove, legacy, openKey, searchFilter } = this.state; let filtered = [...pubkeys.available]; if (searchFilter !== '') { - filtered = [...pubkeys.available].filter(k => - k.toLowerCase().includes(searchFilter.toLowerCase()) - ); + try { + filtered = [...pubkeys.available].filter(k => + PublicKey.from(k).equals(PublicKey.from(searchFilter)) + ); + } catch (e) { + filtered = []; + } } return (