Skip to content

Commit

Permalink
Update to github.com/mtrmac/gpgme v0.1.2
Browse files Browse the repository at this point in the history
This "fixes" CVE-2020-8945 by incorporating proglottis/gpgme#23 .

The code is not actually used, for two reasons:
- Nothing in this repository invokes signature verification
  (the subpackage is only used to generate contents of policy.json)
- Builds use the 'containers_image_openpgp' build tag, which
  switches to the non-gpgme signature backend.

This updates the vendored code anyway
- to avoid false positives when scanning for vulnerabilities
- so that we don't have to worry about any future changes in this
  repository enabling those code paths.

Performed by updating Gopgg.tompl and
$ dep ensure

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
  • Loading branch information
mtrmac committed Jun 20, 2020
1 parent 204f564 commit 899f4da
Show file tree
Hide file tree
Showing 8 changed files with 360 additions and 80 deletions.
6 changes: 3 additions & 3 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions Gopkg.toml
Expand Up @@ -173,6 +173,10 @@ required = [
name = "github.com/InVisionApp/go-health"
version = "2.1.0"

[[override]]
name = "github.com/mtrmac/gpgme"
version = "v0.1.2"

[[constraint]]
name = "github.com/joho/godotenv"
version = "1.3.0"
18 changes: 12 additions & 6 deletions vendor/github.com/mtrmac/gpgme/data.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions vendor/github.com/mtrmac/gpgme/go_gpgme.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions vendor/github.com/mtrmac/gpgme/go_gpgme.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 899f4da

Please sign in to comment.