Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define and Create a Model to store Content Signatures #757

Closed
gerrod3 opened this issue Nov 23, 2021 · 0 comments · Fixed by #754
Closed

Define and Create a Model to store Content Signatures #757

gerrod3 opened this issue Nov 23, 2021 · 0 comments · Fixed by #754

Comments

@gerrod3
Copy link
Contributor

gerrod3 commented Nov 23, 2021

author: rochacbruno

original redmine issue: https://pulp.plan.io/issues/9543


Story:

Ansible collections and Container Images can be signed using pulp signing services, once a signature is generated we need a place to store the signature along with its metadata.

Signatures are ASCII text blobs or encoded json data

There is no definition yet on how this Model must look like, something that has the following fields.

class ContentSignature(BaseModel | BaseContentType):
    signature_artifact: FilePath
    # or
    signature_blob: Text
    metadata: JsonField
    content_ptr: (reference to an artifact that can be Collection, Container Image etc)

A content artifact AnsibleCollectionVersion or ContainerImageManifest can have a relationship with one or many signatures

gerrod3 added a commit to gerrod3/pulp_ansible that referenced this issue Jan 19, 2022
Add new signature model CollectionVersionSignature
Add new content API to view CollectionVersionSignatures
Add new sign task to repository endpoint to create new
CollectionVersionSignatures
Add new signature metadata to CollectionVersion Galaxy V3 API to enable
syncing of signatures

fixes: pulp#748
fixes: pulp#757
fixes: pulp#758
@gerrod3 gerrod3 linked a pull request Jan 19, 2022 that will close this issue
3 tasks
gerrod3 added a commit to gerrod3/pulp_ansible that referenced this issue Jan 21, 2022
Add new signature model CollectionVersionSignature
Add new content API to view CollectionVersionSignatures
Add new sign task to repository endpoint to create new
CollectionVersionSignatures
Add new signature metadata to CollectionVersion Galaxy V3 API to enable
syncing of signatures

fixes: pulp#748
fixes: pulp#757
fixes: pulp#758
gerrod3 added a commit to gerrod3/pulp_ansible that referenced this issue Jan 24, 2022
Add new signature model CollectionVersionSignature
Add new content API to view CollectionVersionSignatures
Add new sign task to repository endpoint to create new
CollectionVersionSignatures
Add new signature metadata to CollectionVersion Galaxy V3 API to enable
syncing of signatures

fixes: pulp#748
fixes: pulp#757
fixes: pulp#758
gerrod3 added a commit to gerrod3/pulp_ansible that referenced this issue Jan 24, 2022
Add new signature model CollectionVersionSignature
Add new content API to view CollectionVersionSignatures
Add new sign task to repository endpoint to create new
CollectionVersionSignatures
Add new signature metadata to CollectionVersion Galaxy V3 API to enable
syncing of signatures

fixes: pulp#748
fixes: pulp#757
fixes: pulp#758
gerrod3 added a commit to gerrod3/pulp_ansible that referenced this issue Jan 24, 2022
Add new signature model CollectionVersionSignature
Add new content API to view CollectionVersionSignatures
Add new sign task to repository endpoint to create new
CollectionVersionSignatures
Add new signature metadata to CollectionVersion Galaxy V3 API to enable
syncing of signatures

fixes: pulp#748
fixes: pulp#757
fixes: pulp#758
gerrod3 added a commit to gerrod3/pulp_ansible that referenced this issue Jan 24, 2022
Add new signature model CollectionVersionSignature
Add new content API to view CollectionVersionSignatures
Add new sign task to repository endpoint to create new
CollectionVersionSignatures
Add new signature metadata to CollectionVersion Galaxy V3 API to enable
syncing of signatures

fixes: pulp#748
fixes: pulp#757
fixes: pulp#758
gerrod3 added a commit that referenced this issue Jan 24, 2022
Add new signature model CollectionVersionSignature
Add new content API to view CollectionVersionSignatures
Add new sign task to repository endpoint to create new
CollectionVersionSignatures
Add new signature metadata to CollectionVersion Galaxy V3 API to enable
syncing of signatures

fixes: #748
fixes: #757
fixes: #758
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant