Uploaded image for project: 'Project Quay'
  1. Project Quay
  2. PROJQUAY-237

InvalidTag exception on faulty repomirror configurations

XMLWordPrintable

      After upgrading from Quay version 3.1.2 to 3.2.0, the following error is sometimes observed in Quay logs:

      2020-02-03 11:32:58,828 [538] [ERROR] [data.encryption] Got exception when trying to decrypt value `sfEKDJSSoOhDY2EnToLsuWcAhLObYMXQ+5kjrdFX6+o0DvTAMJKAhYZahnXlr17Wbme9+qv61c+ZZA==`
      Traceback (most recent call last):
        File "/quay-registry/data/encryption.py", line 42, in _decrypt_ccm
          decrypted = aesccm.decrypt(nonce, ct, None)
        File "/opt/rh/python27/root/usr/lib64/python2.7/site-packages/cryptography/hazmat/primitives/ciphers/aead.py", line 121, in decrypt
          backend, self, nonce, data, associated_data, self._tag_length
        File "/opt/rh/python27/root/usr/lib64/python2.7/site-packages/cryptography/hazmat/backends/openssl/aead.py", line 150, in _decrypt
          raise InvalidTag
      InvalidTag
      

      I wasn't able to reproduce the issue locally. Please check.

              tomckay@redhat.com Thomas Mckay (Inactive)
              rhn-support-ibazulic Ivan Bazulic
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: