<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gpgme, branch dkg/fix-T3464</title>
<subtitle>GnuPG Made Easy.</subtitle>
<id>http://git.bktus.com/gpgfrontend/gpgme/atom?h=dkg%2Ffix-T3464</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/gpgme/atom?h=dkg%2Ffix-T3464'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/'/>
<updated>2019-05-29T21:56:01Z</updated>
<entry>
<title>gpg: Avoid error diagnostics with --override-session-key when verifying</title>
<updated>2019-05-29T21:56:01Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2019-05-29T21:56:01Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=fa0a5ffd4997c2ca38a1dd2d89459b6b1f18ad99'/>
<id>urn:sha1:fa0a5ffd4997c2ca38a1dd2d89459b6b1f18ad99</id>
<content type='text'>
* src/engine-gpg.c (gpg_decrypt): only send --no-keyring when we are
not verifying.

--

Without this change, the signature verification would fail.  This
problem was introduced in bded8ebc59c7fdad2617f4c9232a58047656834c in
an attempt to avoid an error when *not* verifying.  Clearly more test
suite coverage is needed to avoid introducing this sort of problem in
the future.

GnuPG-bug-id: 3464
Signed-off-by: Daniel Kahn Gillmor &lt;dkg@fifthhorseman.net&gt;
</content>
</entry>
<entry>
<title>python: Make EXTRA_DIST files explicit</title>
<updated>2019-05-06T14:08:26Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@gnupg.org</email>
</author>
<published>2019-05-06T14:08:26Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=f9c923bb2d87711235312e8085964372d7480ce4'/>
<id>urn:sha1:f9c923bb2d87711235312e8085964372d7480ce4</id>
<content type='text'>
* configure.ac: Configure new Makefiles.
* lang/python/Makefile.am: Remove dirs from extra dist and use
subdirs.
* lang/python/examples/Makefile.am, lang/python/src/Makefile.am,
lang/python/doc/Makefile.am: New. Files that list EXTRA_DIST files.

--
This is similar to what lang/js does by explicitly listing the
files. This ensures that we have clean distribution tarballs
without accidentall additions that just lay in the directory.

GnuPG-Bug-Id: T4481
</content>
</entry>
<entry>
<title>Python, doc: Minor style improvement</title>
<updated>2019-05-06T06:36:26Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@gnupg.org</email>
</author>
<published>2019-05-06T06:36:26Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=63055f13407760c877e5a3a94e564dfb3077dd47'/>
<id>urn:sha1:63055f13407760c877e5a3a94e564dfb3077dd47</id>
<content type='text'>
* lang/python/src/core.py (Context): Retab and shorten
max line length.
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'origin/dkg/fix-T4276'</title>
<updated>2019-05-06T06:10:03Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@gnupg.org</email>
</author>
<published>2019-05-06T06:10:03Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=f303806a110a9813023a5fd9468a55ab0f7fb39d'/>
<id>urn:sha1:f303806a110a9813023a5fd9468a55ab0f7fb39d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Always use maintainer mode -Wno cflags</title>
<updated>2019-05-03T08:56:03Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@gnupg.org</email>
</author>
<published>2019-05-03T08:56:03Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=33b13d1c290d7ce35c636cce4265b512fb8e64c3'/>
<id>urn:sha1:33b13d1c290d7ce35c636cce4265b512fb8e64c3</id>
<content type='text'>
* configure.ac (CFLAGS): Move -Wno flags out of the maintainer mode.

--
It makes sense to have more warnings in maintainer mode and
not more warnings in release builds.

GnuPG-Bug-Id: T4477
</content>
</entry>
<entry>
<title>cpp: Fix initialization warning</title>
<updated>2019-05-03T06:49:34Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@gnupg.org</email>
</author>
<published>2019-05-03T06:49:34Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=0ed81498147723f0e9282df5ae08b8b8e40edd2f'/>
<id>urn:sha1:0ed81498147723f0e9282df5ae08b8b8e40edd2f</id>
<content type='text'>
* lanc/cpp/src/gpggencardkeyinteractor.cpp
(GpgGenCardKeyInteractor::Private): Fix initialization warning.
</content>
</entry>
<entry>
<title>python: stop raising BadSignatures from decrypt(verify=True)</title>
<updated>2019-05-03T03:28:11Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2019-05-03T03:28:11Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=4100794e305ba22241ea5a4f7b42bb5189fbd948'/>
<id>urn:sha1:4100794e305ba22241ea5a4f7b42bb5189fbd948</id>
<content type='text'>
* src/core.py (decrypt): filter out signatures with errors from the
returned verify_result, but avoid raising BadSignatures
* tests/t-decrypt-verify.py: ensure that only a single signature is
returned when evaluating cipher-3.asc, since the other signature is
unknown.

--

This change preserves the invariant that decrypt() only ever returns
valid signatures in the verify_result, but it avoids unnecessary
errors in the face of the presence of an additional bad signature.

GnuPG-bug-id: 4276
Signed-off-by: Daniel Kahn Gillmor &lt;dkg@fifthhorseman.net&gt;
</content>
</entry>
<entry>
<title>python/tests: try to decrypt and verify new test data</title>
<updated>2019-05-03T02:23:28Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2019-05-03T02:16:51Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=bd2d282e572b5d02669238c9e087259b85638477'/>
<id>urn:sha1:bd2d282e572b5d02669238c9e087259b85638477</id>
<content type='text'>
* lang/python/tests/t-decrypt.py: test decryption of cipher-3.asc and
cipher-no-sig.asc
* lang/python/tests/t-decrypt-verify.py: test decryption and
verification of cipher-3.asc and cipher-no-sig.asc

--

note that this introduces a failed test -- decrypt-verify.py
misbehaves on cipher-3.asc by throwing a BadSignature even though

GnuPG-bug-id: 4276
Signed-off-by: Daniel Kahn Gillmor &lt;dkg@fifthhorseman.net&gt;
</content>
</entry>
<entry>
<title>tests: add two new types of encrypted data</title>
<updated>2019-05-03T02:23:28Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2018-12-05T17:31:07Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=c5c3a9d10be415ea7bc0cd9730ad6085f16ee7a0'/>
<id>urn:sha1:c5c3a9d10be415ea7bc0cd9730ad6085f16ee7a0</id>
<content type='text'>
* tests/gpg/cipher-3.asc: add an encrypted file containing signatures
(one from a known key, and one from an unknown key)
* tests/gpg/cipher-no-sig.asc: add an encrypted file containing no
signatures at all

--

We currently aren't using these files yet, but they should be useful
for exercising the library in unusual circumstances (where the bugs
are).

Signed-off-by: Daniel Kahn Gillmor &lt;dkg@fifthhorseman.net&gt;
</content>
</entry>
<entry>
<title>python: make it easier to run a limited number of tests</title>
<updated>2019-05-03T02:23:28Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2018-12-05T17:17:43Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=30bd1c097544376f257d426d5feb4706fb5d3afd'/>
<id>urn:sha1:30bd1c097544376f257d426d5feb4706fb5d3afd</id>
<content type='text'>
* lang/python/tests/Makefile.am: prefer py_tests from the environment
if present.

--

I'm trying to make it nicer/quicker to hack on the testsuite for
python bindings. With this change, if you're improving the python
bindings test suite, you can selectively run only a few specific tests
like so:

   lang/python$ make check py_tests='t-decrypt.py t-decrypt-verify.py'

Signed-off-by: Daniel Kahn Gillmor &lt;dkg@fifthhorseman.net&gt;
</content>
</entry>
</feed>
