python-u2flib-server icon indicating copy to clipboard operation
python-u2flib-server copied to clipboard

DeprecationWarning for verifier

Open frennkie opened this issue 7 years ago • 2 comments

Using this (in a 3rd party lib) I get two DeprecationWarning messages:

/home/user/django-u2f/venv/lib/python3.5/site-packages/u2flib_server/model.py:178: CryptographyDeprecationWarning: signer and verifier have been deprecated. Please use sign and verify instead.
  verifier = pubkey.verifier(self.signature, ec.ECDSA(hashes.SHA256()))

/home/user/django-u2f/venv/lib/python3.5/site-packages/u2flib_server/model.py:210: CryptographyDeprecationWarning: signer and verifier have been deprecated. Please use sign and verify instead.
  verifier = pubkey.verifier(self.signature, ec.ECDSA(hashes.SHA256()))

frennkie avatar May 10 '18 11:05 frennkie

Thanks for the report!

@dagheyman You fixed this in yubikey-manager recently, care to do it again here? :)

emlun avatar May 10 '18 12:05 emlun

Experiencing this issue too :-(

zigamacss avatar May 25 '18 09:05 zigamacss