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

feat(encode): accept any input type #67

Merged
merged 1 commit into from
Aug 7, 2024

feat(encode): accept any input type

3b630a4
Select commit
Loading
Failed to load commit list.
Merged

feat(encode): accept any input type #67

feat(encode): accept any input type
3b630a4
Select commit
Loading
Failed to load commit list.
Chainguard Enforce / Enforce - Commit Signing succeeded Aug 7, 2024 in 0s

Successfully verified commit signature.

CLAIM DESCRIPTION
Found Git signature
Validated Git signature
Validated Rekor entry
Allowed by policy

Details

Certificate

Certificate:
    Data:
        Version: 3 (0x2)
        Serial Number: 473998611950651698718935281518818792847628161542 (0x5306d5369d2e8fb618e0863cc3ede4320479d206)
    Signature Algorithm: ECDSA-SHA384
        Issuer: O=sigstore.dev,CN=sigstore-intermediate
        Validity
            Not Before: Aug 7 16:52:41 2024 UTC
            Not After : Aug 7 17:02:41 2024 UTC
        Subject:         Subject Public Key Info:
            Public Key Algorithm: ECDSA
                Public-Key: (256 bit)
                X:
                    69:05:c5:55:b9:5b:4a:91:8c:c9:76:8a:09:83:b9:
                    61:b4:80:f7:93:41:b8:e2:7d:21:71:ec:c8:d5:76:
                    5b:54
                Y:
                    c8:5a:03:00:f2:41:a5:58:c4:52:98:91:71:1c:00:
                    00:73:e6:5e:9d:72:0e:cc:f3:62:98:8b:bb:6f:61:
                    7d:a7
                Curve: P-256
        X509v3 extensions:
            X509v3 Key Usage: critical
                Digital Signature
            X509v3 Extended Key Usage:
                Code Signing
            X509v3 Subject Key Identifier:
                0B:41:DD:36:44:F4:2D:03:3C:95:1B:63:12:13:90:F6:42:45:2C:5C
            X509v3 Authority Key Identifier:
                keyid:DF:D3:E9:CF:56:24:11:96:F9:A8:D8:E9:28:55:A2:C6:2E:18:64:3F
            X509v3 Subject Alternative Name: critical
                email:dluhring@chainguard.dev
            oidcIssuer:
                https://accounts.google.com
            Unknown extension 1.3.6.1.4.1.57264.1.8
            Signed Certificate Timestamp:
                BHoAeAB2AN09MGrGxxEyYxkeHJlnNwKiSl643jyt/4eKcoAvKe6OAAABkS3BzVMAAAQDAEcwRQIgeqndk4yvJxFwqLFQWgqLbuzFeokWrnGDL45DYlvBXFcCIQDZx3bCGrgH8KN5uUpgF6CW5Xr6BbOA0BxHS5q5OZ7JoA==

    Signature Algorithm: ECDSA-SHA384
         30:64:02:30:0c:23:45:65:7a:21:41:48:44:e8:50:81:38:d0:
         7d:bd:27:2e:93:95:13:d8:b2:35:1a:24:bf:c7:3f:9f:1d:d2:
         64:00:fd:c7:5b:04:a2:a1:3d:43:7e:e2:b0:98:de:af:02:30:
         4d:6e:17:98:fc:c7:21:c1:a7:52:d7:4a:fa:34:19:1d:17:15:
         d7:5a:cc:f4:6d:88:45:b9:f1:4e:98:6f:73:c2:ce:fa:ee:36:
         7f:1e:91:25:e6:cd:ed:bc:fa:63:ba:a0

Rekor Entry

{
  "body": "eyJhcGlWZXJzaW9uIjoiMC4wLjEiLCJraW5kIjoiaGFzaGVkcmVrb3JkIiwic3BlYyI6eyJkYXRhIjp7Imhhc2giOnsiYWxnb3JpdGhtIjoic2hhMjU2IiwidmFsdWUiOiI5NTdhMTQxNGJhOWJkMTMwOTI0MGYyODViZmFiODQyMGJjMDQwOWQ3ZTc0NDE4Y2NmZTRjNTk1YTkyZGZkMDcxIn19LCJzaWduYXR1cmUiOnsiY29udGVudCI6Ik1FVUNJQjZxOUEyaEVrcURDRStVRDFHUG9xVHV0dHBUYTdITUtGbGx6dUdwUitIbUFpRUF5emN0VEFDUmtFNDRHVGIxclJabzNnUmIrNUhUdTBWNWd5NUZGWUQ4clhnPSIsInB1YmxpY0tleSI6eyJjb250ZW50IjoiTFMwdExTMUNSVWRKVGlCRFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2sxSlNVTjZla05EUVd4aFowRjNTVUpCWjBsVlZYZGlWazV3TUhWcU4xbFpORWxaT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FVsSFMwSm5iM0pDWjBWRlFXUmFOVUZuVVVNS1FraDNSV1ZuUWpSQlNGbEJNMVF3ZDJGellraEZWRXBxUjFJMFkyMVhZek5CY1VwTFdISnFaVkJMTXk5b05IQjVaME00Y0Rkdk5FRkJRVWRTVEdOSVRncFZkMEZCUWtGTlFWSjZRa1pCYVVJMmNXUXlWR3BMT0c1RldFTnZjMVpDWVVOdmRIVTNUVlkyYVZKaGRXTlpUWFpxYTA1cFZ6aEdZMVozU1doQlRtNUlDbVJ6U1dGMVFXWjNiek50TlZOdFFWaHZTbUpzWlhadlJuTTBSRkZJUldSTWJYSnJOVzV6YldkTlFXOUhRME54UjFOTk5EbENRVTFFUVRKalFVMUhVVU1LVFVGM2FsSlhWalpKVlVaSlVrOW9VV2RVYWxGbVlqQnVUSEJQVmtVNWFYbE9VbTlyZGpoakwyNTRNMU5hUVVRNWVERnpSVzl4UlRsUk16ZHBjMHBxWlFweWQwbDNWRmMwV0cxUWVraEpZMGR1VlhSa1N5dHFVVnBJVW1OV01URnlUVGxITWtsU1ltNTRWSEJvZG1NNFRFOHJkVFF5Wm5nMlVrcGxZazQzWW5vMkNsazNjV2NLTFMwdExTMUZUa1FnUTBWU1ZFbEdTVU5CVkVVdExTMHRMUW89In19fX0=",
  "integratedTime": 1723049561,
  "logID": "c0d23d6ad406973f9559f3ba2d1ca01f84147d8ffc5b8445c224f98b9591801d",
  "logIndex": 119301296,
  "verification": {
    "inclusionProof": {
      "checkpoint": "rekor.sigstore.dev - 2605736670972794746\n115138631\ns6grp1RfvEePBNWlztqCmi+LeKzrtmDLnsr3sE5kypw=\n\n— rekor.sigstore.dev wNI9ajBFAiA7khAzbfBZsaW5UrmzUts5rX3j1Mni+4o/J1TCYnlLKgIhAIpLVIXlsIOnx3mtm2IutmgtoVbc0xzH26K9XPUKgsH6\n",
      "hashes": [
        "1ee0bcd2fa937547bed3956d4e7bccaa73b8d9c910743140f4b92c5a05efffc8",
        "2b1f67a0e577a9597e8837a4d979621a6bcb6da3df4e43f17e8ca857002fb672",
        "2a759c4b3d5bd3aa916bfa040ffb6a26535ac40c31a68406b6f8725a77fc419a",
        "6074846fa0544f974b396f60a87c4112cabbf5aee198f5f138bd973a6098080f",
        "1a972e74563deb45570e08173e9c4badb5d10c809096bb6e2e93b2a782b5aae0",
        "cd5c76475d544fa3ac64e1ed46e44e557749a82e2753c6713e4216ccae0e70b3",
        "b0084c03eef27e59437924a05734f26680cb0d8e661bc059d35f4b0e1fc9881b",
        "cff29b9f8a3adee22691e0ba5d1a6ac1e34c9ff12b2a7032fdca84d5d693e571",
        "d529a3086869bdc57836b54a4ac3af45762bb793f80c20e2befed2d5eb8b7528",
        "70cf5866dfe741289288be11e46bea78c76637439d686b0475207b05dc96d2da",
        "4ced5b716840ba7bd9bf07fe64b1c3d41d1ebe1b8aa1f32af503c066e5631e42",
        "09ac3c06d162974712eb1ba285e5d348d03ba422a7c8c2484cfd974b57ad8a67",
        "6becde775782f417f0ae90fff9f6681f451c91bb5b4de7148d620a419caaf59c",
        "4456f5221c19f4b22eb4b7e96a68f79107e0240b0c1fdd8dad1f56a6f79a8636",
        "78222a0d7115f936484f9efb30dbf7e240a350d0677a3dcbdafe1d0a007a1616",
        "12634b93379aafc74e4098144e95c5a83355cd743ca9ed35ec3be1571fc7c125",
        "1147a7b967bb4db31e788b68709d791de999b04e86e92c9ed7c0dfe7e22365e9",
        "85c55b769f37bad241f86b0e056201993d30f34e1658f85086e2bc28e772ea1c",
        "bfb377a70a39fdd0c2f61ad6137d57e17fa92304e5bd05c1945bd40bfc638dd7",
        "c8f64510acaad098f9b0e6db0b007f2cc1e5720425f2ec7677622445858b22df",
        "9dd9a31717bcf68269e33f9f5dc2d03350660beed2a7c9bc54c90d21a7cd8589",
        "6ba90b9f03789cf95da96ab83a83ba333db9650c754da2cc17421b31231576e4",
        "f7c7a7ccc682fb1e6808cbc8650039cfcbeed9aa4330216f13ff77e4d7ee3f0f"
      ],
      "logIndex": 115137865,
      "rootHash": "b3a82ba7545fbc478f04d5a5ceda829a2f8b78acebb660cb9ecaf7b04e64ca9c",
      "treeSize": 115138631
    },
    "signedEntryTimestamp": "MEUCIAHEMSAyeM0u84/E3Mnclv0Dkb0r7Gt21ia3IgMFCrhwAiEA5yGv+Wgy2takIaYmxRr/6qx+Fy8F+N09EF5sdz0eVNQ="
  }
}