<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/pyjwt.git/tests, branch fix-cli-script</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>Merge pull request #219 from mike9005/es521_fix</title>
<updated>2016-10-24T18:04:53+00:00</updated>
<author>
<name>Mark Adams</name>
<email>mark@markadams.me</email>
</author>
<published>2016-10-24T18:04:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyjwt.git/commit/?id=18160c494af1c142e7da14996fb1342b9abaca4f'/>
<id>18160c494af1c142e7da14996fb1342b9abaca4f</id>
<content type='text'>
Fix incorrectly named ECDSA algorithm</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix incorrectly named ECDSA algorithm</pre>
</div>
</content>
</entry>
<entry>
<title>Catch a couple more typos in tests</title>
<updated>2016-09-26T13:54:59+00:00</updated>
<author>
<name>Michael Collis</name>
<email>michael.l.collis@gmail.com</email>
</author>
<published>2016-09-26T13:54:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyjwt.git/commit/?id=89f9a9d2940d86868e9600a9e1a4c7bb342d326e'/>
<id>89f9a9d2940d86868e9600a9e1a4c7bb342d326e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix tests to match</title>
<updated>2016-09-22T00:00:02+00:00</updated>
<author>
<name>Michael Collis</name>
<email>michael.l.collis@gmail.com</email>
</author>
<published>2016-09-22T00:00:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyjwt.git/commit/?id=ebd2fb9a3ff91daf272cac13a7b3456a6b40d26f'/>
<id>ebd2fb9a3ff91daf272cac13a7b3456a6b40d26f</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>Fix a bug where a PEM private key as bytes raises a TypeError</title>
<updated>2016-08-04T23:03:31+00:00</updated>
<author>
<name>Mark Adams</name>
<email>mark@markadams.me</email>
</author>
<published>2016-08-04T15:56:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyjwt.git/commit/?id=2fe85a338028162b80b7a7f7436397457a10fa70'/>
<id>2fe85a338028162b80b7a7f7436397457a10fa70</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove some erroenous @pytest.mark.skipif decorators</title>
<updated>2016-05-06T04:49:02+00:00</updated>
<author>
<name>Mark Adams</name>
<email>mark@markadams.me</email>
</author>
<published>2016-05-06T04:49:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyjwt.git/commit/?id=7c8c5c62cacd9f24a7be23c4f6120868c8ded109'/>
<id>7c8c5c62cacd9f24a7be23c4f6120868c8ded109</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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 #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>
