Skip to content

Commit

Permalink
Fix signatures not being stored as text on syncs
Browse files Browse the repository at this point in the history
fixes: pulp#1245
  • Loading branch information
gerrod3 committed Sep 16, 2022
1 parent df73a91 commit fae036e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES/1245.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
``CollectionVersionSignature`` data is now stored as plain text instead of bytes.
2 changes: 1 addition & 1 deletion pulp_ansible/app/tasks/collections.py
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ async def _add_collection_version(self, api_version, collection_version_url, met
if signatures:
collection_version = await d_content.resolution()
for signature in signatures:
sig = signature["signature"].encode("utf8")
sig = signature["signature"]
cv_signature = CollectionVersionSignature(
signed_collection=collection_version,
data=sig,
Expand Down

0 comments on commit fae036e

Please sign in to comment.