Skip to content
Snippets Groups Projects
  1. Mar 25, 2011
  2. Mar 24, 2011
  3. Mar 23, 2011
  4. Mar 22, 2011
  5. Mar 21, 2011
  6. Mar 18, 2011
    • Eli Collins's avatar
      bugfixes, tweaks, test cases · 3a184b14ad9a
      Eli Collins authored
      ============================
      * now at 99% coverage
      * changed some error types
      * bugfix to min_verify_time code
      * tests for registry, some cryptcontext border cases
      * ldap hash tests
      * tests for rest of utils
      * tests for skeleton hash classes in passlib.utils.drivers
      * moved validate_class code from skeleton hash classes to HandlerCase
      
      
      main things still needing testing:
      * category support for CryptContext/Policy
      * some bits of registry
      3a184b14ad9a
    • Eli Collins's avatar
      removed postres_plaintext, redundant · 1c9191137c3b
      Eli Collins authored
      1c9191137c3b
    • Eli Collins's avatar
      coverage work · 62de3a6ac01e
      Eli Collins authored
      =============
      * restored "default" mode for set_backend()
      * bugfix: HandlerCase now sets backend explicitly, incorrect backend checks were previously happening
      * added UT for genhash(secret, None)
      * enabled HandlerCase.supports_unicode for all hashes
      * added some needed test cases revealed by coverage check
      * added "pragma: no cover" for a select few branches that don't need testing
      * all UTs pass, 92% coverage
      62de3a6ac01e
    • Eli Collins's avatar
      108b1bc215ef
  7. Mar 17, 2011
  8. Mar 15, 2011
  9. Mar 14, 2011
    • Eli Collins's avatar
      supporting hashes added · a2ad5202a4fc
      Eli Collins authored
      =======================
      * added unix_fallback scheme, for detecting wildcard/disabled passwords in /etc/shadow files
      * added plaintext scheme, for migrating existing application
      * added hex md4/md5/sha1/sha256/sha512 schemes, for migrating existing applications
      * docs & UTs added for above schemes
      a2ad5202a4fc
    • Eli Collins's avatar
      merged test_utils_pbkdf2.py into test_utils.py · 68b9ef7696ad
      Eli Collins authored
      68b9ef7696ad
  10. Mar 05, 2011
  11. Mar 04, 2011
    • Eli Collins's avatar
      UT work · 3a6a898c4368
      Eli Collins authored
      =======
      * commented out test_frontend entirely, until frontend added back
      * CryptContext._prepare_settings now a private method
      * added CryptContext UT for forbidden options
      * added CryptContext UT for _prepare_settings as exposed through genconfig()
        this should test all the main _prepare_settings behaviors
      * added basic test for _prepare_settings() as exposed through encrypt() as well
      * sample hashes for test_utils_drivers
      *
      3a6a898c4368
  12. Mar 03, 2011
    • Eli Collins's avatar
      cryptcontext work · 1433ecac037b
      Eli Collins authored
      =================
      * hash_needs_update() method
      	- renamed method from hash_is_compliant()
      	- cleaned up code
      	- added UT for method
      * prepare_settings() methods
      	- renamed method from norm_handler_settings()
      	- cleaned up code
      	- TODO: write UT
      * renamed "vary_default_rounds" to "vary_rounds", was too verbose
      1433ecac037b
Loading