From c3f8a01a0e1a3e669e8a367afa0ed09e0e08f21f Mon Sep 17 00:00:00 2001 From: Eli Collins Date: Sat, 9 Nov 2019 09:16:42 -0500 Subject: bugfix: passlib.totp: always prepend issuer to URIs (fixes issue 92) For all prior releases of passlib, `TOTP().to_uri()` would only output an "issuer" parameter. Per the KeyURI spec, issuer should also be prepended to the label for backward compatibility. --- docs/history/1.7.rst | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs') diff --git a/docs/history/1.7.rst b/docs/history/1.7.rst index deb26b0..aa108a5 100644 --- a/docs/history/1.7.rst +++ b/docs/history/1.7.rst @@ -14,6 +14,12 @@ Bugfixes * Python 3.8 compatibility fixes +* .. py:currentmodule:: passlib.totp + + :mod:`passlib.totp`: The :meth:`TOTP.to_uri` method now prepends the issuer to URI label, + (per the KeyURI spec). This should fix some compatibility issues with older TOTP clients + (:issue:`92`) + * **unittests**: ``crypt()`` unittests now account for linux systems running libxcrypt (such as recent Fedora releases) -- cgit v1.2.1