<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gpgme/src, branch ben/cffi/test-001</title>
<subtitle>GnuPG Made Easy.</subtitle>
<id>http://git.bktus.com/gpgfrontend/gpgme/atom?h=ben%2Fcffi%2Ftest-001</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/gpgme/atom?h=ben%2Fcffi%2Ftest-001'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/'/>
<updated>2017-12-08T04:59:11Z</updated>
<entry>
<title>Spelling fixes for comments and doc</title>
<updated>2017-12-08T04:59:11Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2017-12-08T04:59:11Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=7b5182f2889310fc43d5fe05e7ec1ffd3c1f7b06'/>
<id>urn:sha1:7b5182f2889310fc43d5fe05e7ec1ffd3c1f7b06</id>
<content type='text'>
--
Patch provided by ka7 in dev.gnupg.org

Differential D423
</content>
</entry>
<entry>
<title>core: Also check for a failed selftest in gpgm_data_new.</title>
<updated>2017-12-04T11:08:31Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2017-12-04T11:08:31Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=0c1244a2b7e30ab0610ae70166e1b5d0219782c3'/>
<id>urn:sha1:0c1244a2b7e30ab0610ae70166e1b5d0219782c3</id>
<content type='text'>
* src/data.c (_gpgme_data_new): Check for failed selftest.
* tests/run-support.h (make_filename): Print a message on mallooc
failure.
(init_gpgme_basic): New.
* tests/run-identify.c (main): Call init_gpgme_basic becuase we do not
need to setup a protocol.
* tests/t-data.c: Define PGM and include run-support.h.
(make_filename): Remove.
(main): Call init_gpgme_basic.
--

Note: This patch may break applications which used gpgme_data but no
gpgme_new without having called the required gpgme_check_version.

GPGME can be used without a protocol for example to work with the data
object abstraction.  Thus a call to gpgme_data_new also needs to check
the result of the core selftests - including on whether
gpgme_check_version has been called.

Signed-off-by: Werner Koch &lt;wk@gnupg.org&gt;
</content>
</entry>
<entry>
<title>Fix uid parsing for ldap keyserver</title>
<updated>2017-12-01T08:52:16Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2017-12-01T08:44:47Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=651b3d8207cc7d85699f89fc4c21cb1243453aa8'/>
<id>urn:sha1:651b3d8207cc7d85699f89fc4c21cb1243453aa8</id>
<content type='text'>
* src/engine-gpg.c (gpg_keylist_preprocess): Check field count
for uid and add fallback.

--
This fixes accessing unintialized memory and resulting
crashes in gpgrt_asprintf.

GnuPG-Bug-Id: T3550
</content>
</entry>
<entry>
<title>core: use getdents64 syscall on linux instead of getdents.</title>
<updated>2017-10-12T07:00:09Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2017-10-11T15:38:39Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=00daac15530eabed5e61d841b2df939c2242667c'/>
<id>urn:sha1:00daac15530eabed5e61d841b2df939c2242667c</id>
<content type='text'>
* src/posix-io.c (get_max_fds): use getdents64 instead of getdents.
--

getdents64 was introduced in linux 2.4, so it should be widely
available.  some Linux architectures which post-date 2.4 (e.g. arm64)
appear to not have getdents at all, so it's probably better to use the
more modern interface.

Signed-off-by: Daniel Kahn Gillmor &lt;dkg@fifthhorseman.net&gt;
</content>
</entry>
<entry>
<title>core: Allow disabling the use of SYS_getdents for Linux.</title>
<updated>2017-10-04T16:03:54Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2017-10-04T16:03:54Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=4632adf403611b50be2b4e852a4607070935d0e5'/>
<id>urn:sha1:4632adf403611b50be2b4e852a4607070935d0e5</id>
<content type='text'>
* configure.ac (USE_LINUX_GETDENTS): New ac_define.  Add option
--disable-linux-getdents.
* src/posix-io.c: Make use of USE_LINUX_GETDENTS.

Signed-off-by: Werner Koch &lt;wk@gnupg.org&gt;
</content>
</entry>
<entry>
<title>core: Restore get_max_fds optimization on Linux</title>
<updated>2017-10-04T15:26:39Z</updated>
<author>
<name>Colin Watson</name>
<email>cjwatson@debian.org</email>
</author>
<published>2017-09-16T03:16:45Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=b5b996b1a142abb90296f5feadf0b5b19c59f738'/>
<id>urn:sha1:b5b996b1a142abb90296f5feadf0b5b19c59f738</id>
<content type='text'>
* src/posix-io.c (get_max_fds): Restore Linux optimization, this time
using open/getdents/close rather than opendir/readdir/closedir.
--

opendir/readdir/closedir may allocate/free memory, and aren't required
to do so in an async-signal-safe way.  On the other hand, opening
/proc/self/fd directly and iterating over it using getdents is safe.

(getdents is not strictly speaking documented to be async-signal-safe
because it's not in POSIX.  However, the Linux implementation is
essentially just a souped-up read.  Python &gt;= 3.2.3 makes the same
assumption.)

Signed-off-by: Colin Watson &lt;cjwatson@debian.org&gt;
</content>
</entry>
<entry>
<title>core: New context flag "auto-key-retrieve"</title>
<updated>2017-08-24T15:17:11Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2017-08-24T15:17:11Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=47f61df0704485b8165c9cf2a27ad57bcd864239'/>
<id>urn:sha1:47f61df0704485b8165c9cf2a27ad57bcd864239</id>
<content type='text'>
* src/gpgme.c (gpgme_set_ctx_flag, gpgme_get_ctx_flag): New flag
"auto-key-retrieve".
* src/context.h (gpgme_context): New field auto_key_retrieve.
* src/engine-backend.h (struct engine_ops): Add arg auto_key_retrieve
to field 'decrypt'.
* src/engine-gpg.c (gpg_decrypt): Add arg auto_key_retrieve and pass
option --auto-key-retrieve to gpg.  Adjust all callers.
(gpg_verify): Ditto.
* src/engine-gpgsm.c (gpgsm_decrypt): Add dummy arg auto_key_retrieve.
* src/engine-uiserver.c (uiserver_decrypt): Ditto.
* tests/run-verify.c (main): Add option --auto-key-retrieve.
--

This makes the --auto-key-retrieve option available in the GPGME API.

Test plan:
Run

  GPGME_DEBUG=9:out tests/run-verify SIGNEDFILE

with and without its new option --auto-key-retrieve and check in the
trace stored in "out" whether --auto-key-retrieve was passed to gpg.

Signed-off-by: Werner Koch &lt;wk@gnupg.org&gt;
</content>
</entry>
<entry>
<title>Set next version to 1.10.0</title>
<updated>2017-08-24T14:20:51Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2017-08-24T14:19:54Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=6745eb69e27bc73fece88c5e4e0b0bca13fa8b11'/>
<id>urn:sha1:6745eb69e27bc73fece88c5e4e0b0bca13fa8b11</id>
<content type='text'>
--
</content>
</entry>
<entry>
<title>core: New public enum gpgme_keyorg_t.</title>
<updated>2017-08-24T14:20:51Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2017-08-24T12:21:15Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=9bde9144f0c2d0087799511e9b041dc945a4cfa8'/>
<id>urn:sha1:9bde9144f0c2d0087799511e9b041dc945a4cfa8</id>
<content type='text'>
* src/gpgme.h.in (gpgme_keyorg_t): New.
* src/keylist.c (parse_keyorg): New.
(keylist_colon_handler): Set key-&gt;ORIGIN.
--

This finally set the key origin value form data supplied by recent gpg
versions.

Signed-off-by: Werner Koch &lt;wk@gnupg.org&gt;
</content>
</entry>
<entry>
<title>gpgconf: Add more comments.</title>
<updated>2017-08-24T13:51:41Z</updated>
<author>
<name>Marcus Brinkmann</name>
<email>marcus.brinkmann@ruhr-uni-bochum.de</email>
</author>
<published>2017-08-24T13:50:16Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=91e47d71652bd0f83b51089c343c3c4836bdfa8a'/>
<id>urn:sha1:91e47d71652bd0f83b51089c343c3c4836bdfa8a</id>
<content type='text'>
* src/engine-gpgconf.c (gpgconf_config_dir_cb, gpgconf_conf_dir):
Add comments.

Signed-off-by: Marcus Brinkmann &lt;mb@g10code.com&gt;
GnuPG-bug-id: 3018
</content>
</entry>
</feed>
