Don't use revoked keys

Check if keys are revoked when getting usable encryption keys. Only use keys which are not expired and not revoked.
Merge pull request #131 from ogasser/patch-1

Don't use revoked keys