pulpcore 3.63.51__tar.gz → 3.63.52__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (529) hide show
  1. {pulpcore-3.63.51 → pulpcore-3.63.52}/CHANGES.md +26 -0
  2. {pulpcore-3.63.51 → pulpcore-3.63.52}/PKG-INFO +1 -1
  3. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_certguard/app/__init__.py +1 -1
  4. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/app/__init__.py +1 -1
  5. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/apps.py +1 -1
  6. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/models/publication.py +39 -7
  7. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/serializers/__init__.py +1 -0
  8. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/serializers/fields.py +12 -0
  9. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/serializers/publication.py +14 -2
  10. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/settings.py +5 -0
  11. pulpcore-3.63.52/pulpcore/tests/unit/test_content_guard.py +276 -0
  12. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore.egg-info/PKG-INFO +1 -1
  13. {pulpcore-3.63.51 → pulpcore-3.63.52}/pyproject.toml +1 -1
  14. {pulpcore-3.63.51 → pulpcore-3.63.52}/setup.py +1 -1
  15. pulpcore-3.63.51/pulpcore/tests/unit/test_content_guard.py +0 -144
  16. {pulpcore-3.63.51 → pulpcore-3.63.52}/CODE_OF_CONDUCT.md +0 -0
  17. {pulpcore-3.63.51 → pulpcore-3.63.52}/COMMITMENT +0 -0
  18. {pulpcore-3.63.51 → pulpcore-3.63.52}/CONTRIBUTING.md +0 -0
  19. {pulpcore-3.63.51 → pulpcore-3.63.52}/COPYRIGHT +0 -0
  20. {pulpcore-3.63.51 → pulpcore-3.63.52}/LICENSE +0 -0
  21. {pulpcore-3.63.51 → pulpcore-3.63.52}/MANIFEST.in +0 -0
  22. {pulpcore-3.63.51 → pulpcore-3.63.52}/README.md +0 -0
  23. {pulpcore-3.63.51 → pulpcore-3.63.52}/ci_requirements.txt +0 -0
  24. {pulpcore-3.63.51 → pulpcore-3.63.52}/functest_requirements.txt +0 -0
  25. {pulpcore-3.63.51 → pulpcore-3.63.52}/manage.py +0 -0
  26. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_certguard/__init__.py +0 -0
  27. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_certguard/app/migrations/0001_initial.py +0 -0
  28. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_certguard/app/migrations/0002_alter_rhsmcertguard_contentguard_ptr_and_more.py +0 -0
  29. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_certguard/app/migrations/__init__.py +0 -0
  30. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_certguard/app/models.py +0 -0
  31. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_certguard/app/serializers.py +0 -0
  32. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_certguard/app/utils.py +0 -0
  33. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_certguard/app/viewsets.py +0 -0
  34. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_certguard/pytest_plugin.py +0 -0
  35. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_certguard/tests/__init__.py +0 -0
  36. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_certguard/tests/functional/__init__.py +0 -0
  37. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_certguard/tests/functional/api/__init__.py +0 -0
  38. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_certguard/tests/functional/api/test_rhsm_certguard.py +0 -0
  39. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_certguard/tests/functional/api/test_x509_certguard.py +0 -0
  40. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_certguard/tests/functional/artifacts/rhsm/katello-default-ca.crt +0 -0
  41. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_certguard/tests/functional/artifacts/rhsm/katello-default-ca.key +0 -0
  42. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_certguard/tests/functional/artifacts/rhsm/trusted_but_expired.pem +0 -0
  43. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_certguard/tests/functional/artifacts/rhsm/uber.cert +0 -0
  44. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_certguard/tests/functional/artifacts/rhsm/untrusted_cert-key.pem +0 -0
  45. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_certguard/tests/functional/artifacts/rhsm/untrusted_cert.pem +0 -0
  46. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_certguard/tests/functional/artifacts/rhsm/v1/1514454871848760713-key.pem +0 -0
  47. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_certguard/tests/functional/artifacts/rhsm/v1/1514454871848760713.pem +0 -0
  48. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_certguard/tests/functional/artifacts/rhsm/v1/159442575569388840-key.pem +0 -0
  49. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_certguard/tests/functional/artifacts/rhsm/v1/159442575569388840.pem +0 -0
  50. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_certguard/tests/functional/artifacts/rhsm/v3/4260035510644027985-key.pem +0 -0
  51. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_certguard/tests/functional/artifacts/rhsm/v3/4260035510644027985.pem +0 -0
  52. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_certguard/tests/functional/artifacts/rhsm/v3/5527980418107729172-key.pem +0 -0
  53. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_certguard/tests/functional/artifacts/rhsm/v3/5527980418107729172.pem +0 -0
  54. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_certguard/tests/functional/artifacts/thirdparty_ca/certificates/ca.pem +0 -0
  55. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_certguard/tests/functional/artifacts/thirdparty_ca/genca.sh +0 -0
  56. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_certguard/tests/functional/artifacts/thirdparty_ca/keys/ca.pem +0 -0
  57. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_certguard/tests/functional/artifacts/x509/certificates/ca.pem +0 -0
  58. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_certguard/tests/functional/artifacts/x509/certificates/client.pem +0 -0
  59. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_certguard/tests/functional/artifacts/x509/certificates/server.pem +0 -0
  60. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_certguard/tests/functional/artifacts/x509/certificates/un_urlencoded_cert.txt +0 -0
  61. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_certguard/tests/functional/artifacts/x509/certificates/untrusted_client.pem +0 -0
  62. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_certguard/tests/functional/artifacts/x509/genall.sh +0 -0
  63. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_certguard/tests/functional/artifacts/x509/genca.sh +0 -0
  64. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_certguard/tests/functional/artifacts/x509/genclient.sh +0 -0
  65. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_certguard/tests/functional/artifacts/x509/gensrv.sh +0 -0
  66. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_certguard/tests/functional/artifacts/x509/keys/ca.pem +0 -0
  67. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_certguard/tests/functional/artifacts/x509/keys/client.pem +0 -0
  68. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_certguard/tests/functional/artifacts/x509/keys/server.pem +0 -0
  69. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_certguard/tests/functional/conftest.py +0 -0
  70. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_certguard/tests/functional/constants.py +0 -0
  71. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_certguard/tests/unit/__init__.py +0 -0
  72. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_certguard/tests/unit/test_models.py +0 -0
  73. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/__init__.py +0 -0
  74. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/app/migrations/0001_initial.py +0 -0
  75. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/app/migrations/0002_file_related_names.py +0 -0
  76. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/app/migrations/0003_auto_20191014_1721.py +0 -0
  77. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/app/migrations/0004_filefilesystemexporter.py +0 -0
  78. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/app/migrations/0005_filerepository.py +0 -0
  79. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/app/migrations/0006_delete_filefilesystemexporter.py +0 -0
  80. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/app/migrations/0007_filefilesystemexporter.py +0 -0
  81. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/app/migrations/0008_add_manifest_field.py +0 -0
  82. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/app/migrations/0009_move_data_to_new_master_distribution_model.py +0 -0
  83. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/app/migrations/0010_auto_publish.py +0 -0
  84. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/app/migrations/0011_fix_auto_publish.py +0 -0
  85. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/app/migrations/0012_delete_filefilesystemexporter.py +0 -0
  86. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/app/migrations/0013_file_acs.py +0 -0
  87. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/app/migrations/0014_new_rbac_permissions.py +0 -0
  88. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/app/migrations/0015_allow_null_manifest.py +0 -0
  89. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/app/migrations/0016_add_domain.py +0 -0
  90. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/app/migrations/0017_alter_filealternatecontentsource_alternatecontentsource_ptr_and_more.py +0 -0
  91. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/app/migrations/__init__.py +0 -0
  92. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/app/modelresource.py +0 -0
  93. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/app/models.py +0 -0
  94. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/app/replica.py +0 -0
  95. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/app/serializers.py +0 -0
  96. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/app/tasks/__init__.py +0 -0
  97. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/app/tasks/publishing.py +0 -0
  98. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/app/tasks/synchronizing.py +0 -0
  99. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/app/viewsets.py +0 -0
  100. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/manifest.py +0 -0
  101. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/pytest_plugin.py +0 -0
  102. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/tests/__init__.py +0 -0
  103. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/tests/functional/__init__.py +0 -0
  104. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/tests/functional/api/__init__.py +0 -0
  105. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/tests/functional/api/test_acs.py +0 -0
  106. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/tests/functional/api/test_auto_publish.py +0 -0
  107. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/tests/functional/api/test_bad_sync.py +0 -0
  108. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/tests/functional/api/test_crud_content_unit.py +0 -0
  109. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/tests/functional/api/test_crud_remotes.py +0 -0
  110. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/tests/functional/api/test_domains.py +0 -0
  111. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/tests/functional/api/test_download_policies.py +0 -0
  112. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/tests/functional/api/test_generic_list.py +0 -0
  113. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/tests/functional/api/test_labels.py +0 -0
  114. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/tests/functional/api/test_mime_types.py +0 -0
  115. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/tests/functional/api/test_publish.py +0 -0
  116. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/tests/functional/api/test_pulp_export.py +0 -0
  117. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/tests/functional/api/test_rbac.py +0 -0
  118. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/tests/functional/api/test_remote_settings.py +0 -0
  119. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/tests/functional/api/test_sync.py +0 -0
  120. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/tests/unit/__init__.py +0 -0
  121. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/tests/unit/test_safe_paths.py +0 -0
  122. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulp_file/tests/unit/test_serializers.py +0 -0
  123. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/__init__.py +0 -0
  124. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/__init__.py +0 -0
  125. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/access_policy.py +0 -0
  126. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/authentication.py +0 -0
  127. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/checks.py +0 -0
  128. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/entrypoint.py +0 -0
  129. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/files.py +0 -0
  130. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/global_access_conditions.py +0 -0
  131. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/importexport.py +0 -0
  132. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/loggers.py +0 -0
  133. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/manage.py +0 -0
  134. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/management/__init__.py +0 -0
  135. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/management/commands/__init__.py +0 -0
  136. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/management/commands/add-signing-service.py +0 -0
  137. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/management/commands/analyze-publication.py +0 -0
  138. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/management/commands/clean-up-progress-reports.py +0 -0
  139. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/management/commands/datarepair-2327.py +0 -0
  140. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/management/commands/dump-permissions.py +0 -0
  141. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/management/commands/dump-publications-to-fs.py +0 -0
  142. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/management/commands/handle-artifact-checksums.py +0 -0
  143. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/management/commands/openapi.py +0 -0
  144. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/management/commands/remove-plugin.py +0 -0
  145. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/management/commands/remove-signing-service.py +0 -0
  146. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/management/commands/repository-size.py +0 -0
  147. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/management/commands/reset-admin-password.py +0 -0
  148. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/management/commands/rotate-db-key.py +0 -0
  149. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/management/commands/shell.py +0 -0
  150. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0001_initial.py +0 -0
  151. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0002_increase_artifact_size_field.py +0 -0
  152. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0003_remove_upload_completed.py +0 -0
  153. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0004_add_duplicated_reserved_resources.py +0 -0
  154. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0005_progressreport_code.py +0 -0
  155. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0006_repository_plugin_managed.py +0 -0
  156. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0007_delete_progress_proxies.py +0 -0
  157. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0008_published_metadata_as_content.py +0 -0
  158. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0009_remove_task_non_fatal_errors.py +0 -0
  159. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0010_pulp_fields.py +0 -0
  160. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0011_relative_path.py +0 -0
  161. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0012_auto_20191104_2000.py +0 -0
  162. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0013_repository_pulp_type.py +0 -0
  163. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0014_remove_repository_plugin_managed.py +0 -0
  164. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0015_auto_20191112_1426.py +0 -0
  165. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0016_charfield_to_textfield.py +0 -0
  166. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0017_remove_task_parent.py +0 -0
  167. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0018_auto_20191127_2350.py +0 -0
  168. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0019_add_signing_service_model.py +0 -0
  169. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0020_change_publishedartifact_constraints.py +0 -0
  170. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0021_add_signing_service_foreign_key.py +0 -0
  171. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0022_rename_last_version.py +0 -0
  172. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0023_change_exporter_models.py +0 -0
  173. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0024_use_local_storage_for_uploads.py +0 -0
  174. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0025_task_parent_task.py +0 -0
  175. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0026_task_group.py +0 -0
  176. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0027_export_backend.py +0 -0
  177. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0028_import_importer_pulpimporter_pulpimporterrepository.py +0 -0
  178. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0029_export_delete.py +0 -0
  179. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0030_taskgroup_all_tasks_dispatched.py +0 -0
  180. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0031_import_export_validate_params.py +0 -0
  181. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0032_export_to_chunks.py +0 -0
  182. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0033_increase_remote_artifact_size_field.py +0 -0
  183. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0034_groupprogressreport.py +0 -0
  184. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0035_content_upstream_id.py +0 -0
  185. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0036_unprotect_last_export.py +0 -0
  186. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0037_pulptemporaryfile.py +0 -0
  187. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0038_repository_remote.py +0 -0
  188. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0039_change_download_concurrency.py +0 -0
  189. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0040_set_admin_is_staff.py +0 -0
  190. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0041_accesspolicy.py +0 -0
  191. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0042_rbac_for_tasks.py +0 -0
  192. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0043_toc_attribute.py +0 -0
  193. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0044_temp_file_artifact_field.py +0 -0
  194. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0045_accesspolicy_permissions_allow_null.py +0 -0
  195. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0046_task__resource_job_id.py +0 -0
  196. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0047_improve_orphan_cleanup.py +0 -0
  197. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0048_fips_checksums.py +0 -0
  198. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0049_add_file_field_to_uploadchunk.py +0 -0
  199. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0050_namespace_access_policies.py +0 -0
  200. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0051_timeoutfields.py +0 -0
  201. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0052_tasking_logging_cid.py +0 -0
  202. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0053_remote_headers.py +0 -0
  203. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0054_add_public_key.py +0 -0
  204. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0055_label.py +0 -0
  205. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0056_remote_rate_limit.py +0 -0
  206. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0057_add_label_indexes.py +0 -0
  207. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0058_accesspolicy_customized.py +0 -0
  208. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0059_proxy_creds.py +0 -0
  209. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0060_data_migration_proxy_creds.py +0 -0
  210. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0061_call_handle_artifact_checksums_command.py +0 -0
  211. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0062_add_new_distribution_mastermodel.py +0 -0
  212. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0063_repository_retained_versions.py +0 -0
  213. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0064_add_new_style_task_columns.py +0 -0
  214. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0064_repository_user_hidden.py +0 -0
  215. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0065_merge_20210615_1211.py +0 -0
  216. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0066_download_concurrency_and_retry_changes.py +0 -0
  217. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0067_add_protect_to_task_reservation.py +0 -0
  218. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0068_add_timestamp_of_interest.py +0 -0
  219. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0069_update_json_fields.py +0 -0
  220. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0070_rename_retained_versions.py +0 -0
  221. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0071_filesystemexport_filesystemexporter.py +0 -0
  222. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0072_add_method_to_filesystem_exporter.py +0 -0
  223. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0073_encrypt_remote_fields.py +0 -0
  224. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0074_acs.py +0 -0
  225. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0075_rbaccontentguard.py +0 -0
  226. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0076_remove_reserved_resource.py +0 -0
  227. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0077_move_remote_url_credentials.py +0 -0
  228. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0078_grouprole_role_userrole.py +0 -0
  229. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0079_rename_permissions_assignment_accesspolicy_creation_hooks.py +0 -0
  230. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0080_proxy_group_model.py +0 -0
  231. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0081_reapplabel_group_permissions.py +0 -0
  232. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0082_add_manage_roles_permissions.py +0 -0
  233. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0083_alter_group_options.py +0 -0
  234. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0084_alter_rbaccontentguard_options.py +0 -0
  235. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0085_contentredirectcontentguard.py +0 -0
  236. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0086_task_json_fields.py +0 -0
  237. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0087_taskschedule.py +0 -0
  238. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0088_accesspolicy_queryset_scoping.py +0 -0
  239. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0089_alter_contentredirectcontentguard_options.py +0 -0
  240. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0090_char_to_text_field.py +0 -0
  241. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0091_systemid.py +0 -0
  242. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0092_alter_upload_options.py +0 -0
  243. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0093_add_info_field_repositoryversion.py +0 -0
  244. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0094_protect_repository_content.py +0 -0
  245. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0095_artifactdistribution.py +0 -0
  246. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0096_alter_task_logging_cid.py +0 -0
  247. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0097_remove_telemetry_task_schedule.py +0 -0
  248. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0098_pulp_labels.py +0 -0
  249. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0099_versions_field.py +0 -0
  250. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0100_upstreampulp.py +0 -0
  251. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0101_add_domain.py +0 -0
  252. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0102_add_domain_relations.py +0 -0
  253. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0103_alter_export_task.py +0 -0
  254. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0104_delete_label.py +0 -0
  255. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0105_abstract_uuid_gen.py +0 -0
  256. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0106_alter_artifactdistribution_distribution_ptr_and_more.py +0 -0
  257. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0107_distribution_hidden.py +0 -0
  258. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0108_task_versions.py +0 -0
  259. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0109_contentartifact_relative_path_index.py +0 -0
  260. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0110_apiappstatus.py +0 -0
  261. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0111_task_enc_args_task_enc_kwargs.py +0 -0
  262. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0112_alter_upstreampulp_options.py +0 -0
  263. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0113_headercontentguard.py +0 -0
  264. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0114_remove_task_args_remove_task_kwargs.py +0 -0
  265. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0115_compositecontentguard.py +0 -0
  266. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0116_alter_remoteartifact_md5_alter_remoteartifact_sha1_and_more.py +0 -0
  267. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0117_task_unblocked_at.py +0 -0
  268. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0118_task_core_task_unblock_2276a4_idx_and_more.py +0 -0
  269. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0119_grouprole_core_groupr_object__250e22_idx_and_more.py +0 -0
  270. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0120_get_url_removal.py +0 -0
  271. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0121_add_profile_artifacts_table.py +0 -0
  272. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0122_record_last_replication_timestamp.py +0 -0
  273. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/0123_upstreampulp_q_select.py +0 -0
  274. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/migrations/__init__.py +0 -0
  275. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/mime_types.py +0 -0
  276. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/modelresource.py +0 -0
  277. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/models/__init__.py +0 -0
  278. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/models/access_policy.py +0 -0
  279. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/models/acs.py +0 -0
  280. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/models/analytics.py +0 -0
  281. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/models/base.py +0 -0
  282. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/models/content.py +0 -0
  283. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/models/domain.py +0 -0
  284. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/models/exporter.py +0 -0
  285. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/models/fields.py +0 -0
  286. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/models/generic.py +0 -0
  287. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/models/importer.py +0 -0
  288. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/models/progress.py +0 -0
  289. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/models/replica.py +0 -0
  290. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/models/repository.py +0 -0
  291. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/models/role.py +0 -0
  292. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/models/status.py +0 -0
  293. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/models/storage.py +0 -0
  294. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/models/task.py +0 -0
  295. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/models/upload.py +0 -0
  296. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/protobuf/__init__.py +0 -0
  297. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/protobuf/analytics_pb2.py +0 -0
  298. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/pulp_hashlib.py +0 -0
  299. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/pulpcore_gunicorn_application.py +0 -0
  300. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/redis_connection.py +0 -0
  301. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/replica.py +0 -0
  302. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/response.py +0 -0
  303. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/role_util.py +0 -0
  304. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/serializers/access_policy.py +0 -0
  305. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/serializers/acs.py +0 -0
  306. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/serializers/base.py +0 -0
  307. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/serializers/content.py +0 -0
  308. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/serializers/domain.py +0 -0
  309. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/serializers/exporter.py +0 -0
  310. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/serializers/importer.py +0 -0
  311. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/serializers/orphans.py +0 -0
  312. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/serializers/progress.py +0 -0
  313. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/serializers/purge.py +0 -0
  314. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/serializers/reclaim.py +0 -0
  315. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/serializers/repair.py +0 -0
  316. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/serializers/replica.py +0 -0
  317. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/serializers/repository.py +0 -0
  318. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/serializers/status.py +0 -0
  319. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/serializers/task.py +0 -0
  320. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/serializers/upload.py +0 -0
  321. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/serializers/user.py +0 -0
  322. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/tasks/__init__.py +0 -0
  323. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/tasks/analytics.py +0 -0
  324. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/tasks/base.py +0 -0
  325. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/tasks/export.py +0 -0
  326. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/tasks/importer.py +0 -0
  327. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/tasks/migrate.py +0 -0
  328. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/tasks/orphan.py +0 -0
  329. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/tasks/purge.py +0 -0
  330. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/tasks/reclaim_space.py +0 -0
  331. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/tasks/replica.py +0 -0
  332. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/tasks/repository.py +0 -0
  333. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/tasks/test.py +0 -0
  334. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/tasks/upload.py +0 -0
  335. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/templates/rest_framework/api.html +0 -0
  336. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/templatetags/__init__.py +0 -0
  337. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/templatetags/pulp_urls.py +0 -0
  338. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/urls.py +0 -0
  339. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/util.py +0 -0
  340. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/views/__init__.py +0 -0
  341. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/views/importer.py +0 -0
  342. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/views/orphans.py +0 -0
  343. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/views/repair.py +0 -0
  344. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/views/status.py +0 -0
  345. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/viewsets/__init__.py +0 -0
  346. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/viewsets/access_policy.py +0 -0
  347. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/viewsets/acs.py +0 -0
  348. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/viewsets/base.py +0 -0
  349. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/viewsets/content.py +0 -0
  350. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/viewsets/custom_filters.py +0 -0
  351. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/viewsets/domain.py +0 -0
  352. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/viewsets/exporter.py +0 -0
  353. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/viewsets/importer.py +0 -0
  354. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/viewsets/orphans.py +0 -0
  355. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/viewsets/publication.py +0 -0
  356. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/viewsets/reclaim.py +0 -0
  357. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/viewsets/replica.py +0 -0
  358. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/viewsets/repository.py +0 -0
  359. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/viewsets/task.py +0 -0
  360. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/viewsets/upload.py +0 -0
  361. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/viewsets/user.py +0 -0
  362. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/app/wsgi.py +0 -0
  363. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/backends.py +0 -0
  364. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/cache/__init__.py +0 -0
  365. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/cache/cache.py +0 -0
  366. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/constants.py +0 -0
  367. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/content/__init__.py +0 -0
  368. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/content/authentication.py +0 -0
  369. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/content/entrypoint.py +0 -0
  370. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/content/handler.py +0 -0
  371. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/content/instrumentation.py +0 -0
  372. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/download/__init__.py +0 -0
  373. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/download/base.py +0 -0
  374. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/download/factory.py +0 -0
  375. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/download/file.py +0 -0
  376. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/download/http.py +0 -0
  377. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/exceptions/__init__.py +0 -0
  378. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/exceptions/base.py +0 -0
  379. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/exceptions/plugin.py +0 -0
  380. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/exceptions/validation.py +0 -0
  381. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/filters.py +0 -0
  382. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/middleware.py +0 -0
  383. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/migrations.py +0 -0
  384. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/openapi/__init__.py +0 -0
  385. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/openapi/hooks.py +0 -0
  386. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/plugin/__init__.py +0 -0
  387. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/plugin/access_policy.py +0 -0
  388. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/plugin/actions.py +0 -0
  389. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/plugin/apps.py +0 -0
  390. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/plugin/authentication/__init__.py +0 -0
  391. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/plugin/cache/__init__.py +0 -0
  392. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/plugin/constants.py +0 -0
  393. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/plugin/content.py +0 -0
  394. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/plugin/download/__init__.py +0 -0
  395. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/plugin/exceptions.py +0 -0
  396. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/plugin/files.py +0 -0
  397. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/plugin/importexport.py +0 -0
  398. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/plugin/migrations.py +0 -0
  399. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/plugin/modelresources.py +0 -0
  400. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/plugin/models/__init__.py +0 -0
  401. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/plugin/models/role.py +0 -0
  402. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/plugin/publication_utils.py +0 -0
  403. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/plugin/pulp_hashlib.py +0 -0
  404. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/plugin/replica.py +0 -0
  405. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/plugin/repo_version_utils.py +0 -0
  406. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/plugin/responses.py +0 -0
  407. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/plugin/serializers/__init__.py +0 -0
  408. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/plugin/serializers/content.py +0 -0
  409. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/plugin/stages/__init__.py +0 -0
  410. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/plugin/stages/api.py +0 -0
  411. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/plugin/stages/artifact_stages.py +0 -0
  412. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/plugin/stages/content_stages.py +0 -0
  413. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/plugin/stages/declarative_version.py +0 -0
  414. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/plugin/stages/models.py +0 -0
  415. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/plugin/storage.py +0 -0
  416. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/plugin/sync.py +0 -0
  417. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/plugin/tasking.py +0 -0
  418. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/plugin/util.py +0 -0
  419. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/plugin/viewsets/__init__.py +0 -0
  420. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/plugin/viewsets/content.py +0 -0
  421. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/pytest_plugin.py +0 -0
  422. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/responses.py +0 -0
  423. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tasking/__init__.py +0 -0
  424. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tasking/_util.py +0 -0
  425. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tasking/entrypoint.py +0 -0
  426. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tasking/kafka.py +0 -0
  427. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tasking/storage.py +0 -0
  428. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tasking/tasks.py +0 -0
  429. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tasking/worker.py +0 -0
  430. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/__init__.py +0 -0
  431. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/functional/__init__.py +0 -0
  432. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/functional/api/__init__.py +0 -0
  433. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/functional/api/test_access_policy.py +0 -0
  434. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/functional/api/test_api_docs.py +0 -0
  435. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/functional/api/test_api_root_rewrite.py +0 -0
  436. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/functional/api/test_artifact_distribution.py +0 -0
  437. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/functional/api/test_auth.py +0 -0
  438. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/functional/api/test_correlation_id.py +0 -0
  439. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/functional/api/test_crd_artifacts.py +0 -0
  440. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/functional/api/test_crud_domains.py +0 -0
  441. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/functional/api/test_filter.py +0 -0
  442. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/functional/api/test_openapi_schema.py +0 -0
  443. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/functional/api/test_replication.py +0 -0
  444. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/functional/api/test_repos.py +0 -0
  445. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/functional/api/test_role.py +0 -0
  446. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/functional/api/test_root_endpoint.py +0 -0
  447. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/functional/api/test_scoping.py +0 -0
  448. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/functional/api/test_signing_service.py +0 -0
  449. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/functional/api/test_status.py +0 -0
  450. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/functional/api/test_task_purge.py +0 -0
  451. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/functional/api/test_tasking.py +0 -0
  452. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/functional/api/test_upload.py +0 -0
  453. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/functional/api/test_users_groups.py +0 -0
  454. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/functional/api/test_workers.py +0 -0
  455. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/functional/api/using_plugin/__init__.py +0 -0
  456. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/functional/api/using_plugin/test_content_access.py +0 -0
  457. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/functional/api/using_plugin/test_content_cache.py +0 -0
  458. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/functional/api/using_plugin/test_content_delivery.py +0 -0
  459. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/functional/api/using_plugin/test_content_directory.py +0 -0
  460. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/functional/api/using_plugin/test_content_path.py +0 -0
  461. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/functional/api/using_plugin/test_content_promotion.py +0 -0
  462. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/functional/api/using_plugin/test_contentguard.py +0 -0
  463. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/functional/api/using_plugin/test_crud_repos.py +0 -0
  464. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/functional/api/using_plugin/test_distributions.py +0 -0
  465. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/functional/api/using_plugin/test_filesystemexport.py +0 -0
  466. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/functional/api/using_plugin/test_labels.py +0 -0
  467. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/functional/api/using_plugin/test_migrate.py +0 -0
  468. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/functional/api/using_plugin/test_orphans.py +0 -0
  469. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/functional/api/using_plugin/test_pagination.py +0 -0
  470. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/functional/api/using_plugin/test_prn.py +0 -0
  471. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/functional/api/using_plugin/test_proxy.py +0 -0
  472. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/functional/api/using_plugin/test_pulpimport.py +0 -0
  473. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/functional/api/using_plugin/test_reclaim_disk_space.py +0 -0
  474. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/functional/api/using_plugin/test_repair.py +0 -0
  475. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/functional/api/using_plugin/test_repo_versions.py +0 -0
  476. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/functional/api/using_plugin/test_tasks.py +0 -0
  477. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/functional/api/using_plugin/test_unlinking_repo.py +0 -0
  478. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/functional/assets/__init__.py +0 -0
  479. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/functional/content_with_coverage.py +0 -0
  480. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/functional/utils.py +0 -0
  481. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/performance/__init__.py +0 -0
  482. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/performance/test_performance.py +0 -0
  483. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/unit/__init__.py +0 -0
  484. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/unit/conftest.py +0 -0
  485. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/unit/content/__init__.py +0 -0
  486. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/unit/content/test_handler.py +0 -0
  487. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/unit/content/test_heartbeat.py +0 -0
  488. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/unit/download/__init__.py +0 -0
  489. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/unit/download/test_downloader_base.py +0 -0
  490. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/unit/download/test_downloader_factory.py +0 -0
  491. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/unit/download/test_downloader_file.py +0 -0
  492. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/unit/migration/__init__.py +0 -0
  493. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/unit/migration/test_0077_move_remote_url_credentials.py +0 -0
  494. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/unit/models/__init__.py +0 -0
  495. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/unit/models/test_base.py +0 -0
  496. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/unit/models/test_content.py +0 -0
  497. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/unit/models/test_remote.py +0 -0
  498. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/unit/models/test_repository.py +0 -0
  499. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/unit/models/test_task.py +0 -0
  500. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/unit/roles/__init__.py +0 -0
  501. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/unit/roles/test_roles.py +0 -0
  502. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/unit/serializers/__init__.py +0 -0
  503. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/unit/serializers/test_base.py +0 -0
  504. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/unit/serializers/test_domain.py +0 -0
  505. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/unit/serializers/test_fields.py +0 -0
  506. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/unit/serializers/test_pulpexport.py +0 -0
  507. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/unit/serializers/test_repository.py +0 -0
  508. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/unit/stages/__init__.py +0 -0
  509. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/unit/stages/test_artifactdownloader.py +0 -0
  510. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/unit/stages/test_stages.py +0 -0
  511. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/unit/test_cache.py +0 -0
  512. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/unit/test_chunked_file.py +0 -0
  513. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/unit/test_files.py +0 -0
  514. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/unit/test_import_checks.py +0 -0
  515. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/unit/test_pulp_urls.py +0 -0
  516. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/unit/test_settings.py +0 -0
  517. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/unit/test_util.py +0 -0
  518. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/unit/test_viewsets.py +0 -0
  519. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/unit/viewsets/__init__.py +0 -0
  520. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore/tests/unit/viewsets/test_viewset_base.py +0 -0
  521. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore.egg-info/SOURCES.txt +0 -0
  522. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore.egg-info/dependency_links.txt +0 -0
  523. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore.egg-info/entry_points.txt +0 -0
  524. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore.egg-info/requires.txt +0 -0
  525. {pulpcore-3.63.51 → pulpcore-3.63.52}/pulpcore.egg-info/top_level.txt +0 -0
  526. {pulpcore-3.63.51 → pulpcore-3.63.52}/requirements.txt +0 -0
  527. {pulpcore-3.63.51 → pulpcore-3.63.52}/setup.cfg +0 -0
  528. {pulpcore-3.63.51 → pulpcore-3.63.52}/test_requirements.txt +0 -0
  529. {pulpcore-3.63.51 → pulpcore-3.63.52}/unittest_requirements.txt +0 -0
@@ -8,6 +8,32 @@
8
8
 
9
9
  [//]: # (towncrier release notes start)
10
10
 
11
+ ## 3.63.52 (2026-11-18) {: #3.63.52 }
12
+
13
+ ### REST API {: #3.63.52-rest-api }
14
+
15
+ #### Bugfixes {: #3.63.52-rest-api-bugfix }
16
+
17
+ - Disabled complex `jq_filter` programs in `HeaderContentGuard` by default. Simple dotted paths continue to work. Use `settings.ALLOW_INSECURE_HEADER_CONTENT_GUARD_JQ_PROCESSING_AND_FORFEIT_ALL_COMMUNITY_SUPPORT` if you __need__ to use it. CVE-2026-123084
18
+
19
+ #### Deprecations {: #3.63.52-rest-api-deprecation }
20
+
21
+ - Deprecated `jq_filter` allowing to run arbitrary jq scripts for scheduled removal in 3.130. It will be removed with its feature flag `settings.ALLOW_INSECURE_HEADER_CONTENT_GUARD_JQ_PROCESSING_AND_FORFEIT_ALL_COMMUNITY_SUPPORT`. Relates to CVE-2026-123084.
22
+
23
+ ### Plugin API {: #3.63.52-plugin-api }
24
+
25
+ No significant changes.
26
+
27
+ ### Pulp File {: #3.63.52-pulp-file }
28
+
29
+ No significant changes.
30
+
31
+ ### Pulp Cert Guard {: #3.63.52-pulp-cert-guard }
32
+
33
+ No significant changes.
34
+
35
+ ---
36
+
11
37
  ## 3.63.51 (2026-11-09) {: #3.63.51 }
12
38
 
13
39
  ### REST API {: #3.63.51-rest-api }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pulpcore
3
- Version: 3.63.51
3
+ Version: 3.63.52
4
4
  Summary: Pulp Django Application and Related Modules
5
5
  Home-page: https://pulpproject.org
6
6
  Author: Pulp Team
@@ -6,6 +6,6 @@ class PulpCertGuardPluginAppConfig(PulpPluginAppConfig):
6
6
 
7
7
  name = "pulp_certguard.app"
8
8
  label = "certguard"
9
- version = "3.63.51"
9
+ version = "3.63.52"
10
10
  python_package_name = "pulpcore"
11
11
  domain_compatible = True
@@ -8,6 +8,6 @@ class PulpFilePluginAppConfig(PulpPluginAppConfig):
8
8
 
9
9
  name = "pulp_file.app"
10
10
  label = "file"
11
- version = "3.63.51"
11
+ version = "3.63.52"
12
12
  python_package_name = "pulpcore"
13
13
  domain_compatible = True
@@ -242,7 +242,7 @@ class PulpAppConfig(PulpPluginAppConfig):
242
242
  label = "core"
243
243
 
244
244
  # The version of this app
245
- version = "3.63.51"
245
+ version = "3.63.52"
246
246
 
247
247
  # The python package name providing this app
248
248
  python_package_name = "pulpcore"
@@ -6,10 +6,10 @@ import re
6
6
  from base64 import b64decode
7
7
  from binascii import Error as Base64DecodeError
8
8
  from datetime import timedelta
9
+ from functools import reduce
9
10
  from gettext import gettext as _
10
11
  from urllib.parse import urljoin, urlparse
11
12
 
12
- import jq
13
13
  from aiohttp.web_exceptions import HTTPNotFound
14
14
  from django.conf import settings
15
15
  from django.contrib.postgres.fields import HStoreField
@@ -20,6 +20,7 @@ from rest_framework.exceptions import APIException
20
20
  from url_normalize import url_normalize
21
21
 
22
22
  from pulpcore.app.files import PulpTemporaryUploadedFile
23
+ from pulpcore.app.loggers import deprecation_logger
23
24
  from pulpcore.app.models import AutoAddObjPermsMixin
24
25
  from pulpcore.app.util import cache_key, get_domain_pk, get_url
25
26
  from pulpcore.cache import Cache
@@ -32,6 +33,13 @@ from .task import CreatedResource
32
33
 
33
34
  _logger = logging.getLogger(__name__)
34
35
 
36
+ if settings.ALLOW_INSECURE_HEADER_CONTENT_GUARD_JQ_PROCESSING_AND_FORFEIT_ALL_COMMUNITY_SUPPORT: # noqa
37
+ import jq
38
+ else:
39
+ # Match a dotted identifier path.
40
+ # e.g.: "tenant.auth.token"
41
+ json_path_re = re.compile(r"(?:\.\w+)+", flags=re.ASCII)
42
+
35
43
 
36
44
  class PublicationQuerySet(models.QuerySet):
37
45
  """A queryset that provides publication filtering methods."""
@@ -500,12 +508,36 @@ class HeaderContentGuard(ContentGuard, AutoAddObjPermsMixin):
500
508
 
501
509
  if self.jq_filter:
502
510
  try:
503
- header_value = json.loads(header_decoded_content)
504
- json_path = jq.compile(self.jq_filter)
505
-
506
- header_value = json_path.input_value(header_value).first()
507
-
508
- except json.JSONDecodeError:
511
+ header_json = json.loads(header_decoded_content)
512
+ if settings.ALLOW_INSECURE_HEADER_CONTENT_GUARD_JQ_PROCESSING_AND_FORFEIT_ALL_COMMUNITY_SUPPORT: # noqa
513
+ deprecation_logger.warning(
514
+ "The use of actual jq filters is deprecated and scheduled for removal with "
515
+ "pulpcore 3.130."
516
+ )
517
+ # DISCLAIMER:
518
+ # The prelude attempts to strip the environment from the jq script.
519
+ # That does not mean it is safe to allow users to define a script to run on
520
+ # the content app.
521
+ JQ_PRELUDE = r"def env: {}; {} as $ENV |"
522
+ json_path = jq.compile(
523
+ f"{JQ_PRELUDE} {self.jq_filter}",
524
+ args={
525
+ "JQ_BUILD_CONFIGURATION": "",
526
+ "ARGS": {"positional": [], "named": {}},
527
+ },
528
+ )
529
+
530
+ header_value = json_path.input_value(header_json).first()
531
+
532
+ elif json_path_re.fullmatch(self.jq_filter):
533
+ path = self.jq_filter.lstrip(".").split(".")
534
+ header_value = reduce(lambda x, y: x[y], path, header_json)
535
+ else:
536
+ _logger.warning(
537
+ "Using 'jq_filter' is only allowed with simple paths on this installation."
538
+ )
539
+ raise PermissionError(_("ContentGuard misconfigured."))
540
+ except (TypeError, KeyError, ValueError, StopIteration):
509
541
  _logger.debug("Access not allowed - Invalid JSON or Path not found.")
510
542
  raise PermissionError(_("Access denied."))
511
543
  else:
@@ -40,6 +40,7 @@ from .fields import (
40
40
  relative_path_validator,
41
41
  TaskGroupStatusCountField,
42
42
  pulp_labels_validator,
43
+ RegexValidator,
43
44
  )
44
45
  from .access_policy import AccessPolicySerializer
45
46
  from .acs import (
@@ -23,6 +23,18 @@ def relative_path_validator(relative_path):
23
23
  raise serializers.ValidationError(
24
24
  _("Relative path must not reach beyond the base path. {0}").format(relative_path)
25
25
  )
26
+ return relative_path
27
+
28
+
29
+ class RegexValidator:
30
+ def __init__(self, regex, flags=0):
31
+ self.pattern = re.compile(regex, flags)
32
+
33
+ def __call__(self, value):
34
+ if not self.pattern.fullmatch(value):
35
+ raise serializers.ValidationError(
36
+ _("Value does not match pattern r'{}'.").format(self.pattern.pattern)
37
+ )
26
38
 
27
39
 
28
40
  @extend_schema_field(OpenApiTypes.OBJECT)
@@ -1,5 +1,7 @@
1
+ import re
1
2
  from gettext import gettext as _
2
3
 
4
+ from django.conf import settings
3
5
  from django.db.models import Q
4
6
  from drf_spectacular.utils import extend_schema_field
5
7
  from rest_framework import serializers
@@ -13,6 +15,7 @@ from pulpcore.app.serializers import (
13
15
  DomainUniqueValidator,
14
16
  GetOrCreateSerializerMixin,
15
17
  ModelSerializer,
18
+ RegexValidator,
16
19
  RepositoryVersionRelatedField,
17
20
  pulp_labels_validator,
18
21
  )
@@ -144,14 +147,23 @@ class HeaderContentGuardSerializer(ContentGuardSerializer, GetOrCreateSerializer
144
147
  jq_filter = serializers.CharField(
145
148
  help_text=_(
146
149
  (
147
- "A JQ syntax compatible filter. If jq_filter is not set, then the value will"
148
- "only be Base64 decoded and checked as an explicit string match."
150
+ "A simple dotted path (e.g. .a.b.c) used to extract the value from the "
151
+ "Base64 decoded JSON header. If jq_filter is not set, the header value "
152
+ "is only Base64 decoded and checked as an explicit string match."
149
153
  )
150
154
  ),
151
155
  allow_null=True,
152
156
  required=False,
153
157
  )
154
158
 
159
+ def validate_jq_filter(self, value):
160
+ if (
161
+ value is not None
162
+ and not settings.ALLOW_INSECURE_HEADER_CONTENT_GUARD_JQ_PROCESSING_AND_FORFEIT_ALL_COMMUNITY_SUPPORT
163
+ ): # noqa
164
+ RegexValidator(r"(?:\.\w+)+", re.ASCII)(value)
165
+ return value
166
+
155
167
  class Meta(ContentGuardSerializer.Meta):
156
168
  model = models.HeaderContentGuard
157
169
  fields = ContentGuardSerializer.Meta.fields + ("header_name", "header_value", "jq_filter")
@@ -373,6 +373,11 @@ KAFKA_SASL_MECHANISM = None
373
373
  KAFKA_SASL_USERNAME = None
374
374
  KAFKA_SASL_PASSWORD = None
375
375
 
376
+ # JQ is a query language after all. And it should be considered on the same level as SQL.
377
+ # Do not allow users to write arbitrary programs to run on the content app.
378
+ # Exposes to at least CVE-2026-123084.
379
+ ALLOW_INSECURE_HEADER_CONTENT_GUARD_JQ_PROCESSING_AND_FORFEIT_ALL_COMMUNITY_SUPPORT = False
380
+
376
381
  # HERE STARTS DYNACONF EXTENSION LOAD (Keep at the very bottom of settings.py)
377
382
  # Read more at https://www.dynaconf.com/django/
378
383
  from dynaconf import DjangoDynaconf, Validator # noqa
@@ -0,0 +1,276 @@
1
+ import json
2
+ import re
3
+ from base64 import b64encode
4
+ from unittest.mock import Mock
5
+
6
+ import jq
7
+ import pytest
8
+
9
+ import pulpcore.app.models.publication
10
+ from pulpcore.app.models import (
11
+ ContentRedirectContentGuard,
12
+ HeaderContentGuard,
13
+ )
14
+
15
+
16
+ def test_preauthenticate_urls(fake_domain):
17
+ """Test that the redirecting content guard can produce url to the content app."""
18
+
19
+ original_url = "http://localhost:8080/pulp/content/dist/"
20
+ content_guard = ContentRedirectContentGuard(name="test")
21
+ content_guard2 = ContentRedirectContentGuard(name="test2")
22
+ signed_url = content_guard.preauthenticate_url(original_url)
23
+ signed_url2 = content_guard2.preauthenticate_url(original_url)
24
+
25
+ # analyse signed url
26
+ pattern = re.compile(
27
+ r"^(?P<url>.*)\?expires=(?P<expires>\d*)&validate_token=(?P<salt>.*):(?P<digest>.*)$"
28
+ )
29
+ url_match = pattern.match(signed_url)
30
+ assert bool(url_match)
31
+ assert url_match.group("url") == original_url
32
+ salt = url_match.group("salt")
33
+ digest = url_match.group("digest")
34
+ expires = url_match.group("expires")
35
+
36
+ url_match2 = pattern.match(signed_url2)
37
+ assert bool(url_match2)
38
+ assert url_match2.group("url") == original_url
39
+ salt2 = url_match2.group("salt")
40
+ digest2 = url_match2.group("digest")
41
+
42
+ request = Mock()
43
+
44
+ # Try unsigned url
45
+ request.url = original_url
46
+ request.query = {}
47
+ with pytest.raises(PermissionError):
48
+ content_guard.permit(request)
49
+
50
+ # Try valid url
51
+ request.url = signed_url
52
+ request.query = {"expires": expires, "validate_token": ":".join((salt, digest))}
53
+ content_guard.permit(request)
54
+
55
+ # Try changed hostname
56
+ request.url = signed_url.replace("localhost", "localnest")
57
+ request.query = {"expires": expires, "validate_token": ":".join((salt, digest))}
58
+ content_guard.permit(request)
59
+
60
+ # Try changed distribution
61
+ request.url = signed_url.replace("dist", "publication")
62
+ request.query = {"expires": expires, "validate_token": ":".join((salt, digest))}
63
+ with pytest.raises(PermissionError):
64
+ content_guard.permit(request)
65
+
66
+ # Try tempered salt
67
+ request.url = signed_url.replace(salt, salt2)
68
+ request.query = {"expires": expires, "validate_token": ":".join((salt2, digest))}
69
+ with pytest.raises(PermissionError):
70
+ content_guard.permit(request)
71
+
72
+ # Try tempered digest
73
+ request.url = signed_url.replace(digest, digest2)
74
+ request.query = {"expires": expires, "validate_token": ":".join((salt, digest2))}
75
+ with pytest.raises(PermissionError):
76
+ content_guard.permit(request)
77
+
78
+ # Try tempered expiry
79
+ request.url = signed_url.replace(digest, digest2)
80
+ request.query = {"expires": str(int(expires) + 1), "validate_token": ":".join((salt, digest2))}
81
+ with pytest.raises(PermissionError):
82
+ content_guard.permit(request)
83
+
84
+
85
+ class TestHeaderContentGuard:
86
+ """Test HeaderContentGuard to protect content based on a specific header."""
87
+
88
+ @pytest.fixture()
89
+ def content_guard(self, fake_domain):
90
+ return HeaderContentGuard(
91
+ name="header_guard",
92
+ header_name="x-header-name",
93
+ header_value="somevalue",
94
+ )
95
+
96
+ def test_accepts_right_value(self, content_guard):
97
+ request = Mock()
98
+ encoded_value = b64encode(b"somevalue")
99
+ request.headers = {"x-header-name": encoded_value}
100
+ assert content_guard.permit(request) is None
101
+
102
+
103
+ class TestHeaderContentGuardWithJsonPath:
104
+ """Test HeaderContentGuard to protect content based on a specific header."""
105
+
106
+ @pytest.fixture()
107
+ def content_guard(self, settings, fake_domain):
108
+ settings.ALLOW_INSECURE_HEADER_CONTENT_GUARD_JQ_PROCESSING_AND_FORFEIT_ALL_COMMUNITY_SUPPORT = False # noqa
109
+ return HeaderContentGuard(
110
+ name="header_guard",
111
+ header_name="x-header-name",
112
+ jq_filter=".this.is_a.path",
113
+ header_value="somevalue",
114
+ )
115
+
116
+ def test_rejects_wrong_value(self, settings, content_guard):
117
+ settings.ALLOW_INSECURE_HEADER_CONTENT_GUARD_JQ_PROCESSING_AND_FORFEIT_ALL_COMMUNITY_SUPPORT = False # noqa
118
+
119
+ request = Mock()
120
+ header_value = json.dumps({"this": {"is_a": {"path": "othervalue"}}})
121
+ encoded_value = b64encode(bytes(header_value, "ascii"))
122
+
123
+ request.headers = {"x-header-name": encoded_value}
124
+ with pytest.raises(PermissionError):
125
+ content_guard.permit(request)
126
+
127
+ def test_rejects_value_in_wrong_path(self, settings, content_guard):
128
+ settings.ALLOW_INSECURE_HEADER_CONTENT_GUARD_JQ_PROCESSING_AND_FORFEIT_ALL_COMMUNITY_SUPPORT = False # noqa
129
+
130
+ request = Mock()
131
+ header_value = json.dumps({"this": {"is": {"not_the": {"path": "somevalue"}}}})
132
+ encoded_value = b64encode(bytes(header_value, "ascii"))
133
+
134
+ request.headers = {"x-header-name": encoded_value}
135
+ with pytest.raises(PermissionError):
136
+ content_guard.permit(request)
137
+
138
+ def test_accepts_value_in_path(self, settings, content_guard):
139
+ settings.ALLOW_INSECURE_HEADER_CONTENT_GUARD_JQ_PROCESSING_AND_FORFEIT_ALL_COMMUNITY_SUPPORT = False # noqa
140
+
141
+ request = Mock()
142
+ header_value = json.dumps({"this": {"is_a": {"path": "somevalue"}}})
143
+ encoded_value = b64encode(bytes(header_value, "ascii"))
144
+
145
+ request.headers = {"x-header-name": encoded_value}
146
+ assert content_guard.permit(request) is None
147
+
148
+
149
+ class TestHeaderContentGuardWithJqFilter:
150
+ """Test HeaderContentGuard to protect content based on a specific header using jq_filter."""
151
+
152
+ @pytest.fixture()
153
+ def content_guard(self, fake_domain, settings, monkeypatch):
154
+ settings.ALLOW_INSECURE_HEADER_CONTENT_GUARD_JQ_PROCESSING_AND_FORFEIT_ALL_COMMUNITY_SUPPORT = True # noqa
155
+ # Fake that we imported jq according to the (to late) changed settings.
156
+ monkeypatch.setattr(pulpcore.app.models.publication, "jq", jq, raising=False)
157
+
158
+ return HeaderContentGuard(
159
+ name="header_guard",
160
+ header_name="x-header-name",
161
+ jq_filter=".this.is.a|{path}.path",
162
+ header_value="somevalue",
163
+ )
164
+
165
+ def test_rejects_request_without_any_header(self, content_guard):
166
+ request = Mock()
167
+ request.headers = {}
168
+
169
+ with pytest.raises(PermissionError):
170
+ content_guard.permit(request)
171
+
172
+ def test_rejects_request_with_wrong_header(self, content_guard):
173
+ request = Mock()
174
+ request.headers = {"x-burger": "food"}
175
+
176
+ with pytest.raises(PermissionError):
177
+ content_guard.permit(request)
178
+
179
+ def test_rejects_request_with_value_not_base64(self, content_guard):
180
+ request = Mock()
181
+ request.headers = {"x-header-name": "somestring"}
182
+
183
+ with pytest.raises(PermissionError):
184
+ content_guard.permit(request)
185
+
186
+ def test_rejects_request_with_wrong_base64_value(self, content_guard):
187
+ request = Mock()
188
+ header_value = b64encode(b"anything_here")
189
+ request.headers = {"x-header-name": header_value}
190
+
191
+ with pytest.raises(PermissionError):
192
+ content_guard.permit(request)
193
+
194
+ def test_rejects_request_with_value_in_wrong_path(self, content_guard):
195
+ request = Mock()
196
+ header_value = json.dumps({"this": {"is": {"not_a": {"path": "somevalue"}}}})
197
+ encoded_value = b64encode(bytes(header_value, "ascii"))
198
+ request.headers = {"x-header-name": encoded_value}
199
+
200
+ with pytest.raises(PermissionError):
201
+ content_guard.permit(request)
202
+
203
+ def test_rejects_request_with_wrong_value_in_right_path(self, content_guard):
204
+ request = Mock()
205
+ header_value = json.dumps({"this": {"is": {"a": {"path": "anything_here"}}}})
206
+ encoded_value = b64encode(bytes(header_value, "ascii"))
207
+ request.headers = {"x-header-name": encoded_value}
208
+
209
+ with pytest.raises(PermissionError):
210
+ content_guard.permit(request)
211
+
212
+ def test_accepts_request_with_right_value_in_right_path(self, content_guard):
213
+ request = Mock()
214
+ header_value = json.dumps({"this": {"is": {"a": {"path": "somevalue"}}}})
215
+ encoded_value = b64encode(bytes(header_value, "ascii"))
216
+ request.headers = {"x-header-name": encoded_value}
217
+
218
+ assert content_guard.permit(request) is None
219
+
220
+ def test_jq_feature_flag(self, settings, caplog, content_guard):
221
+ settings.ALLOW_INSECURE_HEADER_CONTENT_GUARD_JQ_PROCESSING_AND_FORFEIT_ALL_COMMUNITY_SUPPORT = False # noqa
222
+ caplog.set_level("WARNING")
223
+
224
+ request = Mock()
225
+ header_value = json.dumps({"this": {"is": {"a": {"path": "somevalue"}}}})
226
+ encoded_value = b64encode(bytes(header_value, "ascii"))
227
+ request.headers = {"x-header-name": encoded_value}
228
+
229
+ with pytest.raises(PermissionError):
230
+ content_guard.permit(request)
231
+
232
+ print(caplog.records)
233
+ assert any(
234
+ record.levelname == "WARNING"
235
+ and record.message
236
+ == "Using 'jq_filter' is only allowed with simple paths on this installation."
237
+ for record in caplog.records
238
+ )
239
+
240
+
241
+ class TestHeaderContentGuardWithJqFilterExploitEnvOracle:
242
+ @pytest.fixture()
243
+ def content_guard(self, fake_domain, settings, monkeypatch):
244
+ monkeypatch.setenv("SECRET", "HONEYPOT")
245
+ settings.ALLOW_INSECURE_HEADER_CONTENT_GUARD_JQ_PROCESSING_AND_FORFEIT_ALL_COMMUNITY_SUPPORT = True # noqa
246
+ # Fake that we imported jq according to the (to late) changed settings.
247
+ monkeypatch.setattr(pulpcore.app.models.publication, "jq", jq, raising=False)
248
+
249
+ return HeaderContentGuard(
250
+ name="header_guard",
251
+ header_name="x-header-name",
252
+ jq_filter='"t"',
253
+ header_value="t",
254
+ )
255
+
256
+ def test_cannot_read_env(self, content_guard):
257
+ content_guard.jq_filter = 'if (env.SECRET[.pos:.pos+1] == .char) then "t" else "f" end'
258
+
259
+ request = Mock()
260
+ header_value = json.dumps({"pos": 3, "char": "E"})
261
+ encoded_value = b64encode(bytes(header_value, "ascii"))
262
+ request.headers = {"x-header-name": encoded_value}
263
+
264
+ with pytest.raises(PermissionError):
265
+ content_guard.permit(request)
266
+
267
+ def test_cannot_read_dollar_env(self, content_guard):
268
+ content_guard.jq_filter = 'if ($ENV.SECRET[.pos:.pos+1] == .char) then "t" else "f" end'
269
+
270
+ request = Mock()
271
+ header_value = json.dumps({"pos": 3, "char": "E"})
272
+ encoded_value = b64encode(bytes(header_value, "ascii"))
273
+ request.headers = {"x-header-name": encoded_value}
274
+
275
+ with pytest.raises(PermissionError):
276
+ content_guard.permit(request)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pulpcore
3
- Version: 3.63.51
3
+ Version: 3.63.52
4
4
  Summary: Pulp Django Application and Related Modules
5
5
  Home-page: https://pulpproject.org
6
6
  Author: Pulp Team
@@ -106,7 +106,7 @@ ignore = [
106
106
  [tool.bumpversion]
107
107
  # This section is managed by the plugin template. Do not edit manually.
108
108
 
109
- current_version = "3.63.51"
109
+ current_version = "3.63.52"
110
110
  commit = false
111
111
  tag = false
112
112
  parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<alpha>0a)?(?P<patch>\\d+)(\\.(?P<release>[a-z]+))?"
@@ -8,7 +8,7 @@ with open("requirements.txt") as requirements:
8
8
 
9
9
  setup(
10
10
  name="pulpcore",
11
- version="3.63.51",
11
+ version="3.63.52",
12
12
  description="Pulp Django Application and Related Modules",
13
13
  long_description=long_description,
14
14
  long_description_content_type="text/markdown",
@@ -1,144 +0,0 @@
1
- import json
2
- import re
3
- from base64 import b64encode
4
- from unittest.mock import Mock
5
-
6
- import pytest
7
-
8
- from pulpcore.app.models import ContentRedirectContentGuard, HeaderContentGuard
9
-
10
-
11
- def test_preauthenticate_urls():
12
- """Test that the redirecting content guard can produce url to the content app."""
13
-
14
- original_url = "http://localhost:8080/pulp/content/dist/"
15
- content_guard = ContentRedirectContentGuard(name="test")
16
- content_guard2 = ContentRedirectContentGuard(name="test2")
17
- signed_url = content_guard.preauthenticate_url(original_url)
18
- signed_url2 = content_guard2.preauthenticate_url(original_url)
19
-
20
- # analyse signed url
21
- pattern = re.compile(
22
- r"^(?P<url>.*)\?expires=(?P<expires>\d*)&validate_token=(?P<salt>.*):(?P<digest>.*)$"
23
- )
24
- url_match = pattern.match(signed_url)
25
- assert bool(url_match)
26
- assert url_match.group("url") == original_url
27
- salt = url_match.group("salt")
28
- digest = url_match.group("digest")
29
- expires = url_match.group("expires")
30
-
31
- url_match2 = pattern.match(signed_url2)
32
- assert bool(url_match2)
33
- assert url_match2.group("url") == original_url
34
- salt2 = url_match2.group("salt")
35
- digest2 = url_match2.group("digest")
36
-
37
- request = Mock()
38
-
39
- # Try unsigned url
40
- request.url = original_url
41
- request.query = {}
42
- with pytest.raises(PermissionError):
43
- content_guard.permit(request)
44
-
45
- # Try valid url
46
- request.url = signed_url
47
- request.query = {"expires": expires, "validate_token": ":".join((salt, digest))}
48
- content_guard.permit(request)
49
-
50
- # Try changed hostname
51
- request.url = signed_url.replace("localhost", "localnest")
52
- request.query = {"expires": expires, "validate_token": ":".join((salt, digest))}
53
- content_guard.permit(request)
54
-
55
- # Try changed distribution
56
- request.url = signed_url.replace("dist", "publication")
57
- request.query = {"expires": expires, "validate_token": ":".join((salt, digest))}
58
- with pytest.raises(PermissionError):
59
- content_guard.permit(request)
60
-
61
- # Try tempered salt
62
- request.url = signed_url.replace(salt, salt2)
63
- request.query = {"expires": expires, "validate_token": ":".join((salt2, digest))}
64
- with pytest.raises(PermissionError):
65
- content_guard.permit(request)
66
-
67
- # Try tempered digest
68
- request.url = signed_url.replace(digest, digest2)
69
- request.query = {"expires": expires, "validate_token": ":".join((salt, digest2))}
70
- with pytest.raises(PermissionError):
71
- content_guard.permit(request)
72
-
73
- # Try tempered expiry
74
- request.url = signed_url.replace(digest, digest2)
75
- request.query = {"expires": str(int(expires) + 1), "validate_token": ":".join((salt, digest2))}
76
- with pytest.raises(PermissionError):
77
- content_guard.permit(request)
78
-
79
-
80
- def test_header_content_guard(db):
81
- """Test HeaderContentGuard to protect content based on a specific header."""
82
-
83
- content_guard = HeaderContentGuard(
84
- name="header_guard",
85
- header_name="x-header-name",
86
- jq_filter=".this.is.a.path",
87
- header_value="somevalue",
88
- )
89
-
90
- request = Mock()
91
-
92
- # Try without any header
93
- request.headers = {}
94
- with pytest.raises(PermissionError):
95
- content_guard.permit(request)
96
-
97
- # Try with a wrong header_name
98
- request.headers = {"x-burger": "food"}
99
- with pytest.raises(PermissionError):
100
- content_guard.permit(request)
101
-
102
- # Try the right header with a non base64 encoded content
103
- request.headers = {"x-header-name": "somestring"}
104
- with pytest.raises(PermissionError):
105
- content_guard.permit(request)
106
-
107
- # Try the right header and a wrong value correctly encoded
108
- header_value = b64encode(b"anything_here")
109
- request.headers = {"x-header-name": header_value}
110
- with pytest.raises(PermissionError):
111
- content_guard.permit(request)
112
-
113
- # Try the right header with the wrong jq_filter
114
- # but right value
115
- header_value = json.dumps({"this": {"is": {"not_a": {"path": "somevalue"}}}})
116
- encoded_value = b64encode(bytes(header_value, "ascii"))
117
-
118
- request.headers = {"x-header-name": encoded_value}
119
- with pytest.raises(PermissionError):
120
- content_guard.permit(request)
121
-
122
- # Try the right header, right jq_filter but wrong value
123
- header_value = json.dumps({"this": {"is": {"a": {"path": "anything_here"}}}})
124
- encoded_value = b64encode(bytes(header_value, "ascii"))
125
-
126
- request.headers = {"x-header-name": encoded_value}
127
- with pytest.raises(PermissionError):
128
- content_guard.permit(request)
129
-
130
- # Try the right header, json_access and value.
131
- header_value = json.dumps({"this": {"is": {"a": {"path": "somevalue"}}}})
132
- encoded_value = b64encode(bytes(header_value, "ascii"))
133
-
134
- request.headers = {"x-header-name": encoded_value}
135
- assert not content_guard.permit(request)
136
-
137
- # Try to use a value that is not a JSON.
138
- content_guard_without_jq_filter = HeaderContentGuard(
139
- name="header_guard", header_name="x-header-name", header_value="somevalue"
140
- )
141
-
142
- encoded_value = b64encode(b"somevalue")
143
- request.headers = {"x-header-name": encoded_value}
144
- assert not content_guard_without_jq_filter.permit(request)