From c5efa870ff9af898e476aecc76f6d2c391320325 Mon Sep 17 00:00:00 2001 From: Bill Rich Date: Tue, 24 Oct 2023 07:52:49 -0700 Subject: [PATCH] Use latest dbr (#1955) --- go.mod | 2 +- go.sum | 4 ++-- pkg/handlers/archive_test.go | 2 +- pkg/handlers/handlers.go | 2 +- pkg/sources/chunker_test.go | 2 +- pkg/sources/filesystem/filesystem.go | 2 +- pkg/sources/gcs/gcs.go | 2 +- pkg/sources/git/git.go | 2 +- pkg/sources/s3/s3.go | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/go.mod b/go.mod index ce8c995238fa..bfba7d94c76b 100644 --- a/go.mod +++ b/go.mod @@ -16,7 +16,6 @@ require ( github.com/TheZeroSlave/zapsentry v1.17.0 github.com/aws/aws-sdk-go v1.45.19 github.com/aymanbagabas/go-osc52 v1.2.1 - github.com/bill-rich/disk-buffer-reader v0.1.7 github.com/bill-rich/go-syslog v0.0.0-20220413021637-49edb52a574c github.com/bitfinexcom/bitfinex-api-go v0.0.0-20210608095005-9e0b26f200fb github.com/bradleyfalzon/ghinstallation/v2 v2.7.0 @@ -69,6 +68,7 @@ require ( github.com/snowflakedb/gosnowflake v1.6.23 github.com/stretchr/testify v1.8.4 github.com/tailscale/depaware v0.0.0-20210622194025-720c4b409502 + github.com/trufflesecurity/disk-buffer-reader v0.1.9 github.com/xanzy/go-gitlab v0.92.3 go.mongodb.org/mongo-driver v1.12.1 go.uber.org/mock v0.2.0 diff --git a/go.sum b/go.sum index daf80a351c05..9103b77cf51a 100644 --- a/go.sum +++ b/go.sum @@ -155,8 +155,6 @@ github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLj github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= -github.com/bill-rich/disk-buffer-reader v0.1.7 h1:oPgDjsbeqErOrFJeWID/51LhIOGjU3cqN1Tj3V6RiwE= -github.com/bill-rich/disk-buffer-reader v0.1.7/go.mod h1:VVzzsK1Ac2AnpOfp/5r9JlIFaFkZ9uSf7zisZayCt0Y= github.com/bill-rich/go-syslog v0.0.0-20220413021637-49edb52a574c h1:tSME5FDS02qQll3JYodI6RZR/g4EKOHApGv1wMZT+Z0= github.com/bill-rich/go-syslog v0.0.0-20220413021637-49edb52a574c/go.mod h1:+sCc6hztur+oZCLOsNk6wCCy+GLrnSNHSRmTnnL+8iQ= github.com/bitfinexcom/bitfinex-api-go v0.0.0-20210608095005-9e0b26f200fb h1:9v7Bzlg+1EBYi2IYcUmOwHReBEfqBbYIj3ZCi9cIe1Q= @@ -639,6 +637,8 @@ github.com/tailscale/depaware v0.0.0-20210622194025-720c4b409502 h1:34icjjmqJ2HP github.com/tailscale/depaware v0.0.0-20210622194025-720c4b409502/go.mod h1:p9lPsd+cx33L3H9nNoecRRxPssFKUwwI50I3pZ0yT+8= github.com/therootcompany/xz v1.0.1 h1:CmOtsn1CbtmyYiusbfmhmkpAAETj0wBIH6kCYaX+xzw= github.com/therootcompany/xz v1.0.1/go.mod h1:3K3UH1yCKgBneZYhuQUvJ9HPD19UEXEI0BWbMn8qNMY= +github.com/trufflesecurity/disk-buffer-reader v0.1.9 h1:1dji/Cx5aPL5DlsqI1B86xFMo6OfbBEhkQhXxgbX9WA= +github.com/trufflesecurity/disk-buffer-reader v0.1.9/go.mod h1:uYwTCdxzV0o+qaeBMxflOsq4eu2WjrE46qGR2e80O9Y= github.com/trufflesecurity/overseer v1.1.7-custom5 h1:xu+Fg6fkSRifUPzUCl7N8HmobJ6WGOkIApGnM7mJS6w= github.com/trufflesecurity/overseer v1.1.7-custom5/go.mod h1:nT9w37AiO1Nop2VhVhNfzAFaPjthvxgpDV3XKsxYkcI= github.com/ulikunitz/xz v0.5.6/go.mod h1:2bypXElzHzzJZwzH67Y6wb67pO62Rzfn7BSiF4ABRW8= diff --git a/pkg/handlers/archive_test.go b/pkg/handlers/archive_test.go index 5c371faa642b..009446c62b89 100644 --- a/pkg/handlers/archive_test.go +++ b/pkg/handlers/archive_test.go @@ -11,7 +11,7 @@ import ( "testing" "time" - diskbufferreader "github.com/bill-rich/disk-buffer-reader" + diskbufferreader "github.com/trufflesecurity/disk-buffer-reader" "github.com/stretchr/testify/assert" logContext "github.com/trufflesecurity/trufflehog/v3/pkg/context" diff --git a/pkg/handlers/handlers.go b/pkg/handlers/handlers.go index 5ff59a7a766f..131e77c963a4 100644 --- a/pkg/handlers/handlers.go +++ b/pkg/handlers/handlers.go @@ -4,7 +4,7 @@ import ( "context" "io" - diskbufferreader "github.com/bill-rich/disk-buffer-reader" + diskbufferreader "github.com/trufflesecurity/disk-buffer-reader" logContext "github.com/trufflesecurity/trufflehog/v3/pkg/context" "github.com/trufflesecurity/trufflehog/v3/pkg/sources" diff --git a/pkg/sources/chunker_test.go b/pkg/sources/chunker_test.go index 0a782294b249..0a6711707156 100644 --- a/pkg/sources/chunker_test.go +++ b/pkg/sources/chunker_test.go @@ -7,7 +7,7 @@ import ( "testing" "testing/iotest" - diskbufferreader "github.com/bill-rich/disk-buffer-reader" + diskbufferreader "github.com/trufflesecurity/disk-buffer-reader" "github.com/stretchr/testify/assert" "github.com/trufflesecurity/trufflehog/v3/pkg/context" diff --git a/pkg/sources/filesystem/filesystem.go b/pkg/sources/filesystem/filesystem.go index 64eca62ce0cb..791f5eb93f60 100644 --- a/pkg/sources/filesystem/filesystem.go +++ b/pkg/sources/filesystem/filesystem.go @@ -7,7 +7,7 @@ import ( "os" "path/filepath" - diskbufferreader "github.com/bill-rich/disk-buffer-reader" + diskbufferreader "github.com/trufflesecurity/disk-buffer-reader" "github.com/go-errors/errors" "github.com/go-logr/logr" "google.golang.org/protobuf/proto" diff --git a/pkg/sources/gcs/gcs.go b/pkg/sources/gcs/gcs.go index 9531a8661788..202752085ddd 100644 --- a/pkg/sources/gcs/gcs.go +++ b/pkg/sources/gcs/gcs.go @@ -10,7 +10,7 @@ import ( "sync" "cloud.google.com/go/storage" - diskbufferreader "github.com/bill-rich/disk-buffer-reader" + diskbufferreader "github.com/trufflesecurity/disk-buffer-reader" "github.com/go-errors/errors" "github.com/go-logr/logr" "golang.org/x/oauth2" diff --git a/pkg/sources/git/git.go b/pkg/sources/git/git.go index 540c7b5be5e5..e0fbe5103d61 100644 --- a/pkg/sources/git/git.go +++ b/pkg/sources/git/git.go @@ -13,7 +13,7 @@ import ( "sync/atomic" "time" - diskbufferreader "github.com/bill-rich/disk-buffer-reader" + diskbufferreader "github.com/trufflesecurity/disk-buffer-reader" "github.com/go-errors/errors" "github.com/go-git/go-git/v5" "github.com/go-git/go-git/v5/plumbing" diff --git a/pkg/sources/s3/s3.go b/pkg/sources/s3/s3.go index f27f54501699..e21830b7a5a1 100644 --- a/pkg/sources/s3/s3.go +++ b/pkg/sources/s3/s3.go @@ -14,7 +14,7 @@ import ( "github.com/aws/aws-sdk-go/service/s3" "github.com/aws/aws-sdk-go/service/s3/s3manager" "github.com/aws/aws-sdk-go/service/sts" - diskbufferreader "github.com/bill-rich/disk-buffer-reader" + diskbufferreader "github.com/trufflesecurity/disk-buffer-reader" "github.com/go-errors/errors" "github.com/go-logr/logr" "golang.org/x/sync/errgroup"