- OpenPGP.js version:
"openpgp": "^5.8.0"
- Affected platform (Browser or Node.js version): Node.js (I haven't tried for the Browser version/dist)
Description:
During my testing, OpenPGP.js verifyAllUsers() fails to work and returns TypeError: Cannot read properties of null (reading 'userID') when parsing a public key/key pair that contains image data. eg image added with gpg's addphoto command.


File to use:
sample.pub.txt
Steps to reproduce:
const key = `$armored_key`;
const k = openpgp.readKey({armoredKey: key});
const vk = (await k).verifyAllUsers(k);
console.log(vk);
"openpgp": "^5.8.0"Description:
During my testing, OpenPGP.js
verifyAllUsers()fails to work and returnsTypeError: Cannot read properties of null (reading 'userID')when parsing a public key/key pair that contains image data. eg image added with gpg'saddphotocommand.File to use:
sample.pub.txt
Steps to reproduce: