updated KeyCode pattern so that the crypto keys can be injected again