Hi Daniel, I'm glad you figured it out. Sounds like they had a regression in 2.0. We'll look into doing a dependency bump so this doesn't come up again.
Christian On Mon, Aug 28, 2017 at 11:51 AM, Daniel Kuecker <[email protected]> wrote: > Fixed it ... cryptography==2.0 needed to be upgraded to > cryptography==2.0.3. > > WHEW that was stressful! > > On Monday, August 28, 2017 at 12:55:39 PM UTC-5, Daniel Kuecker wrote: > >> I'm having an issue updating the user and passowrd for one of our >> repositories via the admin page. When I enter the info and hit save, I get >> the following error: >> >> 2017-08-28 17:49:57,696 - ERROR - None - 8888888 - >> /admin/db/scmtools/repository/1/ - djblets.log.middleware - Exception >> thrown for user 888888 at http://88888888/admin/db/scmtools/repository/1/ >> >> cipher AES in CFB8 mode is not supported by this backend. >> Traceback (most recent call last): >> File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", >> line 112, in get_response >> response = wrapped_callback(request, *callback_args, >> **callback_kwargs) >> File "/usr/lib/python2.7/site-packages/django/contrib/admin/options.py", >> line 465, in wrapper >> return self.admin_site.admin_view(view)(*args, **kwargs) >> File "/usr/lib/python2.7/site-packages/django/utils/decorators.py", >> line 99, in _wrapped_view >> response = view_func(request, *args, **kwargs) >> File "/usr/lib/python2.7/site-packages/django/views/decorators/cache.py", >> line 52, in _wrapped_view_func >> response = view_func(request, *args, **kwargs) >> File "/usr/lib/python2.7/site-packages/django/contrib/admin/sites.py", >> line 198, in inner >> return view(request, *args, **kwargs) >> File "/usr/lib/python2.7/site-packages/django/utils/decorators.py", >> line 29, in _wrapper >> return bound_func(*args, **kwargs) >> File "/usr/lib/python2.7/site-packages/django/utils/decorators.py", >> line 99, in _wrapped_view >> response = view_func(request, *args, **kwargs) >> File "/usr/lib/python2.7/site-packages/django/utils/decorators.py", >> line 25, in bound_func >> return func(self, *args2, **kwargs2) >> File "/usr/lib/python2.7/site-packages/django/db/transaction.py", line >> 371, in inner >> return func(*args, **kwargs) >> File "/usr/lib/python2.7/site-packages/django/contrib/admin/options.py", >> line 1246, in change_view >> new_object = self.save_form(request, form, change=True) >> File "/usr/lib/python2.7/site-packages/django/contrib/admin/options.py", >> line 887, in save_form >> return form.save(commit=False) >> File "/usr/lib/python2.7/site-packages/reviewboard/scmtools/forms.py", >> line 1181, in save >> repository.password = self.cleaned_data['password'] or '' >> File "/usr/lib/python2.7/site-packages/reviewboard/scmtools/models.py", >> line 192, in _set_password >> encrypt_password(value.encode('utf-8'))) >> File >> "/usr/lib/python2.7/site-packages/reviewboard/scmtools/crypto_utils.py", >> line 150, in encrypt_password >> return base64.b64encode(aes_encrypt(password, key=key)) >> File >> "/usr/lib/python2.7/site-packages/reviewboard/scmtools/crypto_utils.py", >> line 88, in aes_encrypt >> encryptor = cipher.encryptor() >> File >> "/usr/lib64/python2.7/site-packages/cryptography/hazmat/primitives/ciphers/base.py", >> line 104, in encryptor >> self.algorithm, self.mode >> File >> "/usr/lib64/python2.7/site-packages/cryptography/hazmat/backends/multibackend.py", >> line 53, in create_symmetric_encryption_ctx >> _Reasons.UNSUPPORTED_CIPHER >> UnsupportedAlgorithm: cipher AES in CFB8 mode is not supported by this >> backend. >> >> >> I'm running on RHEL 7. >> > -- > Supercharge your Review Board with Power Pack: > https://www.reviewboard.org/powerpack/ > Want us to host Review Board for you? Check out RBCommons: > https://rbcommons.com/ > Happy user? Let us know! https://www.reviewboard.org/users/ > --- > You received this message because you are subscribed to the Google Groups > "reviewboard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Christian Hammond President/CEO of Beanbag <https://www.beanbaginc.com/> Makers of Review Board <https://www.reviewboard.org/> -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
