check to see if a reply encryption key can encrypt
authorAndrew Engelbrecht <sudoman@ninthfloor.org>
Sun, 16 Aug 2015 04:34:53 +0000 (00:34 -0400)
committerAndrew Engelbrecht <sudoman@ninthfloor.org>
Mon, 7 Dec 2015 18:29:55 +0000 (13:29 -0500)
commitc035a00815b5f5a79517ec3386d4cfd124733537
tree690c5c77ef4db54be7fc205b3ecde442ee4f3259
parentc230113ef4968a6e06cebd055c9f4f1bc4d4c3c6
check to see if a reply encryption key can encrypt

sometimes keys are revoked or expire. if so, they should not be
encrypted to. edward now checks to make sure a key is good before
encrypting a reply with it. if only bad keys are available, edward
complains. however the complaint edward makes is that he does not have
the user's public key. this is because there is currently no translation
set for a more accurate message.

some other refactoring has been performed as well.
edward