verify exceeded min_verify_time - only on osx
*Created originally on Bitbucket by Anonymous*
===== //(Imported from Google Code)//
==== **[[https://code.google.com/u/106516695897281472177|vikasuy]] wrote:**
**What steps will reproduce the problem?**\\1. from passlib.apps import custom_app_context as pwd_context\\2. hash = pwd_context.encrypt("somepass")\\3. ok = pwd_context.verify("somepass", hash)
**What is the expected output? What do you see instead?**\\Expect ok to be true. Instead, I get the following exception\\Traceback (most recent call last):
> File " ", line 1, in
> File "passlib/context.py", line 1085, in verify
>> warn("CryptContext: verify exceeded min_verify_time: scheme=%r min_verify_time=%r elapsed=%r", handler.name, mvt, end-start)\\TypeError: warn() takes at most 3 arguments (4 given)
I am using passlib 1.5 on Max OSX 10.6 (snow leopard). If I open a linux vm on the same machine and run the same steps, the exception isn't thrown and everything works fine.
issue