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

Use SignServer REST interface #1343

Open
jiparis opened this issue Sep 20, 2024 · 0 comments
Open

Use SignServer REST interface #1343

jiparis opened this issue Sep 20, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@jiparis
Copy link
Member

jiparis commented Sep 20, 2024

Chainloop is currently using the HTTP interface (older) for signing. However, it's advised to use the new REST interface that provides the verification material after signing.
This provides easier verification without needing to provide the signing certificate out of band, and enables the use of ephemeral certificates with SignServer.

OpenAPI spec can be found here, where we can see the process response includes the certificate:

     "ProcessResponse" : {
        "description" : "POJO that represents a process response.",
        "type" : "object",
        "properties" : {
          "data" : {
            "description" : "The resulting data (i.e the signature) in Base64 encoding",
            "type" : "string"
          },
          "requestId" : {
            "type" : "string"
          },
          "archiveId" : {
            "type" : "string"
          },
          "signerCertificate" : {
            "type" : "string"
          },
          "metaData" : {
            "type" : "object",
            "additionalProperties" : {
              "type" : "string"
            }
          }
        }
      },
@jiparis jiparis added the enhancement New feature or request label Sep 20, 2024
@jiparis jiparis changed the title Use Signserver REST interface Use SignServer REST interface Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant