mirror of
https://github.com/regclient/regclient.git
synced 2025-07-29 09:01:11 +03:00
Include encryption algorithms for digest
Signed-off-by: Brandon Mitchell <git@bmitch.net>
This commit is contained in:
@ -6,6 +6,10 @@ import (
|
||||
"io"
|
||||
"strings"
|
||||
|
||||
// crypto libraries included for go-digest
|
||||
_ "crypto/sha256"
|
||||
_ "crypto/sha512"
|
||||
|
||||
"github.com/opencontainers/go-digest"
|
||||
"github.com/regclient/regclient/types"
|
||||
"github.com/regclient/regclient/types/blob"
|
||||
|
@ -9,6 +9,10 @@ import (
|
||||
"path/filepath"
|
||||
"strings"
|
||||
|
||||
// crypto libraries included for go-digest
|
||||
_ "crypto/sha256"
|
||||
_ "crypto/sha512"
|
||||
|
||||
"github.com/opencontainers/go-digest"
|
||||
"github.com/regclient/regclient/pkg/archive"
|
||||
"github.com/regclient/regclient/types"
|
||||
|
@ -4,6 +4,10 @@ import (
|
||||
"io"
|
||||
"os"
|
||||
|
||||
// crypto libraries included for go-digest
|
||||
_ "crypto/sha256"
|
||||
_ "crypto/sha512"
|
||||
|
||||
"github.com/opencontainers/go-digest"
|
||||
"github.com/regclient/regclient/pkg/template"
|
||||
"github.com/regclient/regclient/types"
|
||||
|
@ -5,6 +5,10 @@ import (
|
||||
"io"
|
||||
"os"
|
||||
|
||||
// crypto libraries included for go-digest
|
||||
_ "crypto/sha256"
|
||||
_ "crypto/sha512"
|
||||
|
||||
"github.com/opencontainers/go-digest"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
@ -15,6 +15,10 @@ import (
|
||||
"syscall"
|
||||
"time"
|
||||
|
||||
// crypto libraries included for go-digest
|
||||
_ "crypto/sha256"
|
||||
_ "crypto/sha512"
|
||||
|
||||
"github.com/opencontainers/go-digest"
|
||||
"github.com/regclient/regclient"
|
||||
"github.com/regclient/regclient/config"
|
||||
|
@ -19,6 +19,10 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
// crypto libraries included for go-digest
|
||||
_ "crypto/sha256"
|
||||
_ "crypto/sha512"
|
||||
|
||||
"github.com/opencontainers/go-digest"
|
||||
"github.com/regclient/regclient/config"
|
||||
"github.com/regclient/regclient/internal/auth"
|
||||
|
@ -10,6 +10,10 @@ import (
|
||||
"regexp"
|
||||
"testing"
|
||||
|
||||
// crypto libraries included for go-digest
|
||||
_ "crypto/sha256"
|
||||
_ "crypto/sha512"
|
||||
|
||||
"github.com/opencontainers/go-digest"
|
||||
)
|
||||
|
||||
|
@ -10,9 +10,6 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
// crypto libraries included for go-digest
|
||||
_ "crypto/sha256"
|
||||
_ "crypto/sha512"
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
|
@ -9,6 +9,10 @@ import (
|
||||
"io/fs"
|
||||
"path"
|
||||
|
||||
// crypto libraries included for go-digest
|
||||
_ "crypto/sha256"
|
||||
_ "crypto/sha512"
|
||||
|
||||
"github.com/opencontainers/go-digest"
|
||||
"github.com/regclient/regclient/internal/rwfs"
|
||||
"github.com/regclient/regclient/types"
|
||||
|
@ -8,6 +8,10 @@ import (
|
||||
"io/fs"
|
||||
"path"
|
||||
|
||||
// crypto libraries included for go-digest
|
||||
_ "crypto/sha256"
|
||||
_ "crypto/sha512"
|
||||
|
||||
"github.com/opencontainers/go-digest"
|
||||
"github.com/regclient/regclient/internal/rwfs"
|
||||
"github.com/regclient/regclient/internal/wraperr"
|
||||
|
@ -9,6 +9,10 @@ import (
|
||||
"net/http"
|
||||
"net/url"
|
||||
|
||||
// crypto libraries included for go-digest
|
||||
_ "crypto/sha256"
|
||||
_ "crypto/sha512"
|
||||
|
||||
"github.com/opencontainers/go-digest"
|
||||
"github.com/regclient/regclient/internal/reghttp"
|
||||
"github.com/regclient/regclient/types"
|
||||
|
@ -12,6 +12,10 @@ import (
|
||||
"strconv"
|
||||
"time"
|
||||
|
||||
// crypto libraries included for go-digest
|
||||
_ "crypto/sha256"
|
||||
_ "crypto/sha512"
|
||||
|
||||
"github.com/opencontainers/go-digest"
|
||||
"github.com/regclient/regclient/internal/reghttp"
|
||||
"github.com/regclient/regclient/scheme"
|
||||
|
@ -3,6 +3,10 @@ package blob
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
// crypto libraries included for go-digest
|
||||
_ "crypto/sha256"
|
||||
_ "crypto/sha512"
|
||||
|
||||
"github.com/opencontainers/go-digest"
|
||||
"github.com/regclient/regclient/types"
|
||||
"github.com/regclient/regclient/types/ref"
|
||||
|
@ -4,6 +4,10 @@ import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
|
||||
// crypto libraries included for go-digest
|
||||
_ "crypto/sha256"
|
||||
_ "crypto/sha512"
|
||||
|
||||
"github.com/opencontainers/go-digest"
|
||||
"github.com/regclient/regclient/types"
|
||||
v1 "github.com/regclient/regclient/types/oci/v1"
|
||||
|
@ -6,6 +6,10 @@ import (
|
||||
"io/ioutil"
|
||||
"strconv"
|
||||
|
||||
// crypto libraries included for go-digest
|
||||
_ "crypto/sha256"
|
||||
_ "crypto/sha512"
|
||||
|
||||
"github.com/opencontainers/go-digest"
|
||||
)
|
||||
|
||||
|
@ -3,6 +3,9 @@ package schema1
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
// crypto libraries included for go-digest
|
||||
_ "crypto/sha256"
|
||||
_ "crypto/sha512"
|
||||
|
||||
"github.com/docker/libtrust"
|
||||
"github.com/opencontainers/go-digest"
|
||||
|
@ -5,6 +5,10 @@ import (
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
// crypto libraries included for go-digest
|
||||
_ "crypto/sha256"
|
||||
_ "crypto/sha512"
|
||||
|
||||
digest "github.com/opencontainers/go-digest"
|
||||
"github.com/regclient/regclient/types"
|
||||
"github.com/regclient/regclient/types/ref"
|
||||
|
@ -5,6 +5,10 @@ import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
|
||||
// crypto libraries included for go-digest
|
||||
_ "crypto/sha256"
|
||||
_ "crypto/sha512"
|
||||
|
||||
digest "github.com/opencontainers/go-digest"
|
||||
"github.com/regclient/regclient/internal/wraperr"
|
||||
"github.com/regclient/regclient/types"
|
||||
|
@ -6,6 +6,10 @@ import (
|
||||
"fmt"
|
||||
"text/tabwriter"
|
||||
|
||||
// crypto libraries included for go-digest
|
||||
_ "crypto/sha256"
|
||||
_ "crypto/sha512"
|
||||
|
||||
digest "github.com/opencontainers/go-digest"
|
||||
"github.com/regclient/regclient/internal/units"
|
||||
"github.com/regclient/regclient/internal/wraperr"
|
||||
|
@ -10,6 +10,10 @@ import (
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
// crypto libraries included for go-digest
|
||||
_ "crypto/sha256"
|
||||
_ "crypto/sha512"
|
||||
|
||||
digest "github.com/opencontainers/go-digest"
|
||||
"github.com/regclient/regclient/internal/wraperr"
|
||||
"github.com/regclient/regclient/types"
|
||||
|
@ -6,6 +6,10 @@ import (
|
||||
"fmt"
|
||||
"text/tabwriter"
|
||||
|
||||
// crypto libraries included for go-digest
|
||||
_ "crypto/sha256"
|
||||
_ "crypto/sha512"
|
||||
|
||||
digest "github.com/opencontainers/go-digest"
|
||||
"github.com/regclient/regclient/internal/units"
|
||||
"github.com/regclient/regclient/internal/wraperr"
|
||||
|
@ -2,6 +2,9 @@ package v1
|
||||
|
||||
import (
|
||||
"time"
|
||||
// crypto libraries included for go-digest
|
||||
_ "crypto/sha256"
|
||||
_ "crypto/sha512"
|
||||
|
||||
digest "github.com/opencontainers/go-digest"
|
||||
)
|
||||
|
Reference in New Issue
Block a user