[Bug 1752660] Re: python-cryptography missing cffi dependency

Corey Bryant corey.bryant at canonical.com
Thu Mar 8 15:25:36 UTC 2018

Hi Graham,

I don't think this is a dependency issue. I'm going to back out the
changes I made earlier as I pulled the trigger too quickly with those.
What would be good to know is what 'buf' is set to in your scenario.
Here's a little script that hits the same path your traceback goes down.
It runs successfully on xenial-queens for me.

from cryptography.fernet import Fernet, MultiFernet
key1 = Fernet(Fernet.generate_key())
key2 = Fernet(Fernet.generate_key())
f = MultiFernet([key1, key2])
token = f.encrypt(b"Secret message!")


You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-cryptography in Ubuntu.

  python-cryptography missing cffi dependency

To manage notifications about this bug go to:

More information about the Ubuntu-server-bugs mailing list