GPGME: how to check if we can decrypt a secret and own a matching key?

后端 未结 0 1004
慢半拍i
慢半拍i 2020-12-17 10:09

With GPGME, how would I check if I can decrypt a given secret with the current keychain.

I can attempt decryption with gpgme_op_decrypt and catch GPG_ERR_NO_SECKEY er

相关标签:
回答
  • 消灭零回复
提交回复
热议问题