DFSG NEW Queue

DFSG, Licensing & New Packages Team

rust-upki 1.0.4+ds-1

Package Information

DescriptionPlatform-independent browser-grade certificate infrastructure - Rust source code

Source code for Debianized Rust crate "upki"

MaintainerDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Changed ByAlexander Kjäll <alexander.kjall@gmail.com>
Distributionunstable
Architectureany
VCSgit: https://salsa.debian.org/rust-team/debcargo-conf.git [src/upki] (browse)
Trackerhttps://tracker.debian.org/pkg/rust-upki
Uploaded4 hours ago

New Package Report

.changes◂
Architectureamd64 source
Distributionunstable
Sourcerust-upki
Version1.0.4+ds-1
Changed-ByAlexander Kjäll <alexander.kjall@gmail.com>
Changelog◂
rust-upki (1.0.4+ds-1) unstable; urgency=medium
 .
   * Package upki 1.0.4 from crates.io using debcargo 2.8.4
.dsc◂
Sectionrust
Priorityoptional
Componentmain
Package-Listlibrust-upki-dev deb rust optional arch=any
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: upki
Upstream-Contact: upki contributors
Source: https://github.com/rustls/upki
Files-Excluded:
 ffi-example/**

Files: *
Copyright: upki contributors
License: Apache-2.0 or MIT

Files: debian/*
Copyright:
 2026 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
 2026 Alexander Kjäll <alexander.kjall@gmail.com>
License: Apache-2.0 or MIT

License: Apache-2.0
 Debian systems provide the Apache 2.0 license in
 /usr/share/common-licenses/Apache-2.0

License: MIT
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
 in the Software without restriction, including without limitation the rights
 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 copies of the Software, and to permit persons to whom the Software is
 furnished to do so, subject to the following conditions:
 .
 The above copyright notice and this permission notice shall be included in all
 copies or substantial portions of the Software.
 .
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 SOFTWARE.

DFSG Assistant LLM REVIEW 1 blocker, 0 important, 1 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 3 hours ago.

Report◂

DFSG NEW review for rust-upki version 1.0.4+ds-1

Summary

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

Licensing

Every file in the tree is under a free licence (Apache-2.0 OR MIT for the project, and Apache-2.0 OR ISC OR MIT-0 for the vendored SHA-256 implementation), so there is no DFSG problem. debian/copyright is not accurate, however: its catch-all stanza assigns src/sha256.rs to "upki contributors" under "Apache-2.0 or MIT", while that file is third-party code credited to Joe Birr-Pixton under Apache-2.0 OR ISC OR MIT-0; the holder is unnamed and two of the three licence options are omitted, with no ISC or MIT-0 texts. The README's LICENSE-APACHE and LICENSE-MIT files are absent from the tree, but the MIT text is reproduced and Apache-2.0 is referenced in debian/copyright, so the package remains self-contained.

Packaging

debcargo-generated packaging is consistent and current: debhelper 13 via debhelper-compat, dh-sequence-cargo buildsystem, ${misc:Depends}, Multi-Arch: same, Breaks on old rustc, Standards-Version 4.7.4 (matches Policy 4.7.4.1), DEP-14 Vcs fields, a 3.0 (quilt) source with one documented relax-deps patch, sane changelog, and autopkgtests with their dependencies. Build-Depends-Arch covers the default-feature build; the optional feature dependencies are correctly in the binary package's Depends, and the autopkgtest Depends carry the dev-dependencies. Every dependency name resolves in the archive's lists or NEW.

Issues

blocker licensing 1. debian/copyright gives src/sha256.rs the wrong licence (Apache-2.0 or MIT; actually Apache-2.0 OR ISC OR MIT-0) ◂
  • Files: debian/copyright (Files: * stanza), src/sha256.rs:1-2
  • Basis: checked, in the package or with a reference tool
  • Evidence: src/sha256.rs:1-2: // Written for Graviola by Joe Birr-Pixton, 2024. / // SPDX-License-Identifier: Apache-2.0 OR ISC OR MIT-0; debian/copyright, Files: *: License: Apache-2.0 or MIT.
  • Problem: The catch-all stanza's licence short names do not match the file: MIT is not one of the file's options, and ISC and MIT-0 are omitted. debian/copyright therefore inaccurately describes the licensing of a file shipped in librust-upki-dev's registry source and in the source package. The licences are free, but the description is wrong and the ISC/MIT-0 texts, which are not in /usr/share/common-licenses, are absent.
  • Fix: Add a dedicated stanza Files: src/sha256.rs with Copyright: 2024 Joe Birr-Pixton and License: Apache-2.0 or ISC or MIT-0, and add standalone License paragraphs with the full ISC and MIT-0 texts (or state explicitly, with a Comment, that Debian relies on the Apache-2.0 option).
minor licensing 2. debian/copyright does not name Joe Birr-Pixton as copyright holder of src/sha256.rs ◂
  • Files: debian/copyright (Files: * stanza), src/sha256.rs:1
  • Basis: checked, in the package or with a reference tool
  • Evidence: src/sha256.rs:1: // Written for Graviola by Joe Birr-Pixton, 2024.; the Files: * stanza names only upki contributors.
  • Problem: The holder of the Graviola SHA-256 code is not named in debian/copyright. Policy 2.3 does not require it here: librust-upki-dev installs the file unmodified as plain text under /usr/share/cargo/registry/upki-1.0.4/src/sha256.rs, notice included, so the file is not compiled into the binary package and its notice need not be copied; the DFSG team nevertheless expects a complete copyright file.
  • Fix: Name 2024 Joe Birr-Pixton as the Copyright holder in a dedicated stanza for src/sha256.rs.
Verified ◂
  • Read all 14 upstream files: Cargo.toml, Cargo.toml.orig, Cargo.lock, README.md, upki.h, .cargo_vcs_info.json, src/{lib,data,fetch,ffi,sha256}.rs, src/revocation/{mod,index}.rs and tests/codegen.rs.
  • Only src/sha256.rs carries a copyright/licence notice; all other files have none and fall under Cargo.toml's license = "Apache-2.0 OR MIT".
  • The pre-scan listed no specific files and reported every holder named; its author check missed the Graviola attribution because src/sha256.rs phrases it as Written for Graviola by Joe Birr-Pixton, which is reported above.
  • upki.h is generated from src/ffi.rs with cbindgen by tests/codegen.rs; its generator input is present, so it is not a generated file without source.
  • README.md refers to LICENSE-APACHE and LICENSE-MIT, but neither file is present; debian/copyright nevertheless contains the full MIT text and points to /usr/share/common-licenses/Apache-2.0, so the licensing terms ship with the package.
  • Read every file under debian/ except cargo-checksum.json; the only patch (relax-deps.patch) lowers base64 0.23 to 0.22 and similar-asserts 2 to 1, and drops reqwest's h2 feature, matching the Debian versions used.
  • debian/copyright is DEP-5 with the exact current Format URI, one Files: * stanza, debian/* stanza and standalone Apache-2.0 and MIT paragraphs; no Files-Excluded file is present in the tree.
  • Confirmed via apt-cache that the Build-Depends-Arch and binary Depends names exist (dh-cargo 34, librust-base64-0.22, librust-clubcard-crlite-0.6, librust-rustls-webpki-0.103, librust-jiff-1, librust-reqwest-0.13, librust-cbindgen-0.29, librust-similar-asserts-1, librust-clubcard-0.3, librust-directories-6, librust-toml-1).
  • dh-cargo's test step runs cargo build, not cargo test (sub test in Buildsystem/cargo.pm), so the absent dev-dependencies in Build-Depends-Arch are not needed for the build; they are in debian/tests/control instead.
  • Standards-Version 4.7.4 is current against Policy 4.7.4.1; debhelper-compat 13 is supported and not discouraged; ${misc:Depends} is present as required below compat 14.
  • uscan found the packaged version as the newest upstream release (upstream 1.0.4, packaged 1.0.4+ds).
  • Every pointer of debian/copyright to /usr/share/common-licenses names a file that is there (Apache-2.0).
Not confirmed ◂
  • Whether the crates.io artefact downloaded by uscan contained LICENSE-APACHE and LICENSE-MIT that the Repack step would have dropped; the downloaded file is not available, and debian/copyright's Files-Excluded names only ffi-example/**, so it cannot be determined from the package whether their absence is upstream's or the repack's.
Proposed changes ◂

None.

Uploader's response to the LLM review

Waiting for the uploader's response until , because the review found serious issues.

Are you a maintainer or uploader of this package? Log in with Salsa to comment on the review.

Back to Dashboard | View all reviews for this package