We were occasionally trying to compute schema 2 version 1 signatures on the *unicode* representation, which was failing the signature check. This PR adds a new wrapper type called `Bytes`, which all manifests must take in, and which handles the unicodes vs encoded utf-8 stuff in a central location. This PR also adds a test for the manifest that was breaking in production. |
||
---|---|---|
.. | ||
test | ||
__init__.py | ||
__init__models_interface.py | ||
__init__models_pre_oci.py | ||
appspecifictokens.py | ||
billing.py | ||
build.py | ||
discovery.py | ||
error.py | ||
globalmessages.py | ||
globalmessages_models_interface.py | ||
globalmessages_models_pre_oci.py | ||
image.py | ||
logs.py | ||
logs_models_interface.py | ||
logs_models_pre_oci.py | ||
MAINTAINERS | ||
manifest.py | ||
organization.py | ||
permission.py | ||
permission_models_interface.py | ||
permission_models_pre_oci.py | ||
prototype.py | ||
repoemail.py | ||
repoemail_models_interface.py | ||
repoemail_models_pre_oci.py | ||
repository.py | ||
repository_models_interface.py | ||
repository_models_pre_oci.py | ||
repositorynotification.py | ||
repositorynotification_models_interface.py | ||
repositorynotification_models_pre_oci.py | ||
repotoken.py | ||
repotoken_models_interface.py | ||
repotoken_models_pre_oci.py | ||
robot.py | ||
robot_models_interface.py | ||
robot_models_pre_oci.py | ||
search.py | ||
secscan.py | ||
signing.py | ||
signing_models_interface.py | ||
signing_models_pre_oci.py | ||
subscribe.py | ||
subscribe_models_interface.py | ||
subscribe_models_pre_oci.py | ||
suconfig.py | ||
suconfig_models_interface.py | ||
suconfig_models_pre_oci.py | ||
superuser.py | ||
superuser_models_interface.py | ||
superuser_models_pre_oci.py | ||
tag.py | ||
team.py | ||
trigger.py | ||
trigger_analyzer.py | ||
user.py |