<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/passlib.git/docs/lib/passlib.totp-tutorial.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>docs: LARGE update to documentation, tutorials added, pages relocated</title>
<updated>2016-11-20T19:11:35+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2016-11-20T19:11:35+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/passlib.git/commit/?id=a54c5ba533592f7113fd3a4a86bf8a036baa7860'/>
<id>a54c5ba533592f7113fd3a4a86bf8a036baa7860</id>
<content type='text'>
* moved a bunch of pages into 'docs/narr' narrative subsection.
  added placeholder pages in old locations, to minimize inbound link breakage.

* split history into separate pages, was getting way too long.
  removed toplevel CHANGES file, not feasible under new structure.

* passlib.ifc split into reference &amp; tutorial portions,
  tutorial allowed subsuming a bunch of other hash-usage examples.

* added standard fragments for warning about insecure hashes,
  added them to top of a LOT of hash doc pages.

* updated references, various layout tweaks
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* moved a bunch of pages into 'docs/narr' narrative subsection.
  added placeholder pages in old locations, to minimize inbound link breakage.

* split history into separate pages, was getting way too long.
  removed toplevel CHANGES file, not feasible under new structure.

* passlib.ifc split into reference &amp; tutorial portions,
  tutorial allowed subsuming a bunch of other hash-usage examples.

* added standard fragments for warning about insecure hashes,
  added them to top of a LOT of hash doc pages.

* updated references, various layout tweaks
</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: added cache_seconds to TotpMatch repr, fixed py3 bug in UTs</title>
<updated>2016-11-11T01:15:11+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2016-11-11T01:15:11+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/passlib.git/commit/?id=47b1d1524dbde0e2ff004f6b2c76f9038cf5958f'/>
<id>47b1d1524dbde0e2ff004f6b2c76f9038cf5958f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>totp: corrections to tutorial</title>
<updated>2016-11-09T21:51:55+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2016-11-09T21:51:55+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/passlib.git/commit/?id=43e9eabec98a726fd5165fd2c06deba4d543adab'/>
<id>43e9eabec98a726fd5165fd2c06deba4d543adab</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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: consolidated key parsing code, clarified AppWallet behavior,</title>
<updated>2016-11-09T17:10:25+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2016-11-09T17:10:25+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/passlib.git/commit/?id=38b50a4b158709655637aa2889ded9294b4ac88f'/>
<id>38b50a4b158709655637aa2889ded9294b4ac88f</id>
<content type='text'>
* renamed AppWallet.can_encrypt -&gt; AppWallet.has_secrets,
  no longer set to False if AES support is missing --
  that way if app provides a secret, we either encrypt or throw error,
  rather than silently not encrypting.

* .to_dict()'s "encrypt" keyword now uses None as default, rather than special string "auto"

* hmac function now cached across multiple ._generate() calls,
  making ._find_match() a lot faster.

* .key now a property, so that setting it clears encrypt key &amp; hmac cache

* factored out encrypted key code into .encrypted_key property.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* renamed AppWallet.can_encrypt -&gt; AppWallet.has_secrets,
  no longer set to False if AES support is missing --
  that way if app provides a secret, we either encrypt or throw error,
  rather than silently not encrypting.

* .to_dict()'s "encrypt" keyword now uses None as default, rather than special string "auto"

* hmac function now cached across multiple ._generate() calls,
  making ._find_match() a lot faster.

* .key now a property, so that setting it clears encrypt key &amp; hmac cache

* factored out encrypted key code into .encrypted_key property.
</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>
</feed>
