<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/pyjwt.git/jwt/api_jws.py, branch fix-key-errors</title>
<subtitle>github.com: progrium/pyjwt.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyjwt.git/'/>
<entry>
<title>Changes per code review</title>
<updated>2016-11-30T16:33:46+00:00</updated>
<author>
<name>Landon GB</name>
<email>landogbland@gmail.com</email>
</author>
<published>2016-11-30T16:33:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyjwt.git/commit/?id=0550fa347ed29e2ffcd8f26a3adcf0ddcae6fdc3'/>
<id>0550fa347ed29e2ffcd8f26a3adcf0ddcae6fdc3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix all flake8 issues tox is complaining about</title>
<updated>2016-11-28T17:35:31+00:00</updated>
<author>
<name>Landon GB</name>
<email>landogbland@gmail.com</email>
</author>
<published>2016-11-28T17:35:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyjwt.git/commit/?id=31494c95cb9c1342d3b1e02feac41a83667dc4cd'/>
<id>31494c95cb9c1342d3b1e02feac41a83667dc4cd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'upstream/master'</title>
<updated>2016-11-28T16:59:48+00:00</updated>
<author>
<name>Landon GB</name>
<email>landogbland@gmail.com</email>
</author>
<published>2016-11-28T16:59:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyjwt.git/commit/?id=b83d6e1b7ca9fc4f5aeb183704bddcad5e8443b6'/>
<id>b83d6e1b7ca9fc4f5aeb183704bddcad5e8443b6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Better error messages when missing cryptography package</title>
<updated>2016-11-28T16:45:04+00:00</updated>
<author>
<name>Landon GB</name>
<email>landogbland@gmail.com</email>
</author>
<published>2016-11-28T16:45:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyjwt.git/commit/?id=62c0897f8965112de5513288183e1aa21238f2ed'/>
<id>62c0897f8965112de5513288183e1aa21238f2ed</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add JWK support for HMAC and RSA keys</title>
<updated>2016-08-28T23:08:55+00:00</updated>
<author>
<name>Mark Adams</name>
<email>mark@markadams.me</email>
</author>
<published>2016-05-06T04:58:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyjwt.git/commit/?id=42b011410b28ea3e3920f40641a57c8893e2e04e'/>
<id>42b011410b28ea3e3920f40641a57c8893e2e04e</id>
<content type='text'>
- JWKs for RSA and HMAC can be encoded / decoded using the .to_jwk() and
  .from_jwk() methods on their respective jwt.algorithms instances

- Replaced tests.utils ensure_unicode and ensure_bytes with jwt.utils versions
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- JWKs for RSA and HMAC can be encoded / decoded using the .to_jwk() and
  .from_jwk() methods on their respective jwt.algorithms instances

- Replaced tests.utils ensure_unicode and ensure_bytes with jwt.utils versions
</pre>
</div>
</content>
</entry>
<entry>
<title>binary_type verification added to make the code more future-proof</title>
<updated>2015-10-23T15:35:23+00:00</updated>
<author>
<name>Mauricio Aizaga</name>
<email>mauricioaizaga@gmail.com</email>
</author>
<published>2015-10-23T15:35:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyjwt.git/commit/?id=3a50a425822fa3663643a98c6f6692f5acd8194a'/>
<id>3a50a425822fa3663643a98c6f6692f5acd8194a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed syntax for python 2.6</title>
<updated>2015-10-22T21:46:01+00:00</updated>
<author>
<name>Mauricio Aizaga</name>
<email>mauricioaizaga@gmail.com</email>
</author>
<published>2015-10-22T21:46:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyjwt.git/commit/?id=9f39f38a34569541691bf1b068fc8b3717f13d64'/>
<id>9f39f38a34569541691bf1b068fc8b3717f13d64</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed #183 AttributeError: 'NoneType' object has no attribute 'rsplit'</title>
<updated>2015-10-22T20:22:09+00:00</updated>
<author>
<name>Mauricio Aizaga</name>
<email>mauricioaizaga@gmail.com</email>
</author>
<published>2015-10-22T20:22:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyjwt.git/commit/?id=139dd05d1589ddcb4f8c9bd1b16b743ee4fcd2f6'/>
<id>139dd05d1589ddcb4f8c9bd1b16b743ee4fcd2f6</id>
<content type='text'>
The issue also occurs when payload is int raising:
    AttributeError: 'int' object has no attribute 'rsplit'
Test for None and int payload added
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The issue also occurs when payload is int raising:
    AttributeError: 'int' object has no attribute 'rsplit'
Test for None and int payload added
</pre>
</div>
</content>
</entry>
<entry>
<title>Change TypeError on bad `kid` to InvalidTokenError</title>
<updated>2015-07-23T12:50:49+00:00</updated>
<author>
<name>Gabriel Gironda</name>
<email>gabriel@thegroundwork.com</email>
</author>
<published>2015-07-23T12:50:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyjwt.git/commit/?id=2a93fc591805af3608de3330a3fd32bf5d4e9380'/>
<id>2a93fc591805af3608de3330a3fd32bf5d4e9380</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fail on encode and decode of bad JWS header values</title>
<updated>2015-07-21T21:19:49+00:00</updated>
<author>
<name>Gabriel Gironda</name>
<email>gabriel@thegroundwork.com</email>
</author>
<published>2015-07-21T21:19:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyjwt.git/commit/?id=91fe6cd68978620845e8c56f17348d0d8e042246'/>
<id>91fe6cd68978620845e8c56f17348d0d8e042246</id>
<content type='text'>
The JWS spec:

https://tools.ietf.org/html/draft-ietf-jose-json-web-signature-41#section-4.1.4

States that if `kid` is present then it **MUST** be a string.
Currently, the library allows silent creation of invalid JWS (and
thus, JWT), as it allows any type for `kid`. This commit adds checks
to help ensure output meets the spec.

* Add jwt.api_jws.PyJWS._validate_headers for validating JWS headers
  on encode and decode
* Add tests
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The JWS spec:

https://tools.ietf.org/html/draft-ietf-jose-json-web-signature-41#section-4.1.4

States that if `kid` is present then it **MUST** be a string.
Currently, the library allows silent creation of invalid JWS (and
thus, JWT), as it allows any type for `kid`. This commit adds checks
to help ensure output meets the spec.

* Add jwt.api_jws.PyJWS._validate_headers for validating JWS headers
  on encode and decode
* Add tests
</pre>
</div>
</content>
</entry>
</feed>
