mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-02 23:08:07 +08:00
Some checks failed
CodeQL / codeql (push) Has been cancelled
Docker Check / lint (push) Has been cancelled
Docker Check / build (push) Has been cancelled
Gateway Conformance / gateway-conformance (push) Has been cancelled
Gateway Conformance / gateway-conformance-libp2p-experiment (push) Has been cancelled
Go Build / go-build (push) Has been cancelled
Go Check / go-check (push) Has been cancelled
Go Lint / go-lint (push) Has been cancelled
Go Test / unit-tests (push) Has been cancelled
Go Test / cli-tests (push) Has been cancelled
Go Test / example-tests (push) Has been cancelled
Interop / interop-prep (push) Has been cancelled
Sharness / sharness-test (push) Has been cancelled
Spell Check / spellcheck (push) Has been cancelled
Interop / helia-interop (push) Has been cancelled
Interop / ipfs-webui (push) Has been cancelled
* fix http header when compress enabled for get command Closes #2376 * fix(rpc): set Content-Type for ipfs get based on output format - set application/x-tar when outputting tar (default and --archive) - set application/gzip when compression is enabled (--compress) - update go-ipfs-cmds with Tar encoding type and RFC 6713 compliant MIME types (application/gzip instead of application/x-gzip) * test(rpc): add Content-Type header tests for ipfs get * feat(rpc): add Content-Type headers for binary responses set proper Content-Type headers for RPC endpoints that return binary data: - `dag export`: application/vnd.ipld.car - `block get`: application/vnd.ipld.raw - `diag profile`: application/zip - `get`: application/x-tar or application/gzip (already worked, migrated to new API) uses the new OctetStream encoding type and SetContentType() method from go-ipfs-cmds to specify custom MIME types for binary responses. refs: https://github.com/ipfs/kubo/issues/2376 * feat(rpc): add `ipfs name get` command for IPNS record retrieval add dedicated command to retrieve raw signed IPNS records from the routing system. returns protobuf-encoded IPNS record with Content-Type `application/vnd.ipfs.ipns-record`. this provides a more convenient alternative to `ipfs routing get /ipns/<name>` which returns JSON with base64-encoded data. the raw output can be piped directly to `ipfs name inspect`: ipfs name get <name> | ipfs name inspect spec: https://specs.ipfs.tech/ipns/ipns-record/ * feat(rpc): add `ipfs name put` command for IPNS record storage adds `ipfs name put` to complement `ipfs name get`, allowing users to store IPNS records obtained from external sources without needing the private key. useful for backup, restore, and debugging workflows. the command validates records by default (signature, sequence number). use `--force` to bypass validation for testing how routing handles malformed or outdated records. also reorganizes test/cli files: - rename http_rpc_* -> rpc_* to match existing convention - merge name_get_put_test.go into name_test.go - add file header comments documenting test purposes * chore(deps): update go-ipfs-cmds to latest master includes SetContentType() for dynamic Content-Type headers --------- Co-authored-by: Marcin Rataj <lidel@lidel.org>
282 lines
13 KiB
Modula-2
282 lines
13 KiB
Modula-2
module github.com/ipfs/kubo
|
|
|
|
go 1.25
|
|
|
|
require (
|
|
bazil.org/fuse v0.0.0-20200117225306-7b5117fecadc
|
|
contrib.go.opencensus.io/exporter/prometheus v0.4.2
|
|
github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239
|
|
github.com/blang/semver/v4 v4.0.0
|
|
github.com/caddyserver/certmagic v0.23.0
|
|
github.com/cenkalti/backoff/v4 v4.3.0
|
|
github.com/ceramicnetwork/go-dag-jose v0.1.1
|
|
github.com/cheggaaa/pb v1.0.29
|
|
github.com/cockroachdb/pebble/v2 v2.1.4
|
|
github.com/coreos/go-systemd/v22 v22.5.0
|
|
github.com/dustin/go-humanize v1.0.1
|
|
github.com/elgris/jsondiff v0.0.0-20160530203242-765b5c24c302
|
|
github.com/facebookgo/atomicfile v0.0.0-20151019160806-2de1f203e7d5
|
|
github.com/fsnotify/fsnotify v1.9.0
|
|
github.com/google/uuid v1.6.0
|
|
github.com/hashicorp/go-version v1.7.0
|
|
github.com/ipfs-shipyard/nopfs v0.0.14
|
|
github.com/ipfs-shipyard/nopfs/ipfs v0.25.0
|
|
github.com/ipfs/boxo v0.36.0
|
|
github.com/ipfs/go-block-format v0.2.3
|
|
github.com/ipfs/go-cid v0.6.0
|
|
github.com/ipfs/go-cidutil v0.1.0
|
|
github.com/ipfs/go-datastore v0.9.0
|
|
github.com/ipfs/go-detect-race v0.0.1
|
|
github.com/ipfs/go-ds-badger v0.3.4
|
|
github.com/ipfs/go-ds-flatfs v0.6.0
|
|
github.com/ipfs/go-ds-leveldb v0.5.2
|
|
github.com/ipfs/go-ds-measure v0.2.2
|
|
github.com/ipfs/go-ds-pebble v0.5.9
|
|
github.com/ipfs/go-fs-lock v0.1.1
|
|
github.com/ipfs/go-ipfs-cmds v0.15.1-0.20260130221847-44581e1f62e1
|
|
github.com/ipfs/go-ipld-cbor v0.2.1
|
|
github.com/ipfs/go-ipld-format v0.6.3
|
|
github.com/ipfs/go-ipld-git v0.1.1
|
|
github.com/ipfs/go-ipld-legacy v0.2.2
|
|
github.com/ipfs/go-log/v2 v2.9.1
|
|
github.com/ipfs/go-metrics-interface v0.3.0
|
|
github.com/ipfs/go-metrics-prometheus v0.1.0
|
|
github.com/ipfs/go-test v0.2.3
|
|
github.com/ipfs/go-unixfsnode v1.10.2
|
|
github.com/ipld/go-car/v2 v2.16.0
|
|
github.com/ipld/go-codec-dagpb v1.7.0
|
|
github.com/ipld/go-ipld-prime v0.21.0
|
|
github.com/ipshipyard/p2p-forge v0.7.0
|
|
github.com/jbenet/go-temp-err-catcher v0.1.0
|
|
github.com/julienschmidt/httprouter v1.3.0
|
|
github.com/libp2p/go-doh-resolver v0.5.0
|
|
github.com/libp2p/go-libp2p v0.47.0
|
|
github.com/libp2p/go-libp2p-http v0.5.0
|
|
github.com/libp2p/go-libp2p-kad-dht v0.37.1
|
|
github.com/libp2p/go-libp2p-kbucket v0.8.0
|
|
github.com/libp2p/go-libp2p-pubsub v0.15.0
|
|
github.com/libp2p/go-libp2p-pubsub-router v0.6.0
|
|
github.com/libp2p/go-libp2p-record v0.3.1
|
|
github.com/libp2p/go-libp2p-routing-helpers v0.7.5
|
|
github.com/libp2p/go-libp2p-testing v0.12.0
|
|
github.com/libp2p/go-socket-activation v0.1.1
|
|
github.com/miekg/dns v1.1.72
|
|
github.com/multiformats/go-multiaddr v0.16.1
|
|
github.com/multiformats/go-multiaddr-dns v0.4.1
|
|
github.com/multiformats/go-multibase v0.2.0
|
|
github.com/multiformats/go-multicodec v0.10.0
|
|
github.com/multiformats/go-multihash v0.2.3
|
|
github.com/opentracing/opentracing-go v1.2.0
|
|
github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58
|
|
github.com/probe-lab/go-libdht v0.4.0
|
|
github.com/prometheus/client_golang v1.23.2
|
|
github.com/stretchr/testify v1.11.1
|
|
github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d
|
|
github.com/tidwall/gjson v1.18.0
|
|
github.com/tidwall/sjson v1.2.5
|
|
github.com/whyrusleeping/go-sysinfo v0.0.0-20190219211824-4a357d4b90b1
|
|
github.com/whyrusleeping/multiaddr-filter v0.0.0-20160516205228-e903e4adabd7
|
|
go.opencensus.io v0.24.0
|
|
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.63.0
|
|
go.opentelemetry.io/contrib/propagators/autoprop v0.46.1
|
|
go.opentelemetry.io/otel v1.39.0
|
|
go.opentelemetry.io/otel/exporters/prometheus v0.56.0
|
|
go.opentelemetry.io/otel/sdk v1.38.0
|
|
go.opentelemetry.io/otel/sdk/metric v1.38.0
|
|
go.opentelemetry.io/otel/trace v1.39.0
|
|
go.uber.org/dig v1.19.0
|
|
go.uber.org/fx v1.24.0
|
|
go.uber.org/zap v1.27.1
|
|
golang.org/x/crypto v0.47.0
|
|
golang.org/x/exp v0.0.0-20260112195511-716be5621a96
|
|
golang.org/x/mod v0.32.0
|
|
golang.org/x/sync v0.19.0
|
|
golang.org/x/sys v0.40.0
|
|
google.golang.org/protobuf v1.36.11
|
|
)
|
|
|
|
require (
|
|
github.com/AndreasBriese/bbloom v0.0.0-20190825152654-46b345b51c96 // indirect
|
|
github.com/DataDog/zstd v1.5.7 // indirect
|
|
github.com/Jorropo/jsync v1.0.1 // indirect
|
|
github.com/RaduBerinde/axisds v0.1.0 // indirect
|
|
github.com/RaduBerinde/btreemap v0.0.0-20250419174037-3d62b7205d54 // indirect
|
|
github.com/alecthomas/units v0.0.0-20240927000941-0f3dac36c52b // indirect
|
|
github.com/alexbrainman/goissue34681 v0.0.0-20191006012335-3fc7a47baff5 // indirect
|
|
github.com/benbjohnson/clock v1.3.5 // indirect
|
|
github.com/beorn7/perks v1.0.1 // indirect
|
|
github.com/caddyserver/zerossl v0.1.3 // indirect
|
|
github.com/cenkalti/backoff/v5 v5.0.3 // indirect
|
|
github.com/cespare/xxhash v1.1.0 // indirect
|
|
github.com/cespare/xxhash/v2 v2.3.0 // indirect
|
|
github.com/cockroachdb/crlib v0.0.0-20241112164430-1264a2edc35b // indirect
|
|
github.com/cockroachdb/errors v1.11.3 // indirect
|
|
github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b // indirect
|
|
github.com/cockroachdb/redact v1.1.5 // indirect
|
|
github.com/cockroachdb/swiss v0.0.0-20251224182025-b0f6560f979b // indirect
|
|
github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 // indirect
|
|
github.com/crackcomm/go-gitignore v0.0.0-20241020182519-7843d2ba8fdf // indirect
|
|
github.com/cskr/pubsub v1.0.2 // indirect
|
|
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
|
|
github.com/davidlazar/go-crypto v0.0.0-20200604182044-b73af7476f6c // indirect
|
|
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.4.0 // indirect
|
|
github.com/dgraph-io/badger v1.6.2 // indirect
|
|
github.com/dgraph-io/ristretto v0.0.2 // indirect
|
|
github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 // indirect
|
|
github.com/dunglas/httpsfv v1.1.0 // indirect
|
|
github.com/fatih/color v1.15.0 // indirect
|
|
github.com/felixge/httpsnoop v1.0.4 // indirect
|
|
github.com/filecoin-project/go-clock v0.1.0 // indirect
|
|
github.com/flynn/noise v1.1.0 // indirect
|
|
github.com/gabriel-vasile/mimetype v1.4.12 // indirect
|
|
github.com/gammazero/chanqueue v1.1.1 // indirect
|
|
github.com/gammazero/deque v1.2.0 // indirect
|
|
github.com/getsentry/sentry-go v0.27.0 // indirect
|
|
github.com/go-jose/go-jose/v4 v4.1.1 // indirect
|
|
github.com/go-kit/log v0.2.1 // indirect
|
|
github.com/go-logfmt/logfmt v0.6.0 // indirect
|
|
github.com/go-logr/logr v1.4.3 // indirect
|
|
github.com/go-logr/stdr v1.2.2 // indirect
|
|
github.com/gogo/protobuf v1.3.2 // indirect
|
|
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
|
|
github.com/golang/protobuf v1.5.4 // indirect
|
|
github.com/golang/snappy v0.0.5-0.20231225225746-43d5d4cd4e0e // indirect
|
|
github.com/google/gopacket v1.1.19 // indirect
|
|
github.com/gorilla/mux v1.8.1 // indirect
|
|
github.com/gorilla/websocket v1.5.3 // indirect
|
|
github.com/grpc-ecosystem/grpc-gateway/v2 v2.27.2 // indirect
|
|
github.com/guillaumemichel/reservedpool v0.3.0 // indirect
|
|
github.com/hashicorp/golang-lru v1.0.2 // indirect
|
|
github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect
|
|
github.com/huin/goupnp v1.3.0 // indirect
|
|
github.com/ipfs/bbloom v0.0.4 // indirect
|
|
github.com/ipfs/go-bitfield v1.1.0 // indirect
|
|
github.com/ipfs/go-dsqueue v0.1.2 // indirect
|
|
github.com/ipfs/go-ipfs-ds-help v1.1.1 // indirect
|
|
github.com/ipfs/go-ipfs-pq v0.0.4 // indirect
|
|
github.com/ipfs/go-ipfs-redirects-file v0.1.2 // indirect
|
|
github.com/ipfs/go-peertaskqueue v0.8.3 // indirect
|
|
github.com/jackpal/go-nat-pmp v1.0.2 // indirect
|
|
github.com/klauspost/compress v1.18.0 // indirect
|
|
github.com/klauspost/cpuid/v2 v2.3.0 // indirect
|
|
github.com/koron/go-ssdp v0.0.6 // indirect
|
|
github.com/kr/pretty v0.3.1 // indirect
|
|
github.com/kr/text v0.2.0 // indirect
|
|
github.com/libdns/libdns v1.0.0-beta.1 // indirect
|
|
github.com/libp2p/go-buffer-pool v0.1.0 // indirect
|
|
github.com/libp2p/go-cidranger v1.1.0 // indirect
|
|
github.com/libp2p/go-flow-metrics v0.3.0 // indirect
|
|
github.com/libp2p/go-libp2p-asn-util v0.4.1 // indirect
|
|
github.com/libp2p/go-libp2p-gostream v0.6.0 // indirect
|
|
github.com/libp2p/go-libp2p-xor v0.1.0 // indirect
|
|
github.com/libp2p/go-msgio v0.3.0 // indirect
|
|
github.com/libp2p/go-netroute v0.4.0 // indirect
|
|
github.com/libp2p/go-reuseport v0.4.0 // indirect
|
|
github.com/libp2p/go-yamux/v5 v5.0.1 // indirect
|
|
github.com/libp2p/zeroconf/v2 v2.2.0 // indirect
|
|
github.com/marten-seemann/tcp v0.0.0-20210406111302-dfbc87cc63fd // indirect
|
|
github.com/mattn/go-colorable v0.1.13 // indirect
|
|
github.com/mattn/go-isatty v0.0.20 // indirect
|
|
github.com/mattn/go-runewidth v0.0.15 // indirect
|
|
github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b // indirect
|
|
github.com/mholt/acmez/v3 v3.1.2 // indirect
|
|
github.com/mikioh/tcpinfo v0.0.0-20190314235526-30a79bb1804b // indirect
|
|
github.com/mikioh/tcpopt v0.0.0-20190314235656-172688c1accc // indirect
|
|
github.com/minio/minlz v1.0.1-0.20250507153514-87eb42fe8882 // indirect
|
|
github.com/minio/sha256-simd v1.0.1 // indirect
|
|
github.com/mr-tron/base58 v1.2.0 // indirect
|
|
github.com/multiformats/go-base32 v0.1.0 // indirect
|
|
github.com/multiformats/go-base36 v0.2.0 // indirect
|
|
github.com/multiformats/go-multiaddr-fmt v0.1.0 // indirect
|
|
github.com/multiformats/go-multistream v0.6.1 // indirect
|
|
github.com/multiformats/go-varint v0.1.0 // indirect
|
|
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
|
|
github.com/onsi/gomega v1.36.3 // indirect
|
|
github.com/openzipkin/zipkin-go v0.4.3 // indirect
|
|
github.com/petar/GoLLRB v0.0.0-20210522233825-ae3b015fd3e9 // indirect
|
|
github.com/pion/datachannel v1.5.10 // indirect
|
|
github.com/pion/dtls/v2 v2.2.12 // indirect
|
|
github.com/pion/dtls/v3 v3.0.6 // indirect
|
|
github.com/pion/ice/v4 v4.0.10 // indirect
|
|
github.com/pion/interceptor v0.1.40 // indirect
|
|
github.com/pion/logging v0.2.3 // indirect
|
|
github.com/pion/mdns/v2 v2.0.7 // indirect
|
|
github.com/pion/randutil v0.1.0 // indirect
|
|
github.com/pion/rtcp v1.2.15 // indirect
|
|
github.com/pion/rtp v1.8.19 // indirect
|
|
github.com/pion/sctp v1.8.39 // indirect
|
|
github.com/pion/sdp/v3 v3.0.13 // indirect
|
|
github.com/pion/srtp/v3 v3.0.6 // indirect
|
|
github.com/pion/stun v0.6.1 // indirect
|
|
github.com/pion/stun/v3 v3.0.0 // indirect
|
|
github.com/pion/transport/v2 v2.2.10 // indirect
|
|
github.com/pion/transport/v3 v3.0.7 // indirect
|
|
github.com/pion/turn/v4 v4.0.2 // indirect
|
|
github.com/pion/webrtc/v4 v4.1.2 // indirect
|
|
github.com/pkg/errors v0.9.1 // indirect
|
|
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
|
|
github.com/polydawn/refmt v0.89.0 // indirect
|
|
github.com/prometheus/client_model v0.6.2 // indirect
|
|
github.com/prometheus/common v0.66.1 // indirect
|
|
github.com/prometheus/procfs v0.17.0 // indirect
|
|
github.com/prometheus/statsd_exporter v0.27.1 // indirect
|
|
github.com/quic-go/qpack v0.6.0 // indirect
|
|
github.com/quic-go/quic-go v0.59.0 // indirect
|
|
github.com/quic-go/webtransport-go v0.10.0 // indirect
|
|
github.com/rivo/uniseg v0.4.4 // indirect
|
|
github.com/rogpeppe/go-internal v1.14.1 // indirect
|
|
github.com/rs/cors v1.11.1 // indirect
|
|
github.com/slok/go-http-metrics v0.13.0 // indirect
|
|
github.com/spaolacci/murmur3 v1.1.0 // indirect
|
|
github.com/texttheater/golang-levenshtein v1.0.1 // indirect
|
|
github.com/tidwall/match v1.1.1 // indirect
|
|
github.com/tidwall/pretty v1.2.1 // indirect
|
|
github.com/ucarion/urlpath v0.0.0-20200424170820-7ccc79b76bbb // indirect
|
|
github.com/whyrusleeping/base32 v0.0.0-20170828182744-c30ac30633cc // indirect
|
|
github.com/whyrusleeping/cbor v0.0.0-20171005072247-63513f603b11 // indirect
|
|
github.com/whyrusleeping/cbor-gen v0.3.1 // indirect
|
|
github.com/whyrusleeping/chunker v0.0.0-20181014151217-fe64bd25879f // indirect
|
|
github.com/whyrusleeping/go-keyspace v0.0.0-20160322163242-5b898ac5add1 // indirect
|
|
github.com/wlynxg/anet v0.0.5 // indirect
|
|
github.com/zeebo/blake3 v0.2.4 // indirect
|
|
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
|
|
go.opentelemetry.io/contrib/propagators/aws v1.21.1 // indirect
|
|
go.opentelemetry.io/contrib/propagators/b3 v1.21.1 // indirect
|
|
go.opentelemetry.io/contrib/propagators/jaeger v1.21.1 // indirect
|
|
go.opentelemetry.io/contrib/propagators/ot v1.21.1 // indirect
|
|
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.38.0 // indirect
|
|
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.38.0 // indirect
|
|
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.38.0 // indirect
|
|
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.38.0 // indirect
|
|
go.opentelemetry.io/otel/exporters/zipkin v1.38.0 // indirect
|
|
go.opentelemetry.io/otel/metric v1.39.0 // indirect
|
|
go.opentelemetry.io/proto/otlp v1.7.1 // indirect
|
|
go.uber.org/mock v0.5.2 // indirect
|
|
go.uber.org/multierr v1.11.0 // indirect
|
|
go.uber.org/zap/exp v0.3.0 // indirect
|
|
go.yaml.in/yaml/v2 v2.4.3 // indirect
|
|
go4.org v0.0.0-20230225012048-214862532bf5 // indirect
|
|
golang.org/x/net v0.49.0 // indirect
|
|
golang.org/x/oauth2 v0.34.0 // indirect
|
|
golang.org/x/telemetry v0.0.0-20260109210033-bd525da824e2 // indirect
|
|
golang.org/x/term v0.39.0 // indirect
|
|
golang.org/x/text v0.33.0 // indirect
|
|
golang.org/x/time v0.12.0 // indirect
|
|
golang.org/x/tools v0.41.0 // indirect
|
|
golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da // indirect
|
|
gonum.org/v1/gonum v0.17.0 // indirect
|
|
google.golang.org/genproto/googleapis/api v0.0.0-20250825161204-c5933d9347a5 // indirect
|
|
google.golang.org/genproto/googleapis/rpc v0.0.0-20250825161204-c5933d9347a5 // indirect
|
|
google.golang.org/grpc v1.75.0 // indirect
|
|
gopkg.in/yaml.v2 v2.4.0 // indirect
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
lukechampine.com/blake3 v1.4.1 // indirect
|
|
)
|
|
|
|
// Exclude ancient +incompatible versions that confuse Dependabot.
|
|
// These pre-Go-modules versions reference packages that no longer exist.
|
|
exclude (
|
|
github.com/ipfs/go-ipfs-cmds v2.0.1+incompatible
|
|
github.com/libp2p/go-libp2p v6.0.23+incompatible
|
|
)
|