PassphraseNeeded Event
Requests a data protection password from the application.
Syntax
pgpreader.on('PassphraseNeeded', [callback])
Callback
The 'callback' is called when the 'PassphraseNeeded' event is emited.
function(e){ }
The argument 'e' has the following properties:
e.passphrase e.skip
Remarks
The class fires this event to request a decryption password. It is only fired if the data can be decrypted without a key.
The event is fired in a loop until the correct password is passed or the number of password attempts is exceeded.