mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2025-03-30 15:08:32 +00:00

Previously, `readKey` and `readPrivateKey` would throw when given a block of keys as input. With this change, the first parsable key is returned by both functions: the behaviour is equivalent to calling `readKeys` (resp. `readPrivateKeys`) and taking the first array entry.