aboutsummaryrefslogtreecommitdiffstats
path: root/lang/cpp/src/context_glib.cpp
diff options
context:
space:
mode:
authorIngo Klöcker <[email protected]>2020-09-08 12:55:20 +0000
committerIngo Klöcker <[email protected]>2020-09-08 12:55:20 +0000
commit3dd7377e120f10576b3b4334b6149f027ceec126 (patch)
treebf119f5de823c7f674f283cfaedbdd1d9b341bd8 /lang/cpp/src/context_glib.cpp
parentqt: List keys once with --with-secret instead of twice (diff)
downloadgpgme-3dd7377e120f10576b3b4334b6149f027ceec126.tar.gz
gpgme-3dd7377e120f10576b3b4334b6149f027ceec126.zip
cpp: Update key with --with-secret instead of updating it twice
* lang/cpp/src/key.cpp (Key::update): Call Context::key() only once with KeyListMode::WithSecret. -- With gpg >= 2.1, get the key with --with-secret instead of first trying to get the secret key and, if that fails, getting the public key. GnuPG-bug-id: 4794
Diffstat (limited to 'lang/cpp/src/context_glib.cpp')
0 files changed, 0 insertions, 0 deletions