Skip to content
This repository was archived by the owner on Jan 4, 2021. It is now read-only.
This repository was archived by the owner on Jan 4, 2021. It is now read-only.

[traceback] cryptography.exceptions.UnsupportedAlgorithm: Backend object does not implement PBKDF2HMACBackend in Python 3.6 #219

@stephendonner

Description

@stephendonner

/cc @davehunt

Just noticed this on https://travis-ci.org/mozilla/fxapom/jobs/353970801:

cryptography.exceptions.UnsupportedAlgorithm: Backend object does not implement PBKDF2HMACBackend

[gw0] [100%] PASSED tests/test_fxa_test_account.py::TestFxATestAccount::test_create_new_account[https://stable.dev.lcip.org/auth/] Exception ignored in: <bound method FxATestAccount.__del__ of <fxapom.fxapom.FxATestAccount object at 0x7fac9e55a0f0>>
Traceback (most recent call last):
  File "/src/fxapom/fxapom.py", line 66, in __del__
  File "/src/.tox/py36/lib/python3.6/site-packages/fxa/core.py", line 113, in destroy_account
  File "/src/.tox/py36/lib/python3.6/site-packages/fxa/core.py", line 104, in _get_stretched_password
  File "/src/.tox/py36/lib/python3.6/site-packages/fxa/crypto.py", line 58, in quick_stretch_password
  File "/src/.tox/py36/lib/python3.6/site-packages/cryptography/hazmat/primitives/kdf/pbkdf2.py", line 22, in __init__
cryptography.exceptions.UnsupportedAlgorithm: Backend object does not implement PBKDF2HMACBackend.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions