Plugin details
Thin wrapper around the OpenPGPJS NodeJS module. Exposes actions to generate public-private key pairs, sign, verify, encrypt, and decrypt messages. Restricted to RSA 4096 keys, and single detached signatures only.
The client side element uses implicit Promise chaining between actions. Each action raises an event on the creation of its corresponding Promise, allowing for subsequent actions to be safely called even if the Promise has not yet resolved.
File encryption, decryption, signing, and verifying is handled directly through native file prompts when using the client-side element. On the server-side raw bytes are handled by passing and returning an intermediary URL safe Base64 encoded values.