openpgp.write_signed_and_encrypted_message takes multiple public keys
and encrypts to them.

You would have to extract each public subkey manually and use it with
above method.

You can do anything you want, provided you are willing to butcher your
way through the codebase and extract the bits you need, but it's a bit
painful at the moment.

I'm finishing a refactor that will make such kind of operations a lot
easier. You can check it out and see the API at work here:
https://github.com/dreamingofelectricsheep/openpgpjs/blob/packet-refactor/test/general/packet.js
_______________________________________________

http://openpgpjs.org

Reply via email to