Skip to content

Add 'trustedPublisher' and 'attestations' types#171

Open
bodadotsh wants to merge 1 commit intonpm:mainfrom
bodadotsh:patch-1
Open

Add 'trustedPublisher' and 'attestations' types#171
bodadotsh wants to merge 1 commit intonpm:mainfrom
bodadotsh:patch-1

Conversation

@bodadotsh
Copy link
Copy Markdown

Got the types shape from https://registry.npmjs.org/npm-package-arg:

_npmUser:

{
    "name": "GitHub Actions",
    "email": "npm-oidc-no-reply@github.com",
    "trustedPublisher": {
        "id": "github",
        "oidcConfigId": "oidc:1b9c5f5c-e54a-43f9-853b-56cf385b1620"
    }
}

dist:

{
    "integrity": "sha512-IciCE3SY3uE84Ld8WZU23gAPPV9rIYod4F+rc+vJ7h7cwAJt9Vk6TVsK60ry7Uj3SRS3bqRRIGuTp9YVlk6WNA==",
    "shasum": "72a80f2afe8329860e63854489415e9e9a2f78a7",
    "tarball": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-13.0.2.tgz",
    "fileCount": 4,
    "unpackedSize": 21742,
    "attestations": {
        "url": "https://registry.npmjs.org/-/npm/v1/attestations/npm-package-arg@13.0.2",
        "provenance": {
            "predicateType": "https://slsa.dev/provenance/v1"
        }
    },
    "signatures": [
        {
            "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U",
            "sig": "MEUCIBhY14+Y8yUG++dVhtHrMAM0WdjneT06sktw9ZWtKbrdAiEAkJpkFdnbm8n95PU1x9lfbD/770f18LitqU+FfrcMzY8="
        }
    ]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant