|
@@ -257,7 +257,7 @@ class KeyBase:
|
|
|
if tam_required:
|
|
|
raise TAMRequiredError(self.repository._location.canonical_path())
|
|
|
else:
|
|
|
- logger.debug('TAM not found and not required')
|
|
|
+ logger.debug('Manifest TAM not found and not required')
|
|
|
return unpacked, False
|
|
|
tam = unpacked.pop(b'tam', None)
|
|
|
if not isinstance(tam, dict):
|
|
@@ -267,7 +267,7 @@ class KeyBase:
|
|
|
if tam_required:
|
|
|
raise TAMUnsupportedSuiteError(repr(tam_type))
|
|
|
else:
|
|
|
- logger.debug('Ignoring TAM made with unsupported suite, since TAM is not required: %r', tam_type)
|
|
|
+ logger.debug('Ignoring manifest TAM made with unsupported suite, since TAM is not required: %r', tam_type)
|
|
|
return unpacked, False
|
|
|
tam_hmac = tam.get(b'hmac')
|
|
|
tam_salt = tam.get(b'salt')
|
|
@@ -299,7 +299,7 @@ class KeyBase:
|
|
|
archive_name = unpacked.get(b'name', b'<unknown>').decode('ascii', 'replace')
|
|
|
raise ArchiveTAMRequiredError(archive_name)
|
|
|
else:
|
|
|
- logger.debug('TAM not found and not required')
|
|
|
+ logger.debug('Archive TAM not found and not required')
|
|
|
return unpacked, False
|
|
|
tam = unpacked.pop(b'tam', None)
|
|
|
if not isinstance(tam, dict):
|
|
@@ -309,7 +309,7 @@ class KeyBase:
|
|
|
if tam_required:
|
|
|
raise TAMUnsupportedSuiteError(repr(tam_type))
|
|
|
else:
|
|
|
- logger.debug('Ignoring TAM made with unsupported suite, since TAM is not required: %r', tam_type)
|
|
|
+ logger.debug('Ignoring archive TAM made with unsupported suite, since TAM is not required: %r', tam_type)
|
|
|
return unpacked, False
|
|
|
tam_hmac = tam.get(b'hmac')
|
|
|
tam_salt = tam.get(b'salt')
|