47 Commits

Author SHA1 Message Date
Ian Lewis
95e6555274 docs: Add docs for npm package verification (#587)
Signed-off-by: Ian Lewis <ianlewis@google.com>
2023-05-10 00:33:29 +00:00
Ian Lewis
b5000ebfc0 fix: Slack badge (#558)
Fix slack badge

Signed-off-by: Ian Lewis <ianlewis@google.com>
2023-04-14 10:04:31 +09:00
Ian Lewis
62c0dfdde9 docs: Update docs for 2.2.0 release. (#556)
* Update SHA256SUM.md

Signed-off-by: Ian Lewis <ianlewis@google.com>

* Update version in docs

Signed-off-by: Ian Lewis <ianlewis@google.com>

---------

Signed-off-by: Ian Lewis <ianlewis@google.com>
Co-authored-by: laurentsimon <64505099+laurentsimon@users.noreply.github.com>
2023-04-13 19:15:15 +00:00
asraa
1bbdd661a8 docs: remove duplicated table of contents (#557)
* docs: remove duplicated table of contents

Signed-off-by: Asra Ali <asraa@google.com>

* fix action installation list

Signed-off-by: Asra Ali <asraa@google.com>

---------

Signed-off-by: Asra Ali <asraa@google.com>
2023-04-13 11:43:18 -07:00
Drew Roen
e7279e828e docs: Update README.md (#541)
Update README.md

Adding an alternative option for installing slsa-verifier if you do not rely on additional tooling. The benefit of this option is improved readability.

Signed-off-by: Drew Roen <102626803+drewroengoogle@users.noreply.github.com>
Co-authored-by: Ian Lewis <ianlewis@google.com>
2023-04-11 02:24:36 +00:00
asraa
e8ce5c0204 chore: update docs for release v2.1.0 (#530)
* chore: update docs for release v2.1.0

Signed-off-by: Asra Ali <asraa@google.com>

---------

Signed-off-by: Asra Ali <asraa@google.com>
2023-03-17 15:07:25 +00:00
laurentsimon
20b06426ff docs: update installation to cover the Action and to receive updates (#523)
docs: update installation to cover the Action and to receive updates (#523)

Signed-off-by: laurentsimon <laurentsimon@google.com>
2023-03-10 15:46:04 -06:00
Ian Lewis
771f842244 docs: Add instructions for GHA container generator (#438)
Signed-off-by: Ian Lewis <ianlewis@google.com>
2023-01-11 11:34:50 +09:00
Mihai Maruseac
e20f3cc7a3 feat: Verify all artifacts passed in cmdline (#419)
* Remove limit of number of artifacts to verify

Signed-off-by: Mihai Maruseac <mihaimaruseac@google.com>

* Update short description

Mention that we support multiple artifacts as long as they come from the
same provenance.

Signed-off-by: Mihai Maruseac <mihaimaruseac@google.com>

* Verify all artifacts passed in cmdline

Signed-off-by: Mihai Maruseac <mihaimaruseac@google.com>

* Remove header of verify step output

Signed-off-by: Mihai Maruseac <mihaimaruseac@google.com>

* Format the `cobra.Command.Use` argument

Signed-off-by: Mihai Maruseac <mihaimaruseac@google.com>

* Don't return a slice of builderIDs.

Since all images should come from the same provenance file, there's an
invariant that we will always get exactly one builderID. So, no need to
return a slice of them.

Just to preempt the case when the invariant would be broken, add a
specific check.

Signed-off-by: Mihai Maruseac <mihaimaruseac@google.com>

* Change existing tests to support multiple artifacts.

No new tests added, just changing table test data type.

Signed-off-by: Mihai Maruseac <mihaimaruseac@google.com>

* [nfc] Format test file

Signed-off-by: Mihai Maruseac <mihaimaruseac@google.com>

* Change test to allow passing multiple artifacts.

For now, just allow passing the entire array of artifacts to command
line / arguments. The functionality should still be the same.

Signed-off-by: Mihai Maruseac <mihaimaruseac@google.com>

* Fix typo

Signed-off-by: Mihai Maruseac <mihaimaruseac@google.com>

* Fix path to test artifacts

Signed-off-by: Mihai Maruseac <mihaimaruseac@google.com>

* Allow different provenance path

Signed-off-by: Mihai Maruseac <mihaimaruseac@google.com>

* Try 2 artifacts from existing testdata

Signed-off-by: Mihai Maruseac <mihaimaruseac@google.com>

* Add more tests for multiple artifacts

Signed-off-by: Mihai Maruseac <mihaimaruseac@google.com>

* Add failing test

Signed-off-by: Mihai Maruseac <mihaimaruseac@google.com>

* Fix artifact and error

Signed-off-by: Mihai Maruseac <mihaimaruseac@google.com>

* Add final test: no artifact match

Signed-off-by: Mihai Maruseac <mihaimaruseac@google.com>

* Update README.md

Signed-off-by: Mihai Maruseac <mihaimaruseac@google.com>

Signed-off-by: Mihai Maruseac <mihaimaruseac@google.com>
2022-12-29 09:56:57 -08:00
asraa
0bd7a542b4 docs: update docs for release v2.0.1 (#403)
Signed-off-by: Asra Ali <asraa@google.com>

Signed-off-by: Asra Ali <asraa@google.com>
2022-12-14 16:11:34 +00:00
Shunsuke Suzuki
c9993a51d8 docs: fix go install (#376)
https://github.com/slsa-framework/slsa-verifier/pull/375#discussion_r1037775148

I found this doesn't work.
To install slsa-verifier v2 by go install, we have to release v2.0.1 or later.

```
go install github.com/slsa-framework/slsa-verifier/v2/cli/slsa-verifier@v2.0.0
go: github.com/slsa-framework/slsa-verifier/v2/cli/slsa-verifier@v2.0.0: github.com/slsa-framework/slsa-verifier@v2.0.0: invalid version: module contains a go.mod file, so module path must match major version ("github.com/slsa-framework/slsa-verifier/v2")
```

Signed-off-by: Shunsuke Suzuki <suzuki.shunsuke.1989@gmail.com>

Signed-off-by: Shunsuke Suzuki <suzuki.shunsuke.1989@gmail.com>
2022-12-02 09:16:40 -06:00
Shunsuke Suzuki
59a3af3d90 docs: update slsa-verifier to v2.0.0 (#375)
Signed-off-by: Shunsuke Suzuki <suzuki.shunsuke.1989@gmail.com>

Signed-off-by: Shunsuke Suzuki <suzuki.shunsuke.1989@gmail.com>
Co-authored-by: laurentsimon <64505099+laurentsimon@users.noreply.github.com>
2022-12-02 03:13:25 +00:00
asraa
1c41687aac Update to reference v1.3.2 as latest version. (#369)
Signed-off-by: Ian Lewis <ianlewis@google.com>

Signed-off-by: Ian Lewis <ianlewis@google.com>
Co-authored-by: Ian Lewis <ianlewis@google.com>
2022-11-28 16:40:11 +00:00
Ian Lewis
3162d85faf Update README (#361)
Signed-off-by: Ian Lewis <ianmlewis@gmail.com>

Signed-off-by: Ian Lewis <ianmlewis@gmail.com>
Co-authored-by: asraa <asraa@google.com>
2022-11-28 16:20:13 +00:00
Tahir Raza
a9f100cf3d fixing typo (#352)
Signed-off-by: Tahir Raza <tahirraza@gmail.com>

Signed-off-by: Tahir Raza <tahirraza@gmail.com>
2022-11-05 23:14:06 +00:00
asraa
26f422b6b2 add new releases (#347)
Signed-off-by: Asra Ali <asraa@google.com>

Signed-off-by: Asra Ali <asraa@google.com>
2022-11-01 09:38:26 +09:00
Wietse Venema
27597feff8 Add optional (#316)
* Update README.md

Add missing [optional] indicators to the "verify-artifact" --help example.

Signed-off-by: Wietse Venema <72045954+wietse-gmail@users.noreply.github.com>

* Add missing [optional] indicators to the verify-artifact help message

Signed-off-by: Wietse Venema <72045954+wietse-gmail@users.noreply.github.com>

Signed-off-by: Wietse Venema <72045954+wietse-gmail@users.noreply.github.com>
2022-10-23 23:33:39 +00:00
asraa
e9cd6b763c fix: address gcb verifier comments and add gcb documentation (#300)
* address gcb verifier comments

Signed-off-by: Asra Ali <asraa@google.com>
2022-10-21 21:06:22 +00:00
asraa
e269a00945 release: add release v1.3.1 and v1.2.1 (#288)
* release: add release v1.3.1 and v1.2.1

Signed-off-by: Asra Ali <asraa@google.com>
2022-10-03 10:27:24 -05:00
laurentsimon
a2f6c3b8f9 Update README.md (#276)
Signed-off-by: laurentsimon <64505099+laurentsimon@users.noreply.github.com>

Signed-off-by: laurentsimon <64505099+laurentsimon@users.noreply.github.com>
2022-09-27 14:52:58 -05:00
laurentsimon
ad0648c097 doc: add links to GH builders (#268)
* Update README.md

Signed-off-by: laurentsimon <64505099+laurentsimon@users.noreply.github.com>

* Update README.md

Signed-off-by: laurentsimon <64505099+laurentsimon@users.noreply.github.com>

Signed-off-by: laurentsimon <64505099+laurentsimon@users.noreply.github.com>
2022-09-26 06:12:31 -05:00
laurentsimon
b5da86b168 doc: document build id and GCB vs GHA (#266)
* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* comments

* update
2022-09-23 19:04:51 +00:00
asraa
ff0ced42ef refactor: add subcommands and separate functionality from artifacts a… (#231)
* refactor: add subcommands and separate functionality from artifacts and images

Signed-off-by: Asra Ali <asraa@google.com>
2022-09-06 17:10:58 -05:00
laurentsimon
362e8c1077 Update README.md (#241)
Signed-off-by: laurentsimon <64505099+laurentsimon@users.noreply.github.com>
2022-08-29 13:54:48 +09:00
asraa
ccb0786c88 release: release v1.3.0 of verifier (#218)
Signed-off-by: Asra Ali <asraa@google.com>

Signed-off-by: Asra Ali <asraa@google.com>
2022-08-15 13:50:24 -07:00
Carlos Tadeu Panato Junior
d6c68a496f update link to download the binary to use the latest release (v1.2.0) (#204)
Signed-off-by: cpanato <ctadeu@gmail.com>
2022-08-10 13:42:34 +00:00
laurentsimon
0cf9e9ce8f Update README.md (#185)
Signed-off-by: laurentsimon <64505099+laurentsimon@users.noreply.github.com>
2022-08-03 20:53:41 -07:00
laurentsimon
caaf1c1b8e feat: Create a verifier as a service (#182)
* update

* update

* update

* tests

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* comments

* update

* update

* update

* update

* update
2022-08-03 14:29:25 -07:00
asraa
ad90b50548 release: add notes for release v1.2.0 (#171)
Signed-off-by: Asra Ali <asraa@google.com>
2022-07-25 11:49:49 -07:00
asraa
8c4373c533 fix: remove signing certificate output (#160)
* remove signing certificate output

Signed-off-by: Asra Ali <asraa@google.com>
2022-07-22 10:33:48 -05:00
asraa
588ddc4344 add v1.1.1 hash (#114)
Signed-off-by: Asra Ali <asraa@google.com>
2022-06-29 17:39:18 +00:00
laurentsimon
c06d3f72a9 Iterate thru subjects when verifying subject's hash (#112)
* Iterate thru subjects

* missing file

* update
2022-06-29 17:25:35 +00:00
asraa
5110b6efc4 update to release 1.1.0 (#104)
Signed-off-by: Asra Ali <asraa@google.com>
2022-06-20 21:35:08 +00:00
asraa
a717cc5512 feat: add an option to print provenance (#87)
* add an option to print provenance

Signed-off-by: Asra Ali <asraa@google.com>

fix

Signed-off-by: Asra Ali <asraa@google.com>

* print provenaace

Signed-off-by: Asra Ali <asraa@google.com>
2022-06-08 13:35:59 -07:00
asraa
2a0dd1c120 Update documentation for release v1.0.0 (#85)
Signed-off-by: Asra Ali <asraa@google.com>
2022-06-07 15:53:22 -07:00
laurentsimon
380627ad54 Add installation option (#83) 2022-06-07 09:39:07 -07:00
asraa
1d50070dc1 remove old refs to builders (#81)
Signed-off-by: Asra Ali <asraa@google.com>
2022-06-07 08:42:22 -07:00
asraa
c80938e298 fix prints to stdout and stderr and update README.md (#77)
Signed-off-by: Asra Ali <asraa@google.com>
2022-06-02 16:07:21 -07:00
laurentsimon
21527372e3 📖 Release process for the verifier (#71)
* release for the verifier

* updates

* updates

* updates

* updates

* updates

* updates

* updates

* updates

* updates

* updates

* comments

* updates
2022-06-02 01:20:24 +00:00
laurentsimon
2400fc0838 Update doc about beta release (#38)
* beta release

* updates
2022-04-25 11:13:13 -05:00
laurentsimon
bb7debf054 Update name of argument (#35) 2022-04-25 10:26:40 +01:00
laurentsimon
aee753f58f Add CLI tests (#23)
* draft

* Fixes

* Add option

* comments

* comments

* comment
2022-04-04 21:21:49 +00:00
laurentsimon
60a4eb8657 Update README.md (#24) 2022-04-04 20:46:05 +00:00
laurentsimon
2a5b8f3c58 Disable versioned tag (#22) 2022-04-04 13:16:52 -05:00
laurentsimon
cac0be23ab 📖 Add README content (#19)
* Add README content

* typo

* comments

* comments

* fix
2022-04-01 21:54:31 +00:00
laurentsimon
31311a3151 Update package names and other references (#9)
* Update repo/project names

* update
2022-03-29 07:41:56 -07:00
laurentsimon
6cdcbf9a66 Transffer from github.com/gossts/slsa-provenance (#1) 2022-03-28 08:46:38 -07:00