rust-twofish-0.7 0.7.1+ds-1
Package Information
| Description | Twofish block cipher - Rust source code Source code for Debianized Rust crate "twofish" |
|---|---|
| Maintainer | Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> |
| Changed By | kpcyrd <git@rxv.cc> |
| Distribution | unstable |
| Architecture | any |
| VCS | git: https://salsa.debian.org/rust-team/debcargo-conf.git [src/twofish-0.7] (browse) |
| Tracker | https://tracker.debian.org/pkg/rust-twofish-0.7 |
| Uploaded | 2 hours ago |
New Package Report
.changes
| Architecture | amd64 source |
|---|---|
| Distribution | unstable |
| Date | Wed, 28 Oct 2026 12:14:13 +0000 |
| Source | rust-twofish-0.7 |
| Version | 0.7.1+ds-1 |
| Changed-By | kpcyrd <git@rxv.cc> |
Changelog
rust-twofish-0.7 (0.7.1+ds-1) unstable; urgency=medium . * Package twofish 0.7.1 from crates.io using debcargo 2.8.4
.dsc
| Package-List | librust-twofish-0.7-dev deb rust optional arch=any |
|---|---|
| Section | rust |
| Priority | optional |
| Component | main |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: twofish Upstream-Contact: RustCrypto Developers Source: https://github.com/RustCrypto/block-ciphers Files-Excluded: benches/** Files: * Copyright: 2016-2023 RustCrypto Developers 2017 Alexander Krotov License: MIT or Apache-2.0 Files: debian/* Copyright: 2023 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> 2023 Alexander Kjäll <alexander.kjall@gmail.com> License: MIT or Apache-2.0 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 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 rust-twofish-0.7 version 0.7.1+ds-1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis 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: nothing found
Licensing
The crate is MIT OR Apache-2.0, as its Cargo.toml, README, LICENSE-MIT and LICENSE-APACHE all state. The only copyright notice in the tree is Copyright (c) 2017 Alexander Krotov in LICENSE-MIT, and debian/copyright names it together with RustCrypto Developers under Files: *; a later debian/* stanza covers the packaging. The MIT text is reproduced in full and Apache-2.0 is referenced to /usr/share/common-licenses/Apache-2.0. No non-free terms, unlicensed files or generated/binary artifacts without source are present.
Packaging
Standard debcargo-generated packaging: 3.0 (quilt), debhelper compat 13 with dh-sequence-cargo, dependencies and Provides/Replaces matching the debcargo-conf convention (same shape as e.g. librust-sha2-0.10-dev), all referenced packages present in the archive, one-patch series relaxing the hex-literal dev-dependency, an autopkgtest that matches the crate's features, and Standards-Version 4.7.4 against Policy 4.7.4.1. No policy violation found.
Issues
None.
Verified
- Read every file in the tree: Cargo.toml, Cargo.toml.orig, CHANGELOG.md, README.md, LICENSE-APACHE, LICENSE-MIT, .cargo_vcs_info.json, src/lib.rs, src/consts.rs, src/tests.rs, tests/mod.rs, and all of debian/; .pc/ and debian/cargo-checksum.json were passed over as instructed.
- Only copyright notice in upstream source:
LICENSE-MIT:1Copyright (c) 2017 Alexander Krotov; debian/copyright maps it toFiles: *with2017 Alexander Krotovand2016-2023 RustCrypto Developers, matching Cargo.tomlauthors = ["RustCrypto Developers"]. - Licence evidence:
Cargo.tomllicense = "MIT OR Apache-2.0", READMELicensed under either of: Apache License 2.0 / MIT, LICENSE-APACHE is the complete Apache-2.0 text, LICENSE-MIT the complete MIT text; a grep for Copyright/(C)/SPDX/Licensed under/GNU/Apache License/Mozilla/public domain/All rights reserved over the tree additionally hit only LICENSE-APACHE generic terms and README, nothing in src/ or tests/. - The
License: MITparagraph in debian/copyright reproduces the LICENSE-MIT permission notice;License: Apache-2.0points at /usr/share/common-licenses/Apache-2.0, which exists on the system. debian/copyrightis DEP-5 with the canonical Format URL, and itsFiles: debian/*stanza covers all packaging files (including debian/copyright.debcargo.hint). The hint file is a debcargo artifact whoseFIXME (overlay)/UNKNOWN-LICENSEplaceholders are resolved in debian/copyright; it is not installed (no debian/*.install or debian/docs).Files-Excluded: benches/**is consistent: no benches/ directory exists in the tree, and debian/debcargo.toml hasexcludes = ["benches/**"], matching the +ds version.- No built, minified or binary artifacts: Cargo.toml is cargo's normalised form but its source Cargo.toml.orig is shipped alongside; src/consts.rs tables and tests are plain source.
- Packaging files read: debian/control, rules, changelog, copyright, debcargo.toml, patches/series, patches/relax-deps.patch, source/format (3.0 quilt), tests/control, upstream/metadata.
- Build dependencies resolve in the archive: librust-cipher-0.4-dev 0.4.4-1 provides librust-cipher-0.4+default-dev and +zeroize-dev, librust-cipher-0.4+dev-dev, and librust-hex-literal-dev 1.1.0-1 provides librust-hex-literal-1+default-dev (checked with apt-cache); dh-cargo 34 provides dh-sequence-cargo and satisfies the test's
dh-cargo (>= 33~). ${misc:Depends}is present in the binary package, as required at debhelper compat 13 (debian/control).- Standards-Version 4.7.4 against the system's debian-policy 4.7.4.1: first two components equal, so current.
Breaks/Replaces: librust-twofish-dev (<< 0.7.2~)match the archive's existing librust-twofish-dev 0.7.1-1 source of the same crate and the normal debcargo semver-suffix transition (compare librust-sha2-0.10-dev's identical Replaces/Provides shape).- debian/patches/relax-deps.patch changes only the hex-literal dev-dependency from 0.3 to 1 in the cargo-generated Cargo.toml; src/tests.rs and tests/mod.rs use only the
hex!macro, and debian/tests/control depends on librust-hex-literal-1+default-dev, so the patch is consistent with the test setup. - debian/changelog: one entry, 0.7.1+ds-1, distribution unstable, urgency medium, signed by the Uploaders entry; debian/watch, checked separately, not reviewed.
- uscan found the packaged version as the newest upstream release (upstream
0.7.1, packaged0.7.1+ds). - Every pointer of
debian/copyrightto /usr/share/common-licenses names a file that is there (Apache-2.0).
Not confirmed
- Whether hex-literal 1.1.0's
hex!produces the same array type as 0.3 for tests/mod.rs was not compiled here; the usage (Some(hex!("..."))compared with&cipher[..]) depends only on the inferred length, and the package is assumed to build and pass its tests.
Proposed changes
None.
Uploader's response to the LLM review
The uploader was emailed about the review 1 hour ago.