From 898bcbe6bdfb2a3cd20ed26803a1b5aad2f71370 Mon Sep 17 00:00:00 2001 From: Jesse Peterson Date: Sat, 2 Dec 2023 14:41:28 -0800 Subject: [PATCH] switch to smallstep/pkcs7 (#88) --- cryptoutil/cryptoutil.go | 2 +- cryptoutil/cryptoutil_test.go | 2 +- go.mod | 2 +- go.sum | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cryptoutil/cryptoutil.go b/cryptoutil/cryptoutil.go index d7e41fc..ad62b45 100644 --- a/cryptoutil/cryptoutil.go +++ b/cryptoutil/cryptoutil.go @@ -10,7 +10,7 @@ import ( "fmt" "strings" - "go.mozilla.org/pkcs7" + "github.com/smallstep/pkcs7" ) // OID for UID (User ID) attribute diff --git a/cryptoutil/cryptoutil_test.go b/cryptoutil/cryptoutil_test.go index 0c3eda3..5b52917 100644 --- a/cryptoutil/cryptoutil_test.go +++ b/cryptoutil/cryptoutil_test.go @@ -4,7 +4,7 @@ import ( "encoding/base64" "testing" - "go.mozilla.org/pkcs7" + "github.com/smallstep/pkcs7" ) func TestPKCS7ParseTagLengthError(t *testing.T) { diff --git a/go.mod b/go.mod index 95d808b..3144520 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/go-sql-driver/mysql v1.7.1 github.com/groob/plist v0.0.0-20220217120414-63fa881b19a5 github.com/lib/pq v1.10.9 - go.mozilla.org/pkcs7 v0.0.0-20210826202110-33d05740a352 + github.com/smallstep/pkcs7 v0.0.0-20231107075624-be1870d87d13 golang.org/x/net v0.0.0-20191009170851-d66e71096ffb ) diff --git a/go.sum b/go.sum index a61538d..d680c12 100644 --- a/go.sum +++ b/go.sum @@ -8,8 +8,8 @@ github.com/groob/plist v0.0.0-20220217120414-63fa881b19a5 h1:saaSiB25B1wgaxrshQh github.com/groob/plist v0.0.0-20220217120414-63fa881b19a5/go.mod h1:itkABA+w2cw7x5nYUS/pLRef6ludkZKOigbROmCTaFw= github.com/lib/pq v1.10.9 h1:YXG7RB+JIjhP29X+OtkiDnYaXQwpS4JEWq7dtCCRUEw= github.com/lib/pq v1.10.9/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= -go.mozilla.org/pkcs7 v0.0.0-20210826202110-33d05740a352 h1:CCriYyAfq1Br1aIYettdHZTy8mBTIPo7We18TuO/bak= -go.mozilla.org/pkcs7 v0.0.0-20210826202110-33d05740a352/go.mod h1:SNgMg+EgDFwmvSmLRTNKC5fegJjB7v23qTQ0XLGUNHk= +github.com/smallstep/pkcs7 v0.0.0-20231107075624-be1870d87d13 h1:qRxEt9ESQhAg1kjmgJ8oyyzlc9zkAjOooe7bcKjKORQ= +github.com/smallstep/pkcs7 v0.0.0-20231107075624-be1870d87d13/go.mod h1:SoUAr/4M46rZ3WaLstHxGhLEgoYIDRqxQEXLOmOEB0Y= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550 h1:ObdrDkeb4kJdCP557AjRjq69pTHfNouLtWZG7j9rPN8= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=