LicenseGuard

Is github.com/opencontainers/go-digest safe for commercial use?

Go module package · License: Apache-2.0

github.com/opencontainers/go-digest is licensed under Apache-2.0, which imposes no source-disclosure obligation in any of the shipping models below. Attribution still applies.

Can I use github.com/opencontainers/go-digest in SaaS, a distributed app, or internally?

How you ship itResultWhy
Hosted SaaS No obligation Apache-2.0 section 4 requires retaining copyright notices, a copy of the license, and any NOTICE file. Section 3 grants a patent license from contributors. There is no source-disclosure obligation.
Distributed binary / app No obligation Apache-2.0 section 4 requires retaining copyright notices, a copy of the license, and any NOTICE file. Section 3 grants a patent license from contributors. There is no source-disclosure obligation.
Delivered to customer No obligation Apache-2.0 section 4 requires retaining copyright notices, a copy of the license, and any NOTICE file. Section 3 grants a patent license from contributors. There is no source-disclosure obligation.
Internal use only No obligation Apache-2.0 section 4 requires retaining copyright notices, a copy of the license, and any NOTICE file. Section 3 grants a patent license from contributors. There is no source-disclosure obligation.
Published library No obligation Apache-2.0 section 4 requires retaining copyright notices, a copy of the license, and any NOTICE file. Section 3 grants a patent license from contributors. There is no source-disclosure obligation.

What obligations does github.com/opencontainers/go-digest carry?

AttributionNOTICE filePatent grant

If you only use it at build time, the answer changes.

Apache-2.0 appears as a dev dependency, so it is not part of the artifact you ship. Distribution-triggered obligations do not arise. Tools that emit code into your output, such as code generators, are a separate case worth checking individually.

What is Apache-2.0?

Permissive, but with two things MIT lacks: an explicit patent grant from contributors, and a requirement to carry forward any NOTICE file. Companies wary of patent exposure often prefer it over MIT for that reason.

Full Apache-2.0 reference →

Questions this page answers

Is github.com/opencontainers/go-digest safe for commercial use?

github.com/opencontainers/go-digest is licensed under Apache-2.0, which imposes no source-disclosure obligation in any of the shipping models below. Attribution still applies.

Can I use github.com/opencontainers/go-digest (Apache-2.0) in hosted saas?

Apache-2.0 section 4 requires retaining copyright notices, a copy of the license, and any NOTICE file. Section 3 grants a patent license from contributors. There is no source-disclosure obligation.

Can I use github.com/opencontainers/go-digest (Apache-2.0) in distributed binary / app?

Apache-2.0 section 4 requires retaining copyright notices, a copy of the license, and any NOTICE file. Section 3 grants a patent license from contributors. There is no source-disclosure obligation.

Can I use github.com/opencontainers/go-digest (Apache-2.0) in delivered to customer?

Apache-2.0 section 4 requires retaining copyright notices, a copy of the license, and any NOTICE file. Section 3 grants a patent license from contributors. There is no source-disclosure obligation.

Can I use github.com/opencontainers/go-digest (Apache-2.0) in internal use only?

Apache-2.0 section 4 requires retaining copyright notices, a copy of the license, and any NOTICE file. Section 3 grants a patent license from contributors. There is no source-disclosure obligation.

Can I use github.com/opencontainers/go-digest (Apache-2.0) in published library?

Apache-2.0 section 4 requires retaining copyright notices, a copy of the license, and any NOTICE file. Section 3 grants a patent license from contributors. There is no source-disclosure obligation.

Does github.com/opencontainers/go-digest matter if it is only a build-time or dev dependency?

Apache-2.0 appears as a dev dependency, so it is not part of the artifact you ship. Distribution-triggered obligations do not arise. Tools that emit code into your output, such as code generators, are a separate case worth checking individually.

This page covers one package. Your go.sum has many more.

Check your whole manifest →

How was this determined?

The license was read from the repository's own LICENSE file, falling back to deps.dev and then ClearlyDefined — Go has no central license metadata, so a project's LICENSE at its default branch is the most direct answer to what it is licensed under today, then evaluated against each shipping model. Dependencies in this ecosystem are linked statically, which is assumed here. Only the declared license is considered; code copied into a project's own source files is not detected by this method.

License data last reviewed .

LicenseGuard reports information derived from published license texts and dependency manifests. It is not legal advice and using it does not create an attorney-client relationship. Results reflect license metadata as declared; they do not identify every obligation or violation. Consult qualified counsel for decisions that matter.

Listed in the official MCP registry, on Glama and on Smithery. Source on GitHub (Apache-2.0).