<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gpgme/src, branch bjk/passphrase-inquire</title>
<subtitle>GnuPG Made Easy.</subtitle>
<id>http://git.bktus.com/gpgfrontend/gpgme/atom?h=bjk%2Fpassphrase-inquire</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/gpgme/atom?h=bjk%2Fpassphrase-inquire'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/'/>
<updated>2015-08-15T00:56:14Z</updated>
<entry>
<title>Merge branch 'master' into passphrase-inquire</title>
<updated>2015-08-15T00:56:14Z</updated>
<author>
<name>Ben Kibbey</name>
<email>bjk@luxsci.net</email>
</author>
<published>2015-08-15T00:56:14Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=aa89252256fc87d637d3793a1fabdbee207967a4'/>
<id>urn:sha1:aa89252256fc87d637d3793a1fabdbee207967a4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Also check the return code in gpg_sign().</title>
<updated>2015-08-12T10:46:43Z</updated>
<author>
<name>Ben Kibbey</name>
<email>bjk@luxsci.net</email>
</author>
<published>2015-08-12T10:46:43Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=e07d38f5f9f3b94e403f1265ff7fd3d7009dd557'/>
<id>urn:sha1:e07d38f5f9f3b94e403f1265ff7fd3d7009dd557</id>
<content type='text'>
* src/engine-gpg.c (gpg_sign): Check return value from start().
</content>
</entry>
<entry>
<title>Check the return value when starting gpg.</title>
<updated>2015-08-11T01:23:02Z</updated>
<author>
<name>Ben Kibbey</name>
<email>bjk@luxsci.net</email>
</author>
<published>2015-08-11T01:23:02Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=8f28e3caf95d7bc99e9271bfc2b44080166af31f'/>
<id>urn:sha1:8f28e3caf95d7bc99e9271bfc2b44080166af31f</id>
<content type='text'>
* src/engine-gpg.c (gpg_decrypt, gpg_delete, gpg_passwd): Check return
value of start().
</content>
</entry>
<entry>
<title>Add offline mode support for CMS keylisting</title>
<updated>2015-07-31T13:18:27Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2015-07-02T08:19:04Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=08086dd6901740e155e4361212b4e9cff8a47296'/>
<id>urn:sha1:08086dd6901740e155e4361212b4e9cff8a47296</id>
<content type='text'>
* doc/gpgme.texi: Document offline mode.
* src/context.h (gpgme_context): Add offline.
* src/engine-backend.h (keylist, keylist_ext): Add engine_flags.
* src/engine.c, src/engine.h (_gpgme_engine_op_keylist): Ditto.
  (_gpgme_engine_op_keylist_ext): Ditto.
* src/engine.h (GPGME_ENGINE_FLAG_OFFLINE): New.
* src/engine-gpg.c (gpg_keylist, gpg_keylist_ext): Ditto.
* src/engine-gpgsm.c (gpgsm_keylist): Handle engine_flags.
  (gpgsm_keylist_ext): Ditto.
* src/gpgme.c (gpgme_set_offline, gpgme_get_offline): New.
* src/gpgme.def (gpgme_set_offline, gpgme_get_offline): New.
* src/gpgme.h.in (gpgme_set_offline, gpgme_get_offline): New.
* src/libgpgme.vers (gpgme_set_offline, gpgme_get_offline): New.
* src/keylist.c (gpgme_op_keylist_start): Set offline flag.
  (gpgme_op_keylist_ext_start): Ditto.
* tests/run-keylist.c (show_usage, main): Add offline argument.

--
The offline engine option was introduced with gpgsm 2.1.6
it is mainly useful for a full keylisting that includes
the certificate validation but does not depend on external
information that could take an indefinite amount of time to
collect.

Signed-off-by: Andre Heinecke &lt;aheinecke@intevation.de&gt;
</content>
</entry>
<entry>
<title>Add option --lib-version to gpgme-tool.</title>
<updated>2015-07-23T09:40:09Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2015-07-23T09:40:09Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=c23f8897105ce2bb6e62d9c44ca0779fcc08a919'/>
<id>urn:sha1:c23f8897105ce2bb6e62d9c44ca0779fcc08a919</id>
<content type='text'>
* src/gpgme-tool.c (options, parse_options):  Add --lib-version
(CMD_LIBVERSION): New.
(main): Implement.
</content>
</entry>
<entry>
<title>Fix regression with gpgsm 2.0 due to "OPTION with-secret".</title>
<updated>2015-06-08T10:34:49Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2015-06-08T10:34:49Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=ddbd54ef881bd2c3481d62b89bef7241667b64ee'/>
<id>urn:sha1:ddbd54ef881bd2c3481d62b89bef7241667b64ee</id>
<content type='text'>
* src/engine-gpgsm.c (gpgsm_assuan_simple_command): Do not terminate
on a status lines.
--

This bug has been with us since the support for gpgsm: If there is no
status line handler but a status line is received anyway the command
handling loop terminates and thus the command/answer order gets out of
sync.  In the case of the bug report this is triggered by sending an
option which starts the agent and that starting emits a "PROGRESS"
status line.

The solution is not to stop reading after a status line but record a
possible error code and return that only after OK or ERR.

GnuPG-bug-id: 1795
Signed-off-by: Werner Koch &lt;wk@gnupg.org&gt;
</content>
</entry>
<entry>
<title>Fix compiler warnings about unused value in TRACE macros.</title>
<updated>2015-06-08T09:08:08Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2015-06-08T09:08:08Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=8b9f84828cd04a7dab37e219123edc1905da8e6b'/>
<id>urn:sha1:8b9f84828cd04a7dab37e219123edc1905da8e6b</id>
<content type='text'>
* src/debug.h: Change macros to not have a literal 0 as last
expression of the comma operator.
* src/debug.c (_gpgme_debug_frame_end): Return 0.
(_gpgme_debug): Return 0.
--

Instead of using
   foo(), 0
for the trace macros we let foo() return 0 instead.

Signed-off-by: Werner Koch &lt;wk@gnupg.org&gt;
</content>
</entry>
<entry>
<title>Set GPGME_SIGSUM_KEY_REVOKED also for gpg.</title>
<updated>2015-06-05T12:58:06Z</updated>
<author>
<name>Matthew Barnes</name>
<email>mbarnes@redhat.com</email>
</author>
<published>2015-03-18T21:20:55Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=87d713ff41454bd08a345c63605f6fc7ac854dd4'/>
<id>urn:sha1:87d713ff41454bd08a345c63605f6fc7ac854dd4</id>
<content type='text'>
* src/verify.c (calc_sig_summary): Handle GPG_ERR_CERT_REVOKED.

--

parse_new_sig() handles a revoked key by setting sig-&gt;status to
GPG_ERR_CERT_REVOKED, but then later calc_sig_summary() expects that
code in sig-&gt;validity_reason.

Additional comments added by wk.
</content>
</entry>
<entry>
<title>Fix segv for userids with a backslash.</title>
<updated>2015-06-05T12:25:59Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2015-06-05T12:25:59Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=0d28a696163677d6b34a802b6beddecd805d0fc7'/>
<id>urn:sha1:0d28a696163677d6b34a802b6beddecd805d0fc7</id>
<content type='text'>
* src/engine-gpg.c (gpg_keylist_preprocess): Increment SRC for a
backslash.
--

This bug is not exploitable because this bug fills up .data with
backslashes and thus causes the segv.

Signed-off-by: Werner Koch &lt;wk@gnupg.org&gt;
</content>
</entry>
<entry>
<title>Parse the INQUIRE_MAXLEN status message.</title>
<updated>2015-04-17T01:44:00Z</updated>
<author>
<name>Ben Kibbey</name>
<email>bjk@luxsci.net</email>
</author>
<published>2015-04-17T01:05:01Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=2fe9ffe0205ef44ad7318bd92474051c6176bcc4'/>
<id>urn:sha1:2fe9ffe0205ef44ad7318bd92474051c6176bcc4</id>
<content type='text'>
* src/gpgme.h.in: (gpgme_status_code_t): Add INQUIRE_MAXLEN.
* src/status-table.c (status_table_s): Ditto.
* src/genkey.c (genkey_status_handler): Parse INQUIRE_MAXLEN.
* src/decrypt.c (_gpgme_decrypt_status_handler): Ditto.
* src/sign.c (_gpgme_sign_status_handler): Ditto.

This status message informs the client of the maximum length of an
inquired line. It is sent from gpg and forwarded to the client via
gpgme_status_cb_t.
</content>
</entry>
</feed>
