Review: rust-ssh-key-0.6 0.6.7+ds-1
Package Information
| Description | SSH key file format decoders/encoders - Rust source code Source code for Debianized Rust crate "ssh-key" |
|---|---|
| Maintainer | Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> |
| Changed By | kpcyrd <git@rxv.cc> |
| Sponsor | git@rxv.cc |
| Distribution | unstable |
| Architecture | any |
| VCS | git: https://salsa.debian.org/rust-team/debcargo-conf.git [src/ssh-key-0.6] (browse) |
| Tracker | https://tracker.debian.org/pkg/rust-ssh-key-0.6 |
| Uploaded | 4 hours ago |
New Package Report
.changes
| Distribution | unstable |
|---|---|
| Source | rust-ssh-key-0.6 |
| Version | 0.6.7+ds-1 |
| Changed-By | kpcyrd <git@rxv.cc> |
| Architecture | amd64 source |
Changelog
rust-ssh-key-0.6 (0.6.7+ds-1) unstable; urgency=medium . * Package ssh-key 0.6.7 from crates.io using debcargo 2.8.4
.dsc
| Component | main |
|---|---|
| Package-List | librust-ssh-key-0.6-dev deb rust optional arch=any |
| Section | rust |
| Priority | optional |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: ssh-key Upstream-Contact: https://github.com/RustCrypto/SSH/issues Source: https://github.com/RustCrypto/SSH/tree/master/ssh-key Files-Excluded: tests/examples/generate.sh Files: * Copyright: 2021-2024 The RustCrypto Project Developers License: Apache-2.0 or Expat Files: debian/* Copyright: 2025 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> 2025 Nadzeya Hutsko <nadzeya@debian.org> License: Apache-2.0 or Expat License: Apache-2.0 Debian systems provide the Apache 2.0 license in /usr/share/common-licenses/Apache-2.0 License: Expat 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 0 blocker, 1 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 2 hours ago.
Report
DFSG NEW review for rust-ssh-key-0.6 version 0.6.7+ds-1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: No - Packaging is of good quality: No
- Issues: 0 blocker, 1 important, 1 minor
- debian/watch: version 5
- debian/copyright: machine-readable
- Scan before the review: nothing found
Licensing
The upstream crate is dual-licensed Apache-2.0 or MIT (Expat), and debian/copyright reproduces the Expat text, points to /usr/share/common-licenses/Apache-2.0, and names the upstream holder correctly; no non-free terms or untracked third-party code were found. The only gap is the debian/* stanza, which omits kpcyrd even though he authored the current debian/changelog entry and is the Uploader, so debian/copyright is not quite complete.
Packaging
The debcargo-generated packaging is otherwise conventional and sound: compat 13 with dh-sequence-cargo, correct semver-suffix package naming and Replaces/Breaks, all named build and binary dependencies exist in the archive, DEP-3 patches and autopkgtests are present. However relax-sec1.patch is now obsolete because sec1 0.7.3 is in the archive, and keeping it needlessly removes public trait implementations and disables a test.
Issues
important packaging 1. relax-sec1.patch is obsolete now that sec1 0.7.3 is in the archive, but still removes public Hash/Ord impls and disables a test ◂
- Files:
debian/patches/relax-sec1.patch:1-12,debian/patches/relax-sec1.patch:29-101,debian/patches/series:1 - Basis: checked, in the package or with a reference tool
- Evidence: The patch header says: "These traits were added in sec1 0.7.3." and "This patch can be dropped when sec1 >= 0.7.3 is available in the archive." The
apt-cachetool showslibrust-sec1-0.7-devversion0.7.3-1in the archive, whose Provides includelibrust-sec1-0.7+point-dev; upstream's unpatched Cargo.toml requiressec1 = "0.7.3". - Problem: The patch's own removal condition is met: Debian now ships sec1 0.7.3, the version upstream 0.6.7 requires. Keeping the patch makes the packaged crate diverge from upstream: it removes
Hash,OrdandPartialOrdfromEcdsaPublicKey,SkEcdsaSha2NistP256,KeyData,CertificateandPublicKey, and markspublic_keys_are_hashableas#[ignore]. Consumers of librust-ssh-key-0.6-dev therefore get a smaller public API than upstream for no remaining reason. - Fix: Drop relax-sec1.patch from debian/patches/series and remove it, restoring upstream's
sec1 = "0.7.3"dependency and theHash/Ord/PartialOrdderives and test;librust-sec1-0.7+point-dev0.7.3-1 satisfies it.
minor licensing 2. Files: debian/* does not name kpcyrd, author of debian/changelog and the package's Uploader ◂
- Files:
debian/copyright:12-15,debian/changelog:6,debian/control:33-34,debian/copyright.debcargo.hint:26-29 - Basis: checked, in the package or with a reference tool
- Evidence: debian/copyright's debian/* stanza has only
2025 Debian Rust Maintainers ...and2025 Nadzeya Hutsko <nadzeya@debian.org>, while debian/changelog ends-- kpcyrd <git@rxv.cc> Sat, 05 Dec 2026 ...and debian/control hasUploaders: kpcyrd <git@rxv.cc>. The debcargo hint for the same stanza names2026 kpcyrd <git@rxv.cc>, showing the omission is an oversight. - Problem: debian/changelog is shipped in the binary package as changelog.Debian.gz and contains no copyright notice itself, and its 2026 entry is kpcyrd's work; the packaging is declared Apache-2.0 or Expat, both of which require copyright notices to be retained. Policy 2.3 therefore asks for this holder to appear in debian/copyright, and the DFSG team asks for the file to be complete regardless; the practical impact is small because debian/ files take no part in the compiled library.
- Fix: Add kpcyrd to the
Files: debian/*Copyright field, e.g.2026 kpcyrd <git@rxv.cc>alongside the Debian Rust Maintainers (and adjust the years as appropriate).
Verified ◂
- README, LICENSE-APACHE, LICENSE-MIT, Cargo.toml, Cargo.toml.orig, CHANGELOG.md and the full src/ and tests/ trees were examined; the prescan's author check listed no files and reported every holder it found is named, and an independent grep found copyright/licence wording only in LICENSE-MIT, LICENSE-APACHE and debian/.
- Upstream is
Apache-2.0 OR MIT(Cargo.toml, README); LICENSE-MIT is the Expat text withCopyright (c) 2021-2024 The RustCrypto Project Developers, matchingFiles: *; LICENSE-APACHE is the standard Apache-2.0 text; debian/copyright includes the full Expat text and refers to /usr/share/common-licenses/Apache-2.0. - tests/examples/* are ssh-keygen-produced test keys, certificates, signatures and encrypted keys used only by the test suite, with no notices; they fall under
Files: *. tests/examples/generate.sh is genuinely absent, matchingFiles-Excludedand debcargo.toml's excludes, so no excluded file remains in the tree. - All four patches and debian/patches/series, debian/control, rules, changelog, copyright, copyright.debcargo.hint, debcargo.toml, source/format, tests/control and upstream/metadata were read in full; every patch has DEP-3 headers, and the other three address rsa 0.9 (still 0.9.10 in the archive), OpenSSH 10.6 DSA removal, and the read-only registry used by cargo-auto-test.
- Dependencies named in debian/control were checked with apt-cache and exist: librust-sec1-0.7-dev 0.7.3-1, librust-rsa-0.9-dev 0.9.10-1, librust-ed25519-dalek-2-dev 2.2.0+dfsg-1, librust-dsa-0.6-dev 0.6.3-1, librust-p521-0.13-dev 0.13.3-1, librust-hex-literal-0.4-dev 0.4.1-1, librust-rand-chacha-0.3-dev 0.3.1-4, librust-bcrypt-pbkdf-0.10-dev 0.10.0-1, librust-num-bigint-dig-dev 0.8.6-1+b1.
- Standards-Version 4.7.4 is current for the reviewing system's Policy 4.7.4.1 (first two components match); debhelper compat 13 and the explicit ${misc:Depends} are appropriate at that level, and the <!nocheck> build dependencies are consistent with dh-cargo's test step being the only compile step.
- .pc/ and debian/cargo-checksum.json were passed over as instructed.
- uscan found the packaged version as the newest upstream release (upstream
0.6.7, packaged0.6.7+ds). - Every pointer of
debian/copyrightto /usr/share/common-licenses names a file that is there (Apache-2.0).
Not confirmed ◂
- No build or autopkgtest could be run in read-only review; in particular, dropping relax-sec1.patch was not compiled here, although upstream's Cargo.toml requires sec1 0.7.3 and the archive provides 0.7.3-1.
- skip-rsa-test.patch may also be droppable now that librust-rsa-dev 0.10.0-1 provides librust-rsa-0.10-dev, but ssh-key 0.6.7 pins rsa 0.9 and I could not test whether switching to 0.10 works, so the patch is not reported as obsolete.
- LICENSE-APACHE was recognised as the standard Apache-2.0 text but not diffed byte-for-byte against /usr/share/common-licenses/Apache-2.0.
Proposed changes ◂
None.
Uploader's response to the LLM review
The uploader was emailed about the review 2 hours ago.
Are you a maintainer or uploader of this package? Log in with Salsa to comment on the review.
Review Information
rejected — allocated to awm 0 hours ago, started 0 hours ago, completed 0 hours ago.
Final Comment
Maintainer request