Also check if a key is explicitly marked for signing before rejecting it.
Also check if a key is explicitly marked for signing before rejecting it.

If a key is marked both encryption AND signing, the test would reject it because it considered it to be an encryption key.

Fixes #570

mrvanes/janus,mrvanes/janus,mrvanes/janus,mrvanes/janus