Use fingerprint instead of keyid when importing and deleting keys.
This commit is contained in:
@@ -22,13 +22,13 @@ public:
|
||||
* Deleting keys must be done with the C API because
|
||||
* gpgmepp does not provide a way to use GPGME_DELETE_FORCE,
|
||||
* resulting in a confirmation dialog triggered by GPG.
|
||||
* This does not fit use on a web werver.
|
||||
* @param fullKeyId
|
||||
* This does not fit use on a web server.
|
||||
* @param fpr
|
||||
* @param secret delete secret key ?
|
||||
* @param e
|
||||
* @return
|
||||
*/
|
||||
bool DeleteKey(const char * fullKeyId, bool secret, GpgME::Error& e);
|
||||
bool DeleteKey(const char * fpr, bool secret, GpgME::Error& e);
|
||||
|
||||
private:
|
||||
gpgme_ctx_t c_ctx;
|
||||
|
||||
Reference in New Issue
Block a user