<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gpgme/lang/cpp/src/key.cpp, branch gpgme-1.11.0</title>
<subtitle>GnuPG Made Easy.</subtitle>
<id>http://git.bktus.com/gpgfrontend/gpgme/atom?h=gpgme-1.11.0</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/gpgme/atom?h=gpgme-1.11.0'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/'/>
<updated>2018-02-16T12:00:49Z</updated>
<entry>
<title>cpp: Add shorthand for key locate</title>
<updated>2018-02-16T12:00:49Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2018-02-16T11:58:54Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=7f9d5c6cd204bfd84ea477b284df795b1dadb1af'/>
<id>urn:sha1:7f9d5c6cd204bfd84ea477b284df795b1dadb1af</id>
<content type='text'>
* lang/cpp/src/key.cpp (Key::locate): New static helper.
* lang/cpp/src/key.h: Update accordingly.
</content>
</entry>
<entry>
<title>cpp: Fix Key::isDeVs for subkeys</title>
<updated>2017-07-26T13:07:55Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2017-07-26T13:07:27Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=c7be41a5f850addceb2a95444bad2a31cdcd1ce5'/>
<id>urn:sha1:c7be41a5f850addceb2a95444bad2a31cdcd1ce5</id>
<content type='text'>
* lang/cpp/src/key.cpp (Key::isDeVs): Check all subkeys.

--
Previosly only the primary key was checked and not all subkeys.
</content>
</entry>
<entry>
<title>core,cpp: New key flag 'is_de_vs'.</title>
<updated>2017-03-20T19:05:16Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2017-03-20T18:56:10Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=ea9686ec71a2dd2225ce2b6d6d4038821d36205f'/>
<id>urn:sha1:ea9686ec71a2dd2225ce2b6d6d4038821d36205f</id>
<content type='text'>
* src/gpgme.h.in (_gpgme_subkey): New flag is_de_vs.
* tests/run-keylist.c (main): Print that flag.
* src/keylist.c (parse_pub_field18): New.
(keylist_colon_handler): Parse compliance flags.
* lang/cpp/src/key.cpp (Key::isDeVs): New.
(Subkey::isDeVs): New.

* lang/cpp/src/key.h (class Key): New method isDeVs.
(class Subkey): New method isDeVs.

Signed-off-by: Werner Koch &lt;wk@gnupg.org&gt;
</content>
</entry>
<entry>
<title>cpp: Add subkey keygrip to API</title>
<updated>2017-03-02T08:38:31Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2017-03-02T08:35:05Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=8071a6b2ca33c2a46ed1d50ae7283241daaafcd3'/>
<id>urn:sha1:8071a6b2ca33c2a46ed1d50ae7283241daaafcd3</id>
<content type='text'>
* lang/cpp/src/key.cpp (Subkey::keyGrip): New.
* lang/cpp/src/key.h: Update accordingly.
</content>
</entry>
<entry>
<title>cpp: Add revuid and adduid support</title>
<updated>2017-01-11T15:14:45Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2017-01-11T15:14:45Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=e416f9961837039f259558edf41fccbc181ad128'/>
<id>urn:sha1:e416f9961837039f259558edf41fccbc181ad128</id>
<content type='text'>
* lang/cpp/src/context.cpp
(Context::revUid, Context::startRevUid),
(Context::addUid, Context::startAddUid): New.
* lang/cpp/src/context.h: Declare new functions.
* lang/cpp/src/key.cpp (Key::UserID::revoke)
(Key::addUid): Idomatic helpers.
lang/cpp/src/key.h: Declare new functions.
* NEWS: Update accordingly.
</content>
</entry>
<entry>
<title>cpp: Ensure that hasSecret is correct after update</title>
<updated>2016-12-16T18:09:13Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2016-12-16T18:09:13Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=da5343a9d2c8c0ca6431162aac4bd5c73b4ae6dd'/>
<id>urn:sha1:da5343a9d2c8c0ca6431162aac4bd5c73b4ae6dd</id>
<content type='text'>
* lang/cpp/src/key.cpp (Key::update): Check for
a secret key first before listing public keys.

--
This is a performance delay but the update should
only be called in a non gui thread anyway. The information
if we have the secret key for this key is important to provide
after update.
</content>
</entry>
<entry>
<title>cpp: Fix addrSpec for keys without email</title>
<updated>2016-12-15T10:39:12Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2016-12-15T10:31:14Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=85e05537e15346896a271d3f62bead9dd7e3f180'/>
<id>urn:sha1:85e05537e15346896a271d3f62bead9dd7e3f180</id>
<content type='text'>
* lang/cpp/src/key.cpp (UserID::addrSpec): Use uid-&gt;address instead
of normalizing again.
(&amp;operator&lt;&lt;(std::ostream &amp;, const UserID &amp;): Print it.

--
This saves a normalization and fixes the case where a user id
is just a mail address without name, in that case gpgme sets
"address" but not email. Because the email is then the name.
</content>
</entry>
<entry>
<title>cpp: Fix init of string from null</title>
<updated>2016-10-14T14:23:57Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2016-10-14T14:23:57Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=1e8c34a9192956bb2fe96a7a6a76ff59de8d1c0c'/>
<id>urn:sha1:1e8c34a9192956bb2fe96a7a6a76ff59de8d1c0c</id>
<content type='text'>
* lang/cpp/src/key.cpp (UserID::addrSpecFromString): Check return
value before creating the string.
</content>
</entry>
<entry>
<title>cpp: Add API for gpgme_addrspec_from_uid</title>
<updated>2016-10-11T12:13:15Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2016-10-11T12:13:15Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=54f94b14e2bb9b38ffd89f509406bfbd012da632'/>
<id>urn:sha1:54f94b14e2bb9b38ffd89f509406bfbd012da632</id>
<content type='text'>
* lang/cpp/src/key.cpp (UserID::addrSpecFromString): New static
function to expose addrspec from uid.
(UserID::addrSpec): New. Get addrSpec from Userid.
* NEWS: Update accordingly.
</content>
</entry>
<entry>
<title>Add missing includes.</title>
<updated>2016-10-06T11:12:52Z</updated>
<author>
<name>Justus Winter</name>
<email>justus@g10code.com</email>
</author>
<published>2016-10-06T11:12:28Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=857592041b8355cd58a7068c9f2446cf8dc0968f'/>
<id>urn:sha1:857592041b8355cd58a7068c9f2446cf8dc0968f</id>
<content type='text'>
* lang/cpp/src/key.cpp: Include &lt;strings.h&gt; for 'strcasecmp'.
* tests/gpg/t-cancel.c: Include &lt;sys/select.h&gt; for 'fd_set' and
friends.

Signed-off-by: Justus Winter &lt;justus@g10code.com&gt;
</content>
</entry>
</feed>
