14
0
forked from pool/python-pyhibp

6 Commits

Author SHA256 Message Date
6662ee6441 - Convert to pip-based build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyhibp?expand=0&rev=12
2025-06-04 10:27:17 +00:00
Martin Hauke
03a6956920 Accepting request 1008063 from home:yarunachalam:branches:devel:languages:python
- v4.2.0 (2021-03-28)
  Adds a timeout value as a keyword argument to functions which hit the HIBP backend, so as to terminate connections
  if they exceed a defined duration (the same as requests.get(url=TARGET, timeout=VALUE) would function). The default value
  is set to 5.0. With thanks to Oskar Rosen for the
  suggestion!

OBS-URL: https://build.opensuse.org/request/show/1008063
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyhibp?expand=0&rev=10
2022-10-05 14:53:40 +00:00
Tomáš Chvátal
129187b85a Accepting request 791843 from home:mnhauke
- Update to version 4.1.0
  * Adds the capability to request that the Pwned Passwords API
    return padding to the responses to calls made via
    pwnedpasswords. Set the parameter add_padding to True on
    suffix_search or is_password_breached. See the HIBP API for
    additional information.

OBS-URL: https://build.opensuse.org/request/show/791843
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyhibp?expand=0&rev=8
2020-04-07 06:13:37 +00:00
Tomáš Chvátal
f466d74237 Accepting request 726518 from home:mcalabkova:branches:devel:languages:python
- update to version 4.0.0
  * Breaking API change: The HIBP API now requires an API key for 
    calls which search by account.
  * A User Agent must now be manually set.
  * Python 2.7 Support Dropped
  * Function modified: suffix_search(hash_prefix=prefix) is now the 
    method to search for hash suffixes. 
  * Read upstream changelog for more info.

OBS-URL: https://build.opensuse.org/request/show/726518
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyhibp?expand=0&rev=6
2019-08-28 01:13:39 +00:00
Tomáš Chvátal
81932cd76c Accepting request 712848 from home:mnhauke
- Update to version 3.1.0
  * New function: pwnedpasswords.suffix_search(hash_prefix=prefix)
    was created in order to have a dedicated function return the
    suffix list.
  * Function modification notice: pwnedpasswords.is_password_breached
    will be modified in an upcoming release to remove the ability
    to search for suffixes; use suffix_search(hash_prefix=prefix)
    instead. The parameter first_5_hash_chars will be removed as a
    consequence.
  * Upcoming return type change for empty sets: For the functions
    get_account_breaches, get_all_breaches, get_single_breach, and
    get_pastes--all contained in the pyhibp module--when no items
    would be returned from the HIBP backend, the returned item will
    be an empty object matching the standard return type for the
    function, and not a Boolean False.
    This will occur when v4.0.0 is released. Return types will be:
    - get_account_breaches -> [] / list
    - get_all_breaches -> [] / list
    - get_single_breach -> {} / dict
    - get_pastes -> [] / list

OBS-URL: https://build.opensuse.org/request/show/712848
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyhibp?expand=0&rev=3
2019-07-02 07:28:53 +00:00
Tomáš Chvátal
b5326466e7 Accepting request 669783 from home:mnhauke
Initial package for python-pyhibp

OBS-URL: https://build.opensuse.org/request/show/669783
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyhibp?expand=0&rev=1
2019-01-29 11:31:47 +00:00