mirror of
https://github.com/regclient/regclient.git
synced 2025-08-01 07:26:51 +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"
|
"io"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
|
// crypto libraries included for go-digest
|
||||||
|
_ "crypto/sha256"
|
||||||
|
_ "crypto/sha512"
|
||||||
|
|
||||||
"github.com/opencontainers/go-digest"
|
"github.com/opencontainers/go-digest"
|
||||||
"github.com/regclient/regclient/types"
|
"github.com/regclient/regclient/types"
|
||||||
"github.com/regclient/regclient/types/blob"
|
"github.com/regclient/regclient/types/blob"
|
||||||
|
@ -9,6 +9,10 @@ import (
|
|||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
|
// crypto libraries included for go-digest
|
||||||
|
_ "crypto/sha256"
|
||||||
|
_ "crypto/sha512"
|
||||||
|
|
||||||
"github.com/opencontainers/go-digest"
|
"github.com/opencontainers/go-digest"
|
||||||
"github.com/regclient/regclient/pkg/archive"
|
"github.com/regclient/regclient/pkg/archive"
|
||||||
"github.com/regclient/regclient/types"
|
"github.com/regclient/regclient/types"
|
||||||
|
@ -4,6 +4,10 @@ import (
|
|||||||
"io"
|
"io"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
|
// crypto libraries included for go-digest
|
||||||
|
_ "crypto/sha256"
|
||||||
|
_ "crypto/sha512"
|
||||||
|
|
||||||
"github.com/opencontainers/go-digest"
|
"github.com/opencontainers/go-digest"
|
||||||
"github.com/regclient/regclient/pkg/template"
|
"github.com/regclient/regclient/pkg/template"
|
||||||
"github.com/regclient/regclient/types"
|
"github.com/regclient/regclient/types"
|
||||||
|
@ -5,6 +5,10 @@ import (
|
|||||||
"io"
|
"io"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
|
// crypto libraries included for go-digest
|
||||||
|
_ "crypto/sha256"
|
||||||
|
_ "crypto/sha512"
|
||||||
|
|
||||||
"github.com/opencontainers/go-digest"
|
"github.com/opencontainers/go-digest"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
@ -15,6 +15,10 @@ import (
|
|||||||
"syscall"
|
"syscall"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
// crypto libraries included for go-digest
|
||||||
|
_ "crypto/sha256"
|
||||||
|
_ "crypto/sha512"
|
||||||
|
|
||||||
"github.com/opencontainers/go-digest"
|
"github.com/opencontainers/go-digest"
|
||||||
"github.com/regclient/regclient"
|
"github.com/regclient/regclient"
|
||||||
"github.com/regclient/regclient/config"
|
"github.com/regclient/regclient/config"
|
||||||
|
@ -19,6 +19,10 @@ import (
|
|||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
// crypto libraries included for go-digest
|
||||||
|
_ "crypto/sha256"
|
||||||
|
_ "crypto/sha512"
|
||||||
|
|
||||||
"github.com/opencontainers/go-digest"
|
"github.com/opencontainers/go-digest"
|
||||||
"github.com/regclient/regclient/config"
|
"github.com/regclient/regclient/config"
|
||||||
"github.com/regclient/regclient/internal/auth"
|
"github.com/regclient/regclient/internal/auth"
|
||||||
|
@ -10,6 +10,10 @@ import (
|
|||||||
"regexp"
|
"regexp"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
|
// crypto libraries included for go-digest
|
||||||
|
_ "crypto/sha256"
|
||||||
|
_ "crypto/sha512"
|
||||||
|
|
||||||
"github.com/opencontainers/go-digest"
|
"github.com/opencontainers/go-digest"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -10,9 +10,6 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
// crypto libraries included for go-digest
|
|
||||||
_ "crypto/sha256"
|
|
||||||
_ "crypto/sha512"
|
|
||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
|
@ -9,6 +9,10 @@ import (
|
|||||||
"io/fs"
|
"io/fs"
|
||||||
"path"
|
"path"
|
||||||
|
|
||||||
|
// crypto libraries included for go-digest
|
||||||
|
_ "crypto/sha256"
|
||||||
|
_ "crypto/sha512"
|
||||||
|
|
||||||
"github.com/opencontainers/go-digest"
|
"github.com/opencontainers/go-digest"
|
||||||
"github.com/regclient/regclient/internal/rwfs"
|
"github.com/regclient/regclient/internal/rwfs"
|
||||||
"github.com/regclient/regclient/types"
|
"github.com/regclient/regclient/types"
|
||||||
|
@ -8,6 +8,10 @@ import (
|
|||||||
"io/fs"
|
"io/fs"
|
||||||
"path"
|
"path"
|
||||||
|
|
||||||
|
// crypto libraries included for go-digest
|
||||||
|
_ "crypto/sha256"
|
||||||
|
_ "crypto/sha512"
|
||||||
|
|
||||||
"github.com/opencontainers/go-digest"
|
"github.com/opencontainers/go-digest"
|
||||||
"github.com/regclient/regclient/internal/rwfs"
|
"github.com/regclient/regclient/internal/rwfs"
|
||||||
"github.com/regclient/regclient/internal/wraperr"
|
"github.com/regclient/regclient/internal/wraperr"
|
||||||
|
@ -9,6 +9,10 @@ import (
|
|||||||
"net/http"
|
"net/http"
|
||||||
"net/url"
|
"net/url"
|
||||||
|
|
||||||
|
// crypto libraries included for go-digest
|
||||||
|
_ "crypto/sha256"
|
||||||
|
_ "crypto/sha512"
|
||||||
|
|
||||||
"github.com/opencontainers/go-digest"
|
"github.com/opencontainers/go-digest"
|
||||||
"github.com/regclient/regclient/internal/reghttp"
|
"github.com/regclient/regclient/internal/reghttp"
|
||||||
"github.com/regclient/regclient/types"
|
"github.com/regclient/regclient/types"
|
||||||
|
@ -12,6 +12,10 @@ import (
|
|||||||
"strconv"
|
"strconv"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
// crypto libraries included for go-digest
|
||||||
|
_ "crypto/sha256"
|
||||||
|
_ "crypto/sha512"
|
||||||
|
|
||||||
"github.com/opencontainers/go-digest"
|
"github.com/opencontainers/go-digest"
|
||||||
"github.com/regclient/regclient/internal/reghttp"
|
"github.com/regclient/regclient/internal/reghttp"
|
||||||
"github.com/regclient/regclient/scheme"
|
"github.com/regclient/regclient/scheme"
|
||||||
|
@ -3,6 +3,10 @@ package blob
|
|||||||
import (
|
import (
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
|
// crypto libraries included for go-digest
|
||||||
|
_ "crypto/sha256"
|
||||||
|
_ "crypto/sha512"
|
||||||
|
|
||||||
"github.com/opencontainers/go-digest"
|
"github.com/opencontainers/go-digest"
|
||||||
"github.com/regclient/regclient/types"
|
"github.com/regclient/regclient/types"
|
||||||
"github.com/regclient/regclient/types/ref"
|
"github.com/regclient/regclient/types/ref"
|
||||||
|
@ -4,6 +4,10 @@ import (
|
|||||||
"encoding/json"
|
"encoding/json"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
|
// crypto libraries included for go-digest
|
||||||
|
_ "crypto/sha256"
|
||||||
|
_ "crypto/sha512"
|
||||||
|
|
||||||
"github.com/opencontainers/go-digest"
|
"github.com/opencontainers/go-digest"
|
||||||
"github.com/regclient/regclient/types"
|
"github.com/regclient/regclient/types"
|
||||||
v1 "github.com/regclient/regclient/types/oci/v1"
|
v1 "github.com/regclient/regclient/types/oci/v1"
|
||||||
|
@ -6,6 +6,10 @@ import (
|
|||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
|
// crypto libraries included for go-digest
|
||||||
|
_ "crypto/sha256"
|
||||||
|
_ "crypto/sha512"
|
||||||
|
|
||||||
"github.com/opencontainers/go-digest"
|
"github.com/opencontainers/go-digest"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -3,6 +3,9 @@ package schema1
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
|
// crypto libraries included for go-digest
|
||||||
|
_ "crypto/sha256"
|
||||||
|
_ "crypto/sha512"
|
||||||
|
|
||||||
"github.com/docker/libtrust"
|
"github.com/docker/libtrust"
|
||||||
"github.com/opencontainers/go-digest"
|
"github.com/opencontainers/go-digest"
|
||||||
|
@ -5,6 +5,10 @@ import (
|
|||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
|
// crypto libraries included for go-digest
|
||||||
|
_ "crypto/sha256"
|
||||||
|
_ "crypto/sha512"
|
||||||
|
|
||||||
digest "github.com/opencontainers/go-digest"
|
digest "github.com/opencontainers/go-digest"
|
||||||
"github.com/regclient/regclient/types"
|
"github.com/regclient/regclient/types"
|
||||||
"github.com/regclient/regclient/types/ref"
|
"github.com/regclient/regclient/types/ref"
|
||||||
|
@ -5,6 +5,10 @@ import (
|
|||||||
"encoding/json"
|
"encoding/json"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
|
// crypto libraries included for go-digest
|
||||||
|
_ "crypto/sha256"
|
||||||
|
_ "crypto/sha512"
|
||||||
|
|
||||||
digest "github.com/opencontainers/go-digest"
|
digest "github.com/opencontainers/go-digest"
|
||||||
"github.com/regclient/regclient/internal/wraperr"
|
"github.com/regclient/regclient/internal/wraperr"
|
||||||
"github.com/regclient/regclient/types"
|
"github.com/regclient/regclient/types"
|
||||||
|
@ -6,6 +6,10 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"text/tabwriter"
|
"text/tabwriter"
|
||||||
|
|
||||||
|
// crypto libraries included for go-digest
|
||||||
|
_ "crypto/sha256"
|
||||||
|
_ "crypto/sha512"
|
||||||
|
|
||||||
digest "github.com/opencontainers/go-digest"
|
digest "github.com/opencontainers/go-digest"
|
||||||
"github.com/regclient/regclient/internal/units"
|
"github.com/regclient/regclient/internal/units"
|
||||||
"github.com/regclient/regclient/internal/wraperr"
|
"github.com/regclient/regclient/internal/wraperr"
|
||||||
|
@ -10,6 +10,10 @@ import (
|
|||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
|
// crypto libraries included for go-digest
|
||||||
|
_ "crypto/sha256"
|
||||||
|
_ "crypto/sha512"
|
||||||
|
|
||||||
digest "github.com/opencontainers/go-digest"
|
digest "github.com/opencontainers/go-digest"
|
||||||
"github.com/regclient/regclient/internal/wraperr"
|
"github.com/regclient/regclient/internal/wraperr"
|
||||||
"github.com/regclient/regclient/types"
|
"github.com/regclient/regclient/types"
|
||||||
|
@ -6,6 +6,10 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"text/tabwriter"
|
"text/tabwriter"
|
||||||
|
|
||||||
|
// crypto libraries included for go-digest
|
||||||
|
_ "crypto/sha256"
|
||||||
|
_ "crypto/sha512"
|
||||||
|
|
||||||
digest "github.com/opencontainers/go-digest"
|
digest "github.com/opencontainers/go-digest"
|
||||||
"github.com/regclient/regclient/internal/units"
|
"github.com/regclient/regclient/internal/units"
|
||||||
"github.com/regclient/regclient/internal/wraperr"
|
"github.com/regclient/regclient/internal/wraperr"
|
||||||
|
@ -2,6 +2,9 @@ package v1
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"time"
|
"time"
|
||||||
|
// crypto libraries included for go-digest
|
||||||
|
_ "crypto/sha256"
|
||||||
|
_ "crypto/sha512"
|
||||||
|
|
||||||
digest "github.com/opencontainers/go-digest"
|
digest "github.com/opencontainers/go-digest"
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user