<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/pyjwt.git/tests, branch fix-key-errors</title>
<subtitle>github.com: progrium/pyjwt.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pyjwt.git/'/>
<entry>
<title>Refactor error handling in Algorithm.prepare_key() methods</title>
<updated>2017-03-14T15:43:58+00:00</updated>
<author>
<name>Mark Adams</name>
<email>mark@markadams.me</email>
</author>
<published>2017-03-14T13:04:03+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pyjwt.git/commit/?id=d04339de54fca44c09ae9105627ab4ae7e0abdb1'/>
<id>d04339de54fca44c09ae9105627ab4ae7e0abdb1</id>
<content type='text'>
Our error handling in Algorithm.prepare_key() was previously weird and
kind of inconsistent. This change makes a number of improvements:

* Refactors RSA and ECDSA prepare_key() methods to reduce nesting and
  make the code simpler to understand
* All calls to Algorithm.prepare_key() return InvalidKeyError (or a
  subclass) or a valid key instance.
* Created a new InvalidAsymmetricKeyError class that is used to provide
  a standard message when an invalid RSA or ECDSA key is used.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Our error handling in Algorithm.prepare_key() was previously weird and
kind of inconsistent. This change makes a number of improvements:

* Refactors RSA and ECDSA prepare_key() methods to reduce nesting and
  make the code simpler to understand
* All calls to Algorithm.prepare_key() return InvalidKeyError (or a
  subclass) or a valid key instance.
* Created a new InvalidAsymmetricKeyError class that is used to provide
  a standard message when an invalid RSA or ECDSA key is used.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a failing test for OpenSSH-formatted ECDSA public keys</title>
<updated>2017-03-14T12:37:32+00:00</updated>
<author>
<name>Mark Adams</name>
<email>mark@markadams.me</email>
</author>
<published>2017-03-14T12:21:12+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pyjwt.git/commit/?id=299d196383836e1f804ef4441365a94862e08abe'/>
<id>299d196383836e1f804ef4441365a94862e08abe</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<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://91.123.203.49/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>Unit test for better errors when missing cryptography package</title>
<updated>2016-11-28T18:00:32+00:00</updated>
<author>
<name>Landon GB</name>
<email>landogbland@gmail.com</email>
</author>
<published>2016-11-28T18:00:32+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pyjwt.git/commit/?id=8520c8f0e0c9ea13df785e8143ee193f088c008a'/>
<id>8520c8f0e0c9ea13df785e8143ee193f088c008a</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://91.123.203.49/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 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://91.123.203.49/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://91.123.203.49/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://91.123.203.49/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://91.123.203.49/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://91.123.203.49/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>
</feed>
