Fix another crypto state related bug
Fix GnuPG initialization in encrypt/sign wrappers