Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: pyauth/pyotp
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: baco/pyotp
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 3 commits
  • 6 files changed
  • 1 contributor

Commits on Aug 15, 2016

  1. Correct provisioning_uri method's output

    Added to the provisioning_uri method in HOTP and TOTP classes the
    ability to call the util's function build_uri with all the necessary
    arguments.
    
    Added to the function build_uri the ability to handle values different
    than the defaults for algorithm, digits and period when generating URI.
    baco committed Aug 15, 2016
    Configuration menu
    Copy the full SHA
    ced215d View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2016

  1. Make PEP-008 and lint errors corrections

    Made some corrections to pass the standard PEP-008 in all files.
    Corrected lint errors in docstring in utils' function build_uri. Also
    corrected an import error for python 2.x and indentation error in utils
    module.
    baco committed Aug 16, 2016
    Configuration menu
    Copy the full SHA
    7275c5d View commit details
    Browse the repository at this point in the history
  2. Add test cases for new URI parameters

    Added the corresponding tests for the new URI generated parameters for
    both, HOTP and TOTP algorithms. Some earlier tests had to be reformed
    because now the URI parameters are encoded using urlencode instead of
    concatenating strings. The string generated by urlencode comes from a
    dictionary and dictionary items do not have a predefined order.
    
    Also corrected some PEP-008 issues.
    baco committed Aug 16, 2016
    Configuration menu
    Copy the full SHA
    8faf7b7 View commit details
    Browse the repository at this point in the history
Loading