mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2026-02-26 21:13:20 +00:00
If given, the signature will be generated using the preferred hash algo from the recipient keys. Otherwise, the signing key preferences are used (this was also the existing behavior). Note: when signing through `openpgp.encrypt`, the `encryptionKeys` are automatically used as recipient keys.