DFSG NEW Queue

DFSG, Licensing & New Packages Team

golang-github-hashicorp-vault 1.23.0+dfsg-1

Package Information

DescriptionGo client library for the HashiCorp Vault HTTP API

This package provides github.com/hashicorp/vault/api, the official Go client for the HTTP API of HashiCorp Vault, a tool for managing secrets and protecting sensitive data.

It covers authentication and token handling, reading and writing secrets (including the KV v1 and v2 engines), lease renewal, and the sys/ endpoints for managing mounts, policies, plugins, seal status and other server administration.

The separate auth method helper modules under api/auth/ are not included.

MaintainerDebian Go Packaging Team <team+pkg-go@tracker.debian.org>
Changed ByLee Garrett <debian@rocketjump.eu>
Sponsorlgarrett@rocketjump.eu
Distributionunstable
Architectureall
VCSgit: https://salsa.debian.org/go-team/packages/golang-github-hashicorp-vault.git (browse)
Trackerhttps://tracker.debian.org/pkg/golang-github-hashicorp-vault
Uploaded2 hours ago

New Package Report

.changes◂
Version1.23.0+dfsg-1
Changed-ByLee Garrett <debian@rocketjump.eu>
Architecturesource all
Distributionunstable
DateWed, 02 Dec 2026 23:51:28 +0100
Sourcegolang-github-hashicorp-vault
Changelog◂
golang-github-hashicorp-vault (1.23.0+dfsg-1) unstable; urgency=medium
 .
   * Initial release.
.dsc◂
Sectiongolang
Priorityoptional
Componentmain
Package-Listgolang-github-hashicorp-vault-api-dev deb golang optional arch=all
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: vault/api
Upstream-Contact: https://github.com/hashicorp/vault/issues
Source: https://github.com/hashicorp/vault/tree/main/api
Comment:
 The upstream tarball is the hashicorp/vault tag api/vX.Y.Z, repacked to
 contain only the MPL-2.0 licensed api/ directory. The rest of the
 repository (the Vault server) is under the non-free Business Source
 License 1.1 and is removed. See debian/README.source.
Files-Excluded: *
Files-Included: api

Files: *
Copyright: 2016-2025 IBM Corp.
License: MPL-2.0
Comment: Upstream's notices read "Copyright IBM Corp. 2016, 2025"; the
 code was previously copyrighted by HashiCorp, Inc.

Files: debian/*
Copyright: 2026 Lee Garrett <debian@rocketjump.eu>
License: MPL-2.0
Comment: Debian packaging is licensed under the same terms as upstream

License: MPL-2.0
 This Source Code Form is subject to the terms of the Mozilla Public
 License, v. 2.0. If a copy of the MPL was not distributed with this
 file, You can obtain one at http://mozilla.org/MPL/2.0/.
Comment:
 On Debian systems, the complete text of the MPL-2.0 license can be found
 in "/usr/share/common-licenses/MPL-2.0".

DFSG Assistant LLM REVIEW 0 blocker, 0 important, 0 minor

This is an LLM based review using a Debian Inference based workflow. It was not written by a member of the DFSG team and has not been checked by one. It is not a decision on the package: it may be wrong, and it may have missed things.

Reviewed 1 hour ago.

Report◂

DFSG NEW review for golang-github-hashicorp-vault version 1.23.0+dfsg-1

Summary

  • Licensing is DFSG-compliant and debian/copyright is accurate: Yes
  • Packaging is of good quality: Yes
  • Issues: 0 blocker, 0 important, 0 minor
  • debian/watch: version 5
  • debian/copyright: machine-readable
  • Scan before the review: 1 found

Licensing

debian/copyright is DEP-5 and accurate: every upstream file in the tree is under MPL-2.0 with Copyright IBM Corp. 2016, 2025 notices, and the MPL-2.0 text/pointer and the debian/* stanza (Lee Garrett, 2026) are present. The BSL wording at debian/copyright:8 describes upstream Vault server code that was removed, not any file shipped here. Patches modify MPL-2.0 files covered by the debian/* stanza, and the repack (Files-Excluded/ Files-Included) leaves only MPL-2.0 api/ code.

Packaging

Packaging follows current pkg-go practice: debhelper compat 14 with dh-sequence-golang, autopkgtest-pkg-go, an unpacked hcl-v1.0.0-compat patch with DEP-3 headers, Build-Depends and the binary package's Depends both matching the imports of the non-auth packages, and all <!nocheck> dependencies used only by _test.go files, so a nocheck build works. Standards-Version 4.7.4 against Policy 4.7.4.1 is current; the api/auth submodules are deliberately excluded and the exclusion is documented. Only cosmetic oddities (trailing commas accepted by dpkg) were found, below reporting threshold.

Issues

None.

Verified ◂
  • Read every file under debian/ (control, rules, changelog, copyright, README.source, gbp.conf, salsa-ci.yml, source/format, upstream/metadata, patches/series, the full patch).
  • All upstream .go files carry // Copyright IBM Corp. 2016, 2025 and // SPDX-License-Identifier: MPL-2.0; a grep for any other SPDX value or any Copyright line not naming IBM Corp. returned nothing across api/.
  • api/LICENSE and the LICENSE files in api/auth/{approle,aws,azure,gcp,kubernetes,ldap} are the MPL-2.0 text with Copyright IBM Corp. 2016, 2025; api/auth/cert and other subdirs without a LICENSE are covered by the parent api/LICENSE and their own MPL-2.0 headers.
  • debian/copyright:8 (...Business Source License 1.1 and is removed...) is a Comment/Source explanation of removed upstream server files, not a licence of anything in the tree; no file under api/ is BSL-licensed, so the prescan wording hit is a false positive.
  • debian/copyright is DEP-5 format 1.0; Files: * and the later Files: debian/* stanza cover every path (including test fixtures and api/auth/*), and the stand-alone License stanza points to the existing /usr/share/common-licenses/MPL-2.0.
  • The Files-Excluded: * + Files-Included: api pair in the copyright header is the uscan/mk-origtargz repack recipe documented in README.source; mk-origtargz's include matching keeps api/ and its contents, consistent with the api/-only source tree and the +dfsg version.
  • Dependency fields match the imports: Build-Depends covers every non-test and test import; api/test-fixtures is installed via DH_GOLANG_INSTALL_EXTRA; api/auth/* is excluded from build and install by DH_GOLANG_EXCLUDES, so its aws-sdk-go/go-uuid imports correctly need no Build-Depends.
  • The three <!nocheck> build dependencies (go-hclog, go-test-deep, stretchr-testify) are imported only from _test.go files, and dh skips dh_auto_test at compat 14 under nocheck, so no <!nocheck> build failure is expected.
  • apt-cache: every package named in Build-Depends/Depends exists in the archive lists, including golang-github-hashicorp-go-secure-stdlib-dev (whose Depends match the parseutil/strutil imports), golang-github-hashicorp-hcl-dev 1.0.0, golang-github-go-jose-go-jose-dev 4.1.9 (>=4.1.1), golang-github-natefinch-atomic-dev, dpkg-build-api (=1) via dpkg-dev, and dh-sequence-golang via dh-golang.
  • The hcl-v1.0.0-compat patch has DEP-3 headers (Description, Author, Forwarded: not-needed, Last-Update), only replaces the fork-only ParseDontErrorOnDuplicateKeys call and skips the two duplicate-attribute rejection tests, matching Debian's hcl 1.0.0.
  • Testsuite: autopkgtest-pkg-go is satisfied by autodep8 (golang-any is in Build-Depends); dh_golang_autopkgtest finds /usr/share/gocode/src/github.com/hashicorp/vault and rebuilds from the installed source.
  • Standards-Version 4.7.4 matches Policy 4.7.4.1's first two components; changelog is a well-formed initial release to unstable dated by a valid weekday.
  • Test fixtures (api/test-fixtures certificates, PEM keys, pkioutput) and api/cliconfig/testdata are ordinary upstream test data, not built binaries or documentation, and are covered by the MPL-2.0 stanza.
  • uscan found the packaged version as the newest upstream release (upstream 1.23.0, packaged 1.23.0+dfsg).
  • Every pointer of debian/copyright to /usr/share/common-licenses names a file that is there (MPL-2.0).
Not confirmed ◂
  • No build or test run was attempted (read-only review); the analysis of the build, the patch application and autopkgtest is static.
  • Archive readers return only top-level names, so the orig/debian tarball member lists were not compared byte-for-byte with the extracted tree; the extracted source tree itself was reviewed in full.
Proposed changes ◂

None.

Uploader's response to the LLM review

The review found no issues, so no response is needed.

Back to Dashboard | View all reviews for this package