Bump package versions, and fix issues
This commit is contained in:
@@ -102,7 +102,8 @@ function toAttestation(bundle: Bundle, attestationID?: string): Attestation {
|
||||
throw new Error('Bundle must contain an x509 certificate')
|
||||
}
|
||||
|
||||
const signingCert = new X509Certificate(certBytes)
|
||||
// Convert Buffer to Uint8Array for Node.js 24 compatibility
|
||||
const signingCert = new X509Certificate(new Uint8Array(certBytes))
|
||||
|
||||
// Collect transparency log ID if available
|
||||
const tlogEntries = bundle.verificationMaterial.tlogEntries
|
||||
|
||||
@@ -29,7 +29,11 @@ export const writeAttestation = async (
|
||||
owner: github.context.repo.owner,
|
||||
repo: github.context.repo.repo,
|
||||
headers: options.headers,
|
||||
data: {bundle: attestation}
|
||||
bundle: attestation as {
|
||||
mediaType?: string
|
||||
verificationMaterial?: { [key: string]: unknown }
|
||||
dsseEnvelope?: { [key: string]: unknown }
|
||||
}
|
||||
})
|
||||
|
||||
const data =
|
||||
|
||||
Reference in New Issue
Block a user