pulpcore 3.85.36__tar.gz → 3.85.37__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 (466) hide show
  1. {pulpcore-3.85.36 → pulpcore-3.85.37}/CHANGES.md +26 -0
  2. {pulpcore-3.85.36 → pulpcore-3.85.37}/PKG-INFO +1 -1
  3. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_certguard/app/__init__.py +1 -1
  4. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_file/app/__init__.py +1 -1
  5. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/apps.py +1 -1
  6. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/models/publication.py +39 -7
  7. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/serializers/__init__.py +1 -0
  8. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/serializers/fields.py +12 -0
  9. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/serializers/publication.py +14 -2
  10. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/settings.py +5 -0
  11. pulpcore-3.85.37/pulpcore/tests/unit/test_content_guard.py +276 -0
  12. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore.egg-info/PKG-INFO +1 -1
  13. {pulpcore-3.85.36 → pulpcore-3.85.37}/pyproject.toml +2 -2
  14. pulpcore-3.85.36/pulpcore/tests/unit/test_content_guard.py +0 -144
  15. {pulpcore-3.85.36 → pulpcore-3.85.37}/CODE_OF_CONDUCT.md +0 -0
  16. {pulpcore-3.85.36 → pulpcore-3.85.37}/COMMITMENT +0 -0
  17. {pulpcore-3.85.36 → pulpcore-3.85.37}/CONTRIBUTING.md +0 -0
  18. {pulpcore-3.85.36 → pulpcore-3.85.37}/COPYRIGHT +0 -0
  19. {pulpcore-3.85.36 → pulpcore-3.85.37}/LICENSE +0 -0
  20. {pulpcore-3.85.36 → pulpcore-3.85.37}/MANIFEST.in +0 -0
  21. {pulpcore-3.85.36 → pulpcore-3.85.37}/README.md +0 -0
  22. {pulpcore-3.85.36 → pulpcore-3.85.37}/ci_requirements.txt +0 -0
  23. {pulpcore-3.85.36 → pulpcore-3.85.37}/functest_requirements.txt +0 -0
  24. {pulpcore-3.85.36 → pulpcore-3.85.37}/manage.py +0 -0
  25. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_certguard/__init__.py +0 -0
  26. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_certguard/app/migrations/0001_initial.py +0 -0
  27. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_certguard/app/migrations/0002_alter_rhsmcertguard_contentguard_ptr_and_more.py +0 -0
  28. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_certguard/app/migrations/__init__.py +0 -0
  29. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_certguard/app/models.py +0 -0
  30. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_certguard/app/serializers.py +0 -0
  31. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_certguard/app/viewsets.py +0 -0
  32. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_certguard/pytest_plugin.py +0 -0
  33. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_certguard/rhsm/__init__.py +0 -0
  34. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_certguard/rhsm/rhsm_check_path.py +0 -0
  35. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_certguard/tests/__init__.py +0 -0
  36. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_certguard/tests/functional/__init__.py +0 -0
  37. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_certguard/tests/functional/api/__init__.py +0 -0
  38. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_certguard/tests/functional/api/test_rhsm_certguard.py +0 -0
  39. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_certguard/tests/functional/api/test_x509_certguard.py +0 -0
  40. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_certguard/tests/functional/artifacts/rhsm/katello-default-ca.crt +0 -0
  41. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_certguard/tests/functional/artifacts/rhsm/katello-default-ca.key +0 -0
  42. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_certguard/tests/functional/artifacts/rhsm/trusted_but_expired.pem +0 -0
  43. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_certguard/tests/functional/artifacts/rhsm/uber.cert +0 -0
  44. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_certguard/tests/functional/artifacts/rhsm/untrusted_cert-key.pem +0 -0
  45. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_certguard/tests/functional/artifacts/rhsm/untrusted_cert.pem +0 -0
  46. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_certguard/tests/functional/artifacts/rhsm/v1/1514454871848760713-key.pem +0 -0
  47. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_certguard/tests/functional/artifacts/rhsm/v1/1514454871848760713.pem +0 -0
  48. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_certguard/tests/functional/artifacts/rhsm/v1/159442575569388840-key.pem +0 -0
  49. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_certguard/tests/functional/artifacts/rhsm/v1/159442575569388840.pem +0 -0
  50. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_certguard/tests/functional/artifacts/rhsm/v3/4260035510644027985-key.pem +0 -0
  51. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_certguard/tests/functional/artifacts/rhsm/v3/4260035510644027985.pem +0 -0
  52. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_certguard/tests/functional/artifacts/rhsm/v3/5527980418107729172-key.pem +0 -0
  53. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_certguard/tests/functional/artifacts/rhsm/v3/5527980418107729172.pem +0 -0
  54. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_certguard/tests/functional/artifacts/thirdparty_ca/certificates/ca.pem +0 -0
  55. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_certguard/tests/functional/artifacts/thirdparty_ca/genca.sh +0 -0
  56. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_certguard/tests/functional/artifacts/thirdparty_ca/keys/ca.pem +0 -0
  57. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_certguard/tests/functional/artifacts/x509/certificates/ca.pem +0 -0
  58. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_certguard/tests/functional/artifacts/x509/certificates/client.pem +0 -0
  59. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_certguard/tests/functional/artifacts/x509/certificates/server.pem +0 -0
  60. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_certguard/tests/functional/artifacts/x509/certificates/un_urlencoded_cert.txt +0 -0
  61. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_certguard/tests/functional/artifacts/x509/certificates/untrusted_client.pem +0 -0
  62. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_certguard/tests/functional/artifacts/x509/genall.sh +0 -0
  63. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_certguard/tests/functional/artifacts/x509/genca.sh +0 -0
  64. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_certguard/tests/functional/artifacts/x509/genclient.sh +0 -0
  65. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_certguard/tests/functional/artifacts/x509/gensrv.sh +0 -0
  66. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_certguard/tests/functional/artifacts/x509/keys/ca.pem +0 -0
  67. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_certguard/tests/functional/artifacts/x509/keys/client.pem +0 -0
  68. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_certguard/tests/functional/artifacts/x509/keys/server.pem +0 -0
  69. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_certguard/tests/functional/conftest.py +0 -0
  70. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_certguard/tests/functional/constants.py +0 -0
  71. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_certguard/tests/unit/__init__.py +0 -0
  72. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_certguard/tests/unit/certdata.py +0 -0
  73. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_certguard/tests/unit/test_rhsm_check_path.py +0 -0
  74. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_file/__init__.py +0 -0
  75. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_file/app/migrations/0001_initial_squashed_0016_add_domain.py +0 -0
  76. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_file/app/migrations/0017_alter_filealternatecontentsource_alternatecontentsource_ptr_and_more.py +0 -0
  77. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_file/app/migrations/__init__.py +0 -0
  78. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_file/app/modelresource.py +0 -0
  79. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_file/app/models.py +0 -0
  80. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_file/app/replica.py +0 -0
  81. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_file/app/serializers.py +0 -0
  82. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_file/app/tasks/__init__.py +0 -0
  83. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_file/app/tasks/publishing.py +0 -0
  84. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_file/app/tasks/synchronizing.py +0 -0
  85. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_file/app/viewsets.py +0 -0
  86. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_file/manifest.py +0 -0
  87. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_file/pytest_plugin.py +0 -0
  88. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_file/tests/__init__.py +0 -0
  89. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_file/tests/functional/__init__.py +0 -0
  90. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_file/tests/functional/api/__init__.py +0 -0
  91. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_file/tests/functional/api/test_acs.py +0 -0
  92. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_file/tests/functional/api/test_auto_publish.py +0 -0
  93. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_file/tests/functional/api/test_bad_sync.py +0 -0
  94. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_file/tests/functional/api/test_content_labels.py +0 -0
  95. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_file/tests/functional/api/test_crud_content_unit.py +0 -0
  96. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_file/tests/functional/api/test_crud_remotes.py +0 -0
  97. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_file/tests/functional/api/test_domains.py +0 -0
  98. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_file/tests/functional/api/test_download_policies.py +0 -0
  99. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_file/tests/functional/api/test_generic_list.py +0 -0
  100. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_file/tests/functional/api/test_labels.py +0 -0
  101. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_file/tests/functional/api/test_mime_types.py +0 -0
  102. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_file/tests/functional/api/test_publish.py +0 -0
  103. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_file/tests/functional/api/test_pulp_export.py +0 -0
  104. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_file/tests/functional/api/test_rbac.py +0 -0
  105. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_file/tests/functional/api/test_remote_settings.py +0 -0
  106. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_file/tests/functional/api/test_sync.py +0 -0
  107. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_file/tests/unit/__init__.py +0 -0
  108. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_file/tests/unit/test_safe_paths.py +0 -0
  109. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulp_file/tests/unit/test_serializers.py +0 -0
  110. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/__init__.py +0 -0
  111. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/__init__.py +0 -0
  112. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/access_policy.py +0 -0
  113. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/authentication.py +0 -0
  114. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/checks.py +0 -0
  115. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/entrypoint.py +0 -0
  116. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/files.py +0 -0
  117. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/global_access_conditions.py +0 -0
  118. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/importexport.py +0 -0
  119. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/loggers.py +0 -0
  120. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/manage.py +0 -0
  121. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/management/__init__.py +0 -0
  122. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/management/commands/__init__.py +0 -0
  123. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/management/commands/add-signing-service.py +0 -0
  124. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/management/commands/analyze-publication.py +0 -0
  125. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/management/commands/clean-up-progress-reports.py +0 -0
  126. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/management/commands/datarepair-2327.py +0 -0
  127. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/management/commands/datarepair.py +0 -0
  128. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/management/commands/dump-permissions.py +0 -0
  129. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/management/commands/dump-publications-to-fs.py +0 -0
  130. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/management/commands/handle-artifact-checksums.py +0 -0
  131. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/management/commands/migrationstat.py +0 -0
  132. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/management/commands/openapi.py +0 -0
  133. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/management/commands/rebasemigrations.py +0 -0
  134. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/management/commands/remove-plugin.py +0 -0
  135. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/management/commands/remove-signing-service.py +0 -0
  136. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/management/commands/repository-size.py +0 -0
  137. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/management/commands/reset-admin-password.py +0 -0
  138. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/management/commands/rotate-db-key.py +0 -0
  139. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/management/commands/shell.py +0 -0
  140. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/0001_squashed_0090_char_to_text_field.py +0 -0
  141. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/0091_systemid.py +0 -0
  142. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/0092_alter_upload_options.py +0 -0
  143. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/0093_add_info_field_repositoryversion.py +0 -0
  144. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/0094_protect_repository_content.py +0 -0
  145. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/0095_artifactdistribution.py +0 -0
  146. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/0096_alter_task_logging_cid.py +0 -0
  147. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/0097_remove_telemetry_task_schedule.py +0 -0
  148. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/0098_pulp_labels.py +0 -0
  149. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/0099_versions_field.py +0 -0
  150. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/0100_upstreampulp.py +0 -0
  151. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/0101_add_domain.py +0 -0
  152. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/0102_add_domain_relations.py +0 -0
  153. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/0103_alter_export_task.py +0 -0
  154. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/0104_delete_label.py +0 -0
  155. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/0105_abstract_uuid_gen.py +0 -0
  156. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/0106_alter_artifactdistribution_distribution_ptr_and_more.py +0 -0
  157. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/0107_distribution_hidden.py +0 -0
  158. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/0108_task_versions.py +0 -0
  159. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/0109_contentartifact_relative_path_index.py +0 -0
  160. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/0110_apiappstatus.py +0 -0
  161. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/0111_task_enc_args_task_enc_kwargs.py +0 -0
  162. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/0112_alter_upstreampulp_options.py +0 -0
  163. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/0113_headercontentguard.py +0 -0
  164. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/0114_remove_task_args_remove_task_kwargs.py +0 -0
  165. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/0115_compositecontentguard.py +0 -0
  166. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/0116_alter_remoteartifact_md5_alter_remoteartifact_sha1_and_more.py +0 -0
  167. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/0117_task_unblocked_at.py +0 -0
  168. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/0118_task_core_task_unblock_2276a4_idx_and_more.py +0 -0
  169. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/0119_grouprole_core_groupr_object__250e22_idx_and_more.py +0 -0
  170. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/0120_get_url_removal.py +0 -0
  171. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/0121_add_profile_artifacts_table.py +0 -0
  172. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/0122_record_last_replication_timestamp.py +0 -0
  173. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/0123_upstreampulp_q_select.py +0 -0
  174. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/0124_task_deferred_task_immediate.py +0 -0
  175. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/0125_openpgpdistribution_openpgpkeyring_openpgppublickey_and_more.py +0 -0
  176. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/0126_remoteartifact_failed_at.py +0 -0
  177. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/0127_remove_upstreampulp_pulp_label_select.py +0 -0
  178. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/0128_domain_pulp_labels.py +0 -0
  179. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/0129_content_pulp_labels.py +0 -0
  180. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/0130_upstreampulp_policy.py +0 -0
  181. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/0131_distribution_checkpoint_publication_checkpoint.py +0 -0
  182. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/0132_alter_content_options.py +0 -0
  183. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/0132_task_profile_options.py +0 -0
  184. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/0133_repositoryversion_content_ids.py +0 -0
  185. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/0134_task_insert_trigger.py +0 -0
  186. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/0135_task_pulp_task_resources_index.py +0 -0
  187. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/0136_delete_basedistribution.py +0 -0
  188. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/0137_appstatus.py +0 -0
  189. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/0138_vulnerabilityreport.py +0 -0
  190. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/migrations/__init__.py +0 -0
  191. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/mime_types.py +0 -0
  192. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/modelresource.py +0 -0
  193. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/models/__init__.py +0 -0
  194. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/models/access_policy.py +0 -0
  195. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/models/acs.py +0 -0
  196. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/models/analytics.py +0 -0
  197. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/models/base.py +0 -0
  198. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/models/content.py +0 -0
  199. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/models/domain.py +0 -0
  200. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/models/exporter.py +0 -0
  201. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/models/fields.py +0 -0
  202. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/models/generic.py +0 -0
  203. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/models/importer.py +0 -0
  204. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/models/openpgp.py +0 -0
  205. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/models/progress.py +0 -0
  206. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/models/replica.py +0 -0
  207. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/models/repository.py +0 -0
  208. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/models/role.py +0 -0
  209. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/models/status.py +0 -0
  210. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/models/storage.py +0 -0
  211. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/models/task.py +0 -0
  212. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/models/upload.py +0 -0
  213. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/models/vulnerability_report.py +0 -0
  214. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/netutil.py +0 -0
  215. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/openpgp.py +0 -0
  216. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/protobuf/__init__.py +0 -0
  217. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/protobuf/analytics_pb2.py +0 -0
  218. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/pulp_hashlib.py +0 -0
  219. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/pulpcore_gunicorn_application.py +0 -0
  220. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/redis_connection.py +0 -0
  221. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/replica.py +0 -0
  222. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/response.py +0 -0
  223. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/role_util.py +0 -0
  224. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/serializers/access_policy.py +0 -0
  225. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/serializers/acs.py +0 -0
  226. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/serializers/base.py +0 -0
  227. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/serializers/content.py +0 -0
  228. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/serializers/domain.py +0 -0
  229. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/serializers/exporter.py +0 -0
  230. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/serializers/importer.py +0 -0
  231. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/serializers/openpgp.py +0 -0
  232. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/serializers/orphans.py +0 -0
  233. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/serializers/progress.py +0 -0
  234. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/serializers/purge.py +0 -0
  235. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/serializers/reclaim.py +0 -0
  236. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/serializers/repair.py +0 -0
  237. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/serializers/replica.py +0 -0
  238. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/serializers/repository.py +0 -0
  239. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/serializers/status.py +0 -0
  240. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/serializers/task.py +0 -0
  241. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/serializers/upload.py +0 -0
  242. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/serializers/user.py +0 -0
  243. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/serializers/vulnerability_report.py +0 -0
  244. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/tasks/__init__.py +0 -0
  245. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/tasks/analytics.py +0 -0
  246. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/tasks/base.py +0 -0
  247. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/tasks/export.py +0 -0
  248. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/tasks/importer.py +0 -0
  249. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/tasks/migrate.py +0 -0
  250. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/tasks/orphan.py +0 -0
  251. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/tasks/purge.py +0 -0
  252. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/tasks/reclaim_space.py +0 -0
  253. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/tasks/replica.py +0 -0
  254. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/tasks/repository.py +0 -0
  255. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/tasks/telemetry.py +0 -0
  256. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/tasks/test.py +0 -0
  257. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/tasks/upload.py +0 -0
  258. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/tasks/vulnerability_report.py +0 -0
  259. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/templates/rest_framework/api.html +0 -0
  260. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/templatetags/__init__.py +0 -0
  261. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/templatetags/pulp_urls.py +0 -0
  262. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/urls.py +0 -0
  263. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/util.py +0 -0
  264. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/views/__init__.py +0 -0
  265. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/views/importer.py +0 -0
  266. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/views/orphans.py +0 -0
  267. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/views/repair.py +0 -0
  268. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/views/status.py +0 -0
  269. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/viewsets/__init__.py +0 -0
  270. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/viewsets/access_policy.py +0 -0
  271. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/viewsets/acs.py +0 -0
  272. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/viewsets/base.py +0 -0
  273. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/viewsets/content.py +0 -0
  274. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/viewsets/custom_filters.py +0 -0
  275. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/viewsets/domain.py +0 -0
  276. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/viewsets/exporter.py +0 -0
  277. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/viewsets/importer.py +0 -0
  278. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/viewsets/openpgp.py +0 -0
  279. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/viewsets/orphans.py +0 -0
  280. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/viewsets/publication.py +0 -0
  281. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/viewsets/reclaim.py +0 -0
  282. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/viewsets/replica.py +0 -0
  283. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/viewsets/repository.py +0 -0
  284. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/viewsets/task.py +0 -0
  285. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/viewsets/upload.py +0 -0
  286. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/viewsets/user.py +0 -0
  287. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/viewsets/vulnerability_report.py +0 -0
  288. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/app/wsgi.py +0 -0
  289. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/backends.py +0 -0
  290. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/cache/__init__.py +0 -0
  291. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/cache/cache.py +0 -0
  292. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/constants.py +0 -0
  293. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/content/__init__.py +0 -0
  294. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/content/authentication.py +0 -0
  295. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/content/entrypoint.py +0 -0
  296. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/content/handler.py +0 -0
  297. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/content/instrumentation.py +0 -0
  298. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/download/__init__.py +0 -0
  299. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/download/base.py +0 -0
  300. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/download/factory.py +0 -0
  301. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/download/file.py +0 -0
  302. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/download/http.py +0 -0
  303. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/exceptions/__init__.py +0 -0
  304. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/exceptions/base.py +0 -0
  305. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/exceptions/plugin.py +0 -0
  306. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/exceptions/validation.py +0 -0
  307. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/filters.py +0 -0
  308. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/metrics.py +0 -0
  309. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/middleware.py +0 -0
  310. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/migrations.py +0 -0
  311. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/openapi/__init__.py +0 -0
  312. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/openapi/hooks.py +0 -0
  313. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/plugin/__init__.py +0 -0
  314. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/plugin/access_policy.py +0 -0
  315. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/plugin/actions.py +0 -0
  316. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/plugin/apps.py +0 -0
  317. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/plugin/authentication/__init__.py +0 -0
  318. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/plugin/cache/__init__.py +0 -0
  319. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/plugin/constants.py +0 -0
  320. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/plugin/content.py +0 -0
  321. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/plugin/download/__init__.py +0 -0
  322. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/plugin/exceptions.py +0 -0
  323. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/plugin/files.py +0 -0
  324. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/plugin/importexport.py +0 -0
  325. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/plugin/migrations.py +0 -0
  326. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/plugin/modelresources.py +0 -0
  327. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/plugin/models/__init__.py +0 -0
  328. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/plugin/models/role.py +0 -0
  329. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/plugin/publication_utils.py +0 -0
  330. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/plugin/pulp_hashlib.py +0 -0
  331. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/plugin/replica.py +0 -0
  332. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/plugin/repo_version_utils.py +0 -0
  333. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/plugin/responses.py +0 -0
  334. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/plugin/serializers/__init__.py +0 -0
  335. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/plugin/serializers/content.py +0 -0
  336. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/plugin/stages/__init__.py +0 -0
  337. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/plugin/stages/api.py +0 -0
  338. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/plugin/stages/artifact_stages.py +0 -0
  339. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/plugin/stages/content_stages.py +0 -0
  340. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/plugin/stages/declarative_version.py +0 -0
  341. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/plugin/stages/models.py +0 -0
  342. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/plugin/storage.py +0 -0
  343. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/plugin/sync.py +0 -0
  344. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/plugin/tasking.py +0 -0
  345. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/plugin/util.py +0 -0
  346. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/plugin/viewsets/__init__.py +0 -0
  347. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/plugin/viewsets/content.py +0 -0
  348. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/pytest_plugin.py +0 -0
  349. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/responses.py +0 -0
  350. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tasking/__init__.py +0 -0
  351. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tasking/_util.py +0 -0
  352. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tasking/entrypoint.py +0 -0
  353. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tasking/kafka.py +0 -0
  354. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tasking/storage.py +0 -0
  355. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tasking/tasks.py +0 -0
  356. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tasking/worker.py +0 -0
  357. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/__init__.py +0 -0
  358. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/__init__.py +0 -0
  359. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/api/__init__.py +0 -0
  360. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/api/test_access_policy.py +0 -0
  361. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/api/test_api_docs.py +0 -0
  362. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/api/test_api_root_rewrite.py +0 -0
  363. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/api/test_artifact_distribution.py +0 -0
  364. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/api/test_auth.py +0 -0
  365. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/api/test_correlation_id.py +0 -0
  366. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/api/test_crd_artifacts.py +0 -0
  367. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/api/test_crud_domains.py +0 -0
  368. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/api/test_filter.py +0 -0
  369. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/api/test_login.py +0 -0
  370. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/api/test_openapi_schema.py +0 -0
  371. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/api/test_openpgp.py +0 -0
  372. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/api/test_replication.py +0 -0
  373. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/api/test_repos.py +0 -0
  374. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/api/test_role.py +0 -0
  375. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/api/test_root_endpoint.py +0 -0
  376. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/api/test_scoping.py +0 -0
  377. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/api/test_signing_service.py +0 -0
  378. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/api/test_status.py +0 -0
  379. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/api/test_task_purge.py +0 -0
  380. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/api/test_tasking.py +0 -0
  381. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/api/test_upload.py +0 -0
  382. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/api/test_users_groups.py +0 -0
  383. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/api/test_workers.py +0 -0
  384. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/api/using_plugin/__init__.py +0 -0
  385. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/api/using_plugin/test_checkpoint.py +0 -0
  386. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/api/using_plugin/test_content_access.py +0 -0
  387. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/api/using_plugin/test_content_cache.py +0 -0
  388. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/api/using_plugin/test_content_delivery.py +0 -0
  389. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/api/using_plugin/test_content_directory.py +0 -0
  390. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/api/using_plugin/test_content_path.py +0 -0
  391. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/api/using_plugin/test_content_promotion.py +0 -0
  392. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/api/using_plugin/test_contentguard.py +0 -0
  393. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/api/using_plugin/test_crud_repos.py +0 -0
  394. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/api/using_plugin/test_distributions.py +0 -0
  395. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/api/using_plugin/test_filesystemexport.py +0 -0
  396. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/api/using_plugin/test_labels.py +0 -0
  397. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/api/using_plugin/test_migrate.py +0 -0
  398. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/api/using_plugin/test_orphans.py +0 -0
  399. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/api/using_plugin/test_pagination.py +0 -0
  400. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/api/using_plugin/test_prn.py +0 -0
  401. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/api/using_plugin/test_proxy.py +0 -0
  402. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/api/using_plugin/test_pulpimport.py +0 -0
  403. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/api/using_plugin/test_reclaim_disk_space.py +0 -0
  404. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/api/using_plugin/test_repair.py +0 -0
  405. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/api/using_plugin/test_repo_versions.py +0 -0
  406. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/api/using_plugin/test_tasks.py +0 -0
  407. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/api/using_plugin/test_unlinking_repo.py +0 -0
  408. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/assets/__init__.py +0 -0
  409. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/content_with_coverage.py +0 -0
  410. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/functional/utils.py +0 -0
  411. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/performance/__init__.py +0 -0
  412. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/performance/test_performance.py +0 -0
  413. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/unit/__init__.py +0 -0
  414. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/unit/conftest.py +0 -0
  415. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/unit/content/__init__.py +0 -0
  416. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/unit/content/test_handler.py +0 -0
  417. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/unit/content/test_heartbeat.py +0 -0
  418. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/unit/download/__init__.py +0 -0
  419. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/unit/download/test_downloader_base.py +0 -0
  420. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/unit/download/test_downloader_factory.py +0 -0
  421. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/unit/download/test_downloader_file.py +0 -0
  422. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/unit/metrics/__init__.py +0 -0
  423. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/unit/metrics/conftest.py +0 -0
  424. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/unit/metrics/test_aiohttp_instrumentation.py +0 -0
  425. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/unit/metrics/test_django_instrumentation.py +0 -0
  426. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/unit/migration/__init__.py +0 -0
  427. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/unit/models/__init__.py +0 -0
  428. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/unit/models/test_base.py +0 -0
  429. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/unit/models/test_caching_and_retention.py +0 -0
  430. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/unit/models/test_content.py +0 -0
  431. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/unit/models/test_remote.py +0 -0
  432. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/unit/models/test_repository.py +0 -0
  433. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/unit/models/test_task.py +0 -0
  434. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/unit/roles/__init__.py +0 -0
  435. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/unit/roles/test_adjust_roles.py +0 -0
  436. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/unit/roles/test_roles.py +0 -0
  437. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/unit/serializers/__init__.py +0 -0
  438. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/unit/serializers/test_base.py +0 -0
  439. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/unit/serializers/test_domain.py +0 -0
  440. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/unit/serializers/test_fields.py +0 -0
  441. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/unit/serializers/test_orphans_cleanup.py +0 -0
  442. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/unit/serializers/test_pulpexport.py +0 -0
  443. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/unit/serializers/test_repository.py +0 -0
  444. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/unit/serializers/test_user.py +0 -0
  445. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/unit/stages/__init__.py +0 -0
  446. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/unit/stages/test_artifactdownloader.py +0 -0
  447. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/unit/stages/test_stages.py +0 -0
  448. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/unit/test_cache.py +0 -0
  449. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/unit/test_chunked_file.py +0 -0
  450. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/unit/test_files.py +0 -0
  451. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/unit/test_import_checks.py +0 -0
  452. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/unit/test_pulp_urls.py +0 -0
  453. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/unit/test_settings.py +0 -0
  454. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/unit/test_util.py +0 -0
  455. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/unit/test_viewsets.py +0 -0
  456. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/unit/test_vulnerability_report.py +0 -0
  457. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/unit/viewsets/__init__.py +0 -0
  458. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore/tests/unit/viewsets/test_viewset_base.py +0 -0
  459. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore.egg-info/SOURCES.txt +0 -0
  460. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore.egg-info/dependency_links.txt +0 -0
  461. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore.egg-info/entry_points.txt +0 -0
  462. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore.egg-info/requires.txt +0 -0
  463. {pulpcore-3.85.36 → pulpcore-3.85.37}/pulpcore.egg-info/top_level.txt +0 -0
  464. {pulpcore-3.85.36 → pulpcore-3.85.37}/setup.cfg +0 -0
  465. {pulpcore-3.85.36 → pulpcore-3.85.37}/test_requirements.txt +0 -0
  466. {pulpcore-3.85.36 → pulpcore-3.85.37}/unittest_requirements.txt +0 -0
@@ -8,6 +8,32 @@
8
8
 
9
9
  [//]: # (towncrier release notes start)
10
10
 
11
+ ## 3.85.37 (2026-11-18) {: #3.85.37 }
12
+
13
+ ### REST API {: #3.85.37-rest-api }
14
+
15
+ #### Bugfixes {: #3.85.37-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.85.37-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.85.37-plugin-api }
24
+
25
+ No significant changes.
26
+
27
+ ### Pulp File {: #3.85.37-pulp-file }
28
+
29
+ No significant changes.
30
+
31
+ ### Pulp Cert Guard {: #3.85.37-pulp-cert-guard }
32
+
33
+ No significant changes.
34
+
35
+ ---
36
+
11
37
  ## 3.85.36 (2026-11-09) {: #3.85.36 }
12
38
 
13
39
  ### REST API {: #3.85.36-rest-api }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pulpcore
3
- Version: 3.85.36
3
+ Version: 3.85.37
4
4
  Summary: Pulp Django Application and Related Modules
5
5
  Author-email: Pulp Team <pulp-list@redhat.com>
6
6
  Project-URL: Homepage, https://pulpproject.org
@@ -6,6 +6,6 @@ class PulpCertGuardPluginAppConfig(PulpPluginAppConfig):
6
6
 
7
7
  name = "pulp_certguard.app"
8
8
  label = "certguard"
9
- version = "3.85.36"
9
+ version = "3.85.37"
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.85.36"
11
+ version = "3.85.37"
12
12
  python_package_name = "pulpcore"
13
13
  domain_compatible = True
@@ -238,7 +238,7 @@ class PulpAppConfig(PulpPluginAppConfig):
238
238
  label = "core"
239
239
 
240
240
  # The version of this app
241
- version = "3.85.36"
241
+ version = "3.85.37"
242
242
 
243
243
  # The python package name providing this app
244
244
  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."""
@@ -510,12 +518,36 @@ class HeaderContentGuard(ContentGuard, AutoAddObjPermsMixin):
510
518
 
511
519
  if self.jq_filter:
512
520
  try:
513
- header_value = json.loads(header_decoded_content)
514
- json_path = jq.compile(self.jq_filter)
515
-
516
- header_value = json_path.input_value(header_value).first()
517
-
518
- except json.JSONDecodeError:
521
+ header_json = json.loads(header_decoded_content)
522
+ if settings.ALLOW_INSECURE_HEADER_CONTENT_GUARD_JQ_PROCESSING_AND_FORFEIT_ALL_COMMUNITY_SUPPORT: # noqa
523
+ deprecation_logger.warning(
524
+ "The use of actual jq filters is deprecated and scheduled for removal with "
525
+ "pulpcore 3.130."
526
+ )
527
+ # DISCLAIMER:
528
+ # The prelude attempts to strip the environment from the jq script.
529
+ # That does not mean it is safe to allow users to define a script to run on
530
+ # the content app.
531
+ JQ_PRELUDE = r"def env: {}; {} as $ENV |"
532
+ json_path = jq.compile(
533
+ f"{JQ_PRELUDE} {self.jq_filter}",
534
+ args={
535
+ "JQ_BUILD_CONFIGURATION": "",
536
+ "ARGS": {"positional": [], "named": {}},
537
+ },
538
+ )
539
+
540
+ header_value = json_path.input_value(header_json).first()
541
+
542
+ elif json_path_re.fullmatch(self.jq_filter):
543
+ path = self.jq_filter.lstrip(".").split(".")
544
+ header_value = reduce(lambda x, y: x[y], path, header_json)
545
+ else:
546
+ _logger.warning(
547
+ "Using 'jq_filter' is only allowed with simple paths on this installation."
548
+ )
549
+ raise PermissionError(_("ContentGuard misconfigured."))
550
+ except (TypeError, KeyError, ValueError, StopIteration):
519
551
  _logger.debug("Access not allowed - Invalid JSON or Path not found.")
520
552
  raise PermissionError(_("Access denied."))
521
553
  else:
@@ -43,6 +43,7 @@ from .fields import (
43
43
  relative_path_validator,
44
44
  TaskGroupStatusCountField,
45
45
  pulp_labels_validator,
46
+ RegexValidator,
46
47
  )
47
48
  from .access_policy import AccessPolicySerializer
48
49
  from .acs import (
@@ -24,6 +24,18 @@ def relative_path_validator(relative_path):
24
24
  raise serializers.ValidationError(
25
25
  _("Relative path must not reach beyond the base path. {0}").format(relative_path)
26
26
  )
27
+ return relative_path
28
+
29
+
30
+ class RegexValidator:
31
+ def __init__(self, regex, flags=0):
32
+ self.pattern = re.compile(regex, flags)
33
+
34
+ def __call__(self, value):
35
+ if not self.pattern.fullmatch(value):
36
+ raise serializers.ValidationError(
37
+ _("Value does not match pattern r'{}'.").format(self.pattern.pattern)
38
+ )
27
39
 
28
40
 
29
41
  # Prefer JSONDictField and JSONListField over JSONField:
@@ -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
  )
@@ -159,14 +162,23 @@ class HeaderContentGuardSerializer(ContentGuardSerializer, GetOrCreateSerializer
159
162
  jq_filter = serializers.CharField(
160
163
  help_text=_(
161
164
  (
162
- "A JQ syntax compatible filter. If jq_filter is not set, then the value will"
163
- "only be Base64 decoded and checked as an explicit string match."
165
+ "A simple dotted path (e.g. .a.b.c) used to extract the value from the "
166
+ "Base64 decoded JSON header. If jq_filter is not set, the header value "
167
+ "is only Base64 decoded and checked as an explicit string match."
164
168
  )
165
169
  ),
166
170
  allow_null=True,
167
171
  required=False,
168
172
  )
169
173
 
174
+ def validate_jq_filter(self, value):
175
+ if (
176
+ value is not None
177
+ and not settings.ALLOW_INSECURE_HEADER_CONTENT_GUARD_JQ_PROCESSING_AND_FORFEIT_ALL_COMMUNITY_SUPPORT
178
+ ): # noqa
179
+ RegexValidator(r"(?:\.\w+)+", re.ASCII)(value)
180
+ return value
181
+
170
182
  class Meta(ContentGuardSerializer.Meta):
171
183
  model = models.HeaderContentGuard
172
184
  fields = ContentGuardSerializer.Meta.fields + ("header_name", "header_value", "jq_filter")
@@ -410,6 +410,11 @@ VULN_REPORT_TASK_LIMITER = 10
410
410
  # Replaces asyncio event loop with uvloop
411
411
  UVLOOP_ENABLED = False
412
412
 
413
+ # JQ is a query language after all. And it should be considered on the same level as SQL.
414
+ # Do not allow users to write arbitrary programs to run on the content app.
415
+ # Exposes to at least CVE-2026-123084.
416
+ ALLOW_INSECURE_HEADER_CONTENT_GUARD_JQ_PROCESSING_AND_FORFEIT_ALL_COMMUNITY_SUPPORT = False
417
+
413
418
  # HERE STARTS DYNACONF EXTENSION LOAD (Keep at the very bottom of settings.py)
414
419
  # Read more at https://www.dynaconf.com/django/
415
420
 
@@ -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.85.36
3
+ Version: 3.85.37
4
4
  Summary: Pulp Django Application and Related Modules
5
5
  Author-email: Pulp Team <pulp-list@redhat.com>
6
6
  Project-URL: Homepage, https://pulpproject.org
@@ -7,7 +7,7 @@ build-backend = 'setuptools.build_meta'
7
7
 
8
8
  [project]
9
9
  name = "pulpcore"
10
- version = "3.85.36"
10
+ version = "3.85.37"
11
11
  description = "Pulp Django Application and Related Modules"
12
12
  readme = "README.md"
13
13
  authors = [
@@ -206,7 +206,7 @@ ignore = [
206
206
  [tool.bumpversion]
207
207
  # This section is managed by the plugin template. Do not edit manually.
208
208
 
209
- current_version = "3.85.36"
209
+ current_version = "3.85.37"
210
210
  commit = false
211
211
  tag = false
212
212
  parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<alpha>0a)?(?P<patch>\\d+)(\\.(?P<release>[a-z]+))?"
@@ -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)