-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
extract verification code into separate package (#886)
Signed-off-by: Brian DeHamer <[email protected]>
- Loading branch information
Showing
57 changed files
with
5,948 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@sigstore/verify': minor | ||
--- | ||
|
||
Extract verification code into dedicated package |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
node_modules | ||
dist | ||
**/__generated__ | ||
**/__fixtures__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# @sigstore/verify · [![npm version](https://img.shields.io/npm/v/@sigstore/verify.svg?style=flat)](https://www.npmjs.com/package/@sigstore/verify) [![CI Status](https://github.com/sigstore/sigstore-js/workflows/CI/badge.svg)](https://github.com/sigstore/sigstore-js/actions/workflows/ci.yml) [![Smoke Test Status](https://github.com/sigstore/sigstore-js/workflows/smoke-test/badge.svg)](https://github.com/sigstore/sigstore-js/actions/workflows/smoke-test.yml) | ||
|
||
A library for verifying [Sigstore][1] signatures. | ||
|
||
## Prerequisites | ||
|
||
- Node.js version >= 16.14.0 | ||
|
||
[1]: https://www.sigstore.dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/* | ||
Copyright 2022 The Sigstore Authors. | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
*/ | ||
const base = require('../../jest.config.base'); | ||
|
||
module.exports = { | ||
...base, | ||
displayName: 'verify', | ||
setupFilesAfterEnv: ['@sigstore/jest/all'], | ||
testPathIgnorePatterns: [ | ||
'<rootDir>/dist/', | ||
'<rootDir>/src/__tests__/__fixtures__', | ||
], | ||
coveragePathIgnorePatterns: ['__fixtures__'], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"name": "@sigstore/verify", | ||
"version": "0.0.0", | ||
"description": "Verification of Sigstore signatures", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"scripts": { | ||
"clean": "shx rm -rf dist *.tsbuildinfo", | ||
"build": "tsc --build", | ||
"test": "jest" | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
"author": "[email protected]", | ||
"license": "Apache-2.0", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/sigstore/sigstore-js.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/sigstore/sigstore-js/issues" | ||
}, | ||
"homepage": "https://github.com/sigstore/sigstore-js/tree/main/packages/verify#readme", | ||
"publishConfig": { | ||
"provenance": true | ||
}, | ||
"dependencies": { | ||
"@sigstore/protobuf-specs": "^0.1.0", | ||
"@sigstore/bundle": "^2.1.0", | ||
"@sigstore/core": "^0.1.0" | ||
}, | ||
"engines": { | ||
"node": "^16.14.0 || >=18.0.0" | ||
} | ||
} |
Oops, something went wrong.