drudge/node-gpg — pull request #4 by freewil (2012-08-16 22:01:19+00:00)
Title: optional encrypt args, pass buffer to callback

I wasn't able to get encrypt() to return anything so I did a little refactoring

* close stdin in encrypt()
* add optional args for encrypt() (such as recipient)
* encrypt now passes Buffer to callback
* add mocha tests for both encrypt() and clearsign()