• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

jstedfast / gmime / 362 / 1
70%
master: 70%

Build:
DEFAULT BRANCH: master
Ran 08 Nov 2017 09:46PM UTC
Files 145
Run time 7s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

08 Nov 2017 09:44PM UTC coverage: 57.246% (+0.1%) from 57.148%
362.1

push

travis-ci

jstedfast
<a href="https://github.com/jstedfast/gmime/commit/<a class=hub.com/jstedfast/gmime/commit/<a class="double-link" href="https://git"><a class=hub.com/jstedfast/gmime/commit/9770d9b545201d39eb3bd98f4676dceabb90279c">9770d9b54<a href="https://github.com/jstedfast/gmime/commit/9770d9b545201d39eb3bd98f4676dceabb90279c">&lt;a href=&quot;https://github.com/jstedfast/gmime/commit/9770d9b545201d39eb3bd98f4676dceabb90279c&quot;&gt;&amp;quot;&amp;gt;Autocrypt update to spec Level 1.0.0rc1  (#27)

* Drop Autocrypt type value

At the Autocrypt meeting this weekend, we determined that we can
completely drop the explicit &amp;amp;quot;type=&amp;amp;quot; attribute for the Autocrypt
header.

This change removes the type from the gmime API, simplifying it.
Hopefully it is ok because there has been no release with this API.

* Move _get_autocrypt_headers to gmime-object.c

This prepares for a shift in API so that we can get gossip headers
from the child of a GMimeMultipartEncrypted object instead of from a
GMimeMessage object.

* Only a single Autocrypt header can be returned from a GMimeMessage

As the Autocrypt spec reached its first release, we&amp;amp;#39;ve clarified that
only a single address is ever valid from an e-mail message with
respect to Autocrypt.

See https://github.com/autocrypt/autocrypt/issues/138 and
https://github.com/autocrypt/autocrypt/pull/144 for discussion and
Autocrypt spec commit &lt;/a&gt;&lt;a class=&quot;double-link&quot; href=&quot;https://github.com/jstedfast/gmime/commit/&lt;a class=&quot;double-link&quot; href=&quot;https://github.com/jstedfast/gmime/commit/45df7b1ea8fe6e83bbe8abae09dc495e4f7ab784&quot;&gt;45df7b1ea&lt;/a&gt;&quot;&gt;45df7b1ea&lt;/a&gt;&lt;a href=&quot;https://github.com/jstedfast/gmime/commit/9770d9b545201d39eb3bd98f4676dceabb90279c&quot;&gt; for
the clarification.

This commit adjusts the GMime interface to match the spec.

* autocrypt: add several more test messages

* Autocrypt: introduce gm_message_get_autocrypt_headers_from_inner_part

Autocrypt Level 1 has clarified that gossip headers must only be found
within the encrypted layer.  If a message has no encryption layer,
there should be no gossip processing.

See discussion at https://github.com/autocrypt/autocrypt/issues/135
and Autocrypt commit </a><a class="double-link" href="https://github.com/jstedfast/gmime/commit/<a class="double-link" href="https://github.com/jstedfast/gmime/commit/1636162ee10df2d61d614e3903a5ff35cb953a8c">1636162ee</a>">1636162ee</a><a href="https://github.com/jstedfast/gmime/commit/9770d9b545201d39eb3bd98f4676dceabb90279c"> for the
specific changes in the spec.

This changeset updates the retrieval of gossip headers so anyone who
has decrypted the message can retrieve them from the inner part, once
decrypted.  This is an API change against the currently unreleased
Autocrypt API.

* Autocrypt: added OpenPGP secret key to test in preparation for actual decryption.

* Autocrypt: fetch gossip headers from encrypted part.

This changeset adds a convenience function for any implementer to
extract key gossip information from an encrypted message, without
having to do the decryption manually.

We also add a new element to the test suite to exercise it and make
sure it works as expected.

7837 of 13690 relevant lines covered (57.25%)

1927.26 hits per line

Source Files on job 362.1
  • Tree
  • List 0
  • Changed 39
  • Source Changed 6
  • Coverage Changed 39
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 362
  • Travis Job 362.1
  • 9770d9b5 on github
  • Prev Job for on master (#361.1)
  • Next Job for on master (#363.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc