<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/passlib.git/docs/lib/passlib.totp.rst, branch master</title>
<subtitle>foss.heptapod.net: python-libs/passlib
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/passlib.git/'/>
<entry>
<title>passlib.totp: doc fixes, TokenError() no longer requires explicit message,</title>
<updated>2016-11-19T22:29:47+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2016-11-19T22:29:47+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/passlib.git/commit/?id=d13a254949495aa9959ab9a1130e1c3cad89e978'/>
<id>d13a254949495aa9959ab9a1130e1c3cad89e978</id>
<content type='text'>
UsedTokenError now has a default message.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
UsedTokenError now has a default message.
</pre>
</div>
</content>
</entry>
<entry>
<title>totp: doc fixes, description of alternate caching strategy, serialization step</title>
<updated>2016-11-11T01:22:20+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2016-11-11T01:22:20+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/passlib.git/commit/?id=d635c637c39f49b3168af8182ede4ef67df89c73'/>
<id>d635c637c39f49b3168af8182ede4ef67df89c73</id>
<content type='text'>
* added description of alternate caching strategy using normalize_token()
  and storing tokens instead of last_counter

* added details of steps for reserializing TOTP objects w/ new secret.

* warning that TOTP keys should always be encrypted

* fixed some code block markup issues
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* added description of alternate caching strategy using normalize_token()
  and storing tokens instead of last_counter

* added details of steps for reserializing TOTP objects w/ new secret.

* warning that TOTP keys should always be encrypted

* fixed some code block markup issues
</pre>
</div>
</content>
</entry>
<entry>
<title>totp: TOTP.normalize_token() turned into hybrid method, made public;</title>
<updated>2016-11-11T01:17:07+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2016-11-11T01:17:07+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/passlib.git/commit/?id=ec573fe344d3d2574f8a657bc701fd18d91f3d22'/>
<id>ec573fe344d3d2574f8a657bc701fd18d91f3d22</id>
<content type='text'>
TOTP.normalize_time() turned into class method, made public.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
TOTP.normalize_time() turned into class method, made public.
</pre>
</div>
</content>
</entry>
<entry>
<title>totp: huge overhaul of the documentation, tutorial should be finished (?)</title>
<updated>2016-11-09T21:29:36+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2016-11-09T21:29:36+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/passlib.git/commit/?id=b3e53bc1d8710289189f7d9c3afb43539e6f87d7'/>
<id>b3e53bc1d8710289189f7d9c3afb43539e6f87d7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>totp: lots of documentation updates, added example walkthrough using new system</title>
<updated>2016-11-09T04:55:12+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2016-11-09T04:55:12+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/passlib.git/commit/?id=b22a1242739bae5b4242ac0c341a5ab911a8d316'/>
<id>b22a1242739bae5b4242ac0c341a5ab911a8d316</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>totp: renamed TOTP.verify() to TOTP.match(); added new TOTP.verify() in it's place.</title>
<updated>2016-11-09T01:42:49+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2016-11-09T01:42:49+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/passlib.git/commit/?id=02c97718c573fbfa452280f593329a03ab94227a'/>
<id>02c97718c573fbfa452280f593329a03ab94227a</id>
<content type='text'>
* renamed TOTP.verify() to TOTP.match() -- this matches the TotpMatch class name
  a little better, and frees up TOTP.verify() for something new.

* added new TOTP.verify() which handles parsing TOTP config source,
  and calling TOTP.match(), in one go.  Main purpose of this is that
  it has same signature (and roughly the same behavior) as PasswordHash.verify().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* renamed TOTP.verify() to TOTP.match() -- this matches the TotpMatch class name
  a little better, and frees up TOTP.verify() for something new.

* added new TOTP.verify() which handles parsing TOTP config source,
  and calling TOTP.match(), in one go.  Main purpose of this is that
  it has same signature (and roughly the same behavior) as PasswordHash.verify().
</pre>
</div>
</content>
</entry>
<entry>
<title>totp: OTPContext no longer frontend, reduced down to merely holding</title>
<updated>2016-11-08T22:51:35+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2016-11-08T22:51:35+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/passlib.git/commit/?id=9ae48391749cc2df33411cb26f79934a219bd999'/>
<id>9ae48391749cc2df33411cb26f79934a219bd999</id>
<content type='text'>
the application secrets needing for encryption -- renamed to AppWallet()

* AppWallet class dedicated to just holding application secrets,
  rather than providing awkward frontend for TOTP construction.

  Intended method for invoking it is through TOTP.using(),
  which handles the details of construction.

* Renamed TOTP.context attr to TOTP.wallet

* Removed 'context' keyword from TOTP.from_source() etc,
  callers should now bind the wallet via TOTP.using().from_source().

* Made AppWallet.default_tag a public attr,
  renamed 'cost' attr to 'encrypt_cost'

* Removed the passlib.totp toplevel constructors (new, from_uri, from_json) --
  can now do all that from TOTP class.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
the application secrets needing for encryption -- renamed to AppWallet()

* AppWallet class dedicated to just holding application secrets,
  rather than providing awkward frontend for TOTP construction.

  Intended method for invoking it is through TOTP.using(),
  which handles the details of construction.

* Renamed TOTP.context attr to TOTP.wallet

* Removed 'context' keyword from TOTP.from_source() etc,
  callers should now bind the wallet via TOTP.using().from_source().

* Made AppWallet.default_tag a public attr,
  renamed 'cost' attr to 'encrypt_cost'

* Removed the passlib.totp toplevel constructors (new, from_uri, from_json) --
  can now do all that from TOTP class.
</pre>
</div>
</content>
</entry>
<entry>
<title>totp: added TOTP.using() for constructing TOTP factories with custom configuration options</title>
<updated>2016-11-08T22:29:24+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2016-11-08T22:29:24+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/passlib.git/commit/?id=a060b0645af97ba5a3559b0d93c1ea0f766932dd'/>
<id>a060b0645af97ba5a3559b0d93c1ea0f766932dd</id>
<content type='text'>
(such as secrets) already bound to the class.

* added TOTP.using() helper

* removed 'now' keyword from TOTP() constructor,
  can now only be specified via TOTP.using() -- adjusted UTs accordingly

*
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(such as secrets) already bound to the class.

* added TOTP.using() helper

* removed 'now' keyword from TOTP() constructor,
  can now only be specified via TOTP.using() -- adjusted UTs accordingly

*
</pre>
</div>
</content>
</entry>
<entry>
<title>totp: added TOTP.from_source() frontend which detects serialization format,</title>
<updated>2016-11-08T21:55:58+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2016-11-08T21:55:58+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/passlib.git/commit/?id=5152028127dc266890c9fc162faa9db8a0e949ad'/>
<id>5152028127dc266890c9fc162faa9db8a0e949ad</id>
<content type='text'>
and added TOTP.from_dict() for explicitly deserializing from dict format.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
and added TOTP.from_dict() for explicitly deserializing from dict format.
</pre>
</div>
</content>
</entry>
<entry>
<title>totp: stripped out the 'stateful' methods (TOTP.advance, TOTP.consume, and TOTP.last_counter).</title>
<updated>2016-11-08T02:50:51+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2016-11-08T02:50:51+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/passlib.git/commit/?id=ea291cc3d8209ed298b1d73776684cef12fc55e6'/>
<id>ea291cc3d8209ed298b1d73776684cef12fc55e6</id>
<content type='text'>
switching to purely stateless object, will update docs so that apps are
instructed to persist verify()'s last_counter value independantly.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
switching to purely stateless object, will update docs so that apps are
instructed to persist verify()'s last_counter value independantly.
</pre>
</div>
</content>
</entry>
</feed>
