DFSG NEW Queue

DFSG, Licensing & New Packages Team

rust-ocloak 0.2.0-1

Package Information

DescriptionOpen RFC 9458 OHTTP Relay

An Oblivious HTTP (OHTTP) relay as described in RFC 9458. It forwards encapsulated requests to permitted gateways over HTTPS and returns their responses. The relay sees the client connection and the selected gateway, but cannot decrypt the encapsulated HTTP messages. Clients need the gateway's OHTTP key configuration to create requests.

An OHTTP client sends a POST to /ohttp/_host_ with the content type message/ohttp-req. If the request names only a host, the relay uses the matching rule's path=, or /.well-known/ohttp-gateway if none is set.

MaintainerDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Changed Bykpcyrd <git@rxv.cc>
Distributionunstable
Architectureany
VCSgit: https://salsa.debian.org/rust-team/debcargo-conf.git [src/ocloak] (browse)
Trackerhttps://tracker.debian.org/pkg/rust-ocloak
Uploaded4 hours ago

New Package Report

.changes◂
Distributionunstable
DateThu, 26 Nov 2026 01:07:56 +0000
Sourcerust-ocloak
Version0.2.0-1
Changed-Bykpcyrd <git@rxv.cc>
Architectureamd64 source
Changelog◂
rust-ocloak (0.2.0-1) unstable; urgency=medium
 .
   * Package ocloak 0.2.0 from crates.io using debcargo 2.8.4
.dsc◂
Componentmain
Package-Listocloak deb net optional arch=any
Sectionnet
Priorityoptional
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: ocloak
Upstream-Contact: kpcyrd <git@rxv.cc>
Source: https://github.com/kpcyrd/ocloak

Files: *
Copyright: 2026 kpcyrd <git@rxv.cc>
License: GPL-3.0-or-later

Files: debian/*
Copyright:
 2026 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
 2026 kpcyrd <git@rxv.cc>
License: GPL-3.0-or-later

License: GPL-3.0-or-later
 Debian systems provide the GPL 3.0 in /usr/share/common-licenses/GPL-3

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

Report◂

DFSG NEW review for rust-ocloak version 0.2.0-1

Summary

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

Licensing

debian/copyright is valid DEP-5 and correctly states upstream as GPL-3.0-or-later held by kpcyrd, referring to /usr/share/common-licenses/GPL-3. But src/server.rs opens with Source code heavily borrows from https://github.com/seanmonstar/warp internals and still contains a verbatim commented-out copy of warp's RemoteAddrService/Service code, while Files: * attributes every upstream file to kpcyrd alone and reproduces no MIT licence text. That file is compiled into /usr/bin/ocloak, so Policy 2.3 requires the third-party copyright notice there. GPL-3 is compatible with MIT, so there is no DFSG problem, only an incomplete and inaccurate copyright file.

Packaging

debcargo-generated packaging is sound: debhelper compat 13 with dh-sequence-cargo, complete Build-Depends/Build-Depends-Arch whose librust-* feature packages all exist in the archive, a properly DEP-3-headered backport patch, the man page generated from contrib/ocloak.1.scd, the sample config in /etc/ocloak/ (registered as a conffile automatically by dh_installdeb) and a hardened systemd unit matching the installed binary, Standards-Version 4.7.4 (current against Policy 4.7.4.1), correct Vcs-* and changelog. No packaging fault found.

Issues

blocker licensing 1. src/server.rs is adapted from warp (Sean McArthur) but debian/copyright names only kpcyrd and includes no MIT notice ◂
  • Files: src/server.rs:1, src/server.rs:22-55, debian/copyright:6-8
  • Basis: inferred from what was read, not seen directly
  • Evidence: /// Source code heavily borrows from https://github.com/seanmonstar/warp internals (src/server.rs:1), followed by verbatim warp code in a /* ... */ block (pub(super) struct RemoteAddrService<S>, impl<S, B> Service<http::Request<B>>). debian/copyright has only Files: * / Copyright: 2026 kpcyrd <git@rxv.cc> / License: GPL-3.0-or-later.
  • Problem: Part of src/server.rs is warp's code (warp is MIT-licensed, © Sean McArthur), and the file is compiled into /usr/bin/ocloak. MIT requires the copyright and permission notice to be kept in copies, and Policy 2.3 requires the copyright information of code shipped in the binary package to be in debian/copyright. The file names kpcyrd alone and reproduces no MIT text, so debian/copyright is inaccurate and incomplete for this file. Minting the GPL-3 combination is fine; the missing notice is not.
  • Fix: Add a Files: src/server.rs stanza naming both holders (kpcyrd and the warp copyright holder, e.g. Sean McArthur <sean@seanmonstar.com>), License: GPL-3.0-or-later and MIT, and a stand-alone License: MIT paragraph with the full MIT text. Ask upstream to carry the MIT notice in src/server.rs itself.
Verified ◂
  • Read the complete debian/ directory: control, rules, changelog, copyright, copyright.debcargo.hint, rules.debcargo.hint, debcargo.toml, ocloak.install, ocloak.manpages, patches/series, patches/rustc-backport.patch, source/format, upstream/metadata; also the .dsc beside the tree.
  • Read all upstream text files: 10 src/*.rs, contrib/ocloak.conf, contrib/ocloak.service, contrib/ocloak.1.scd, contrib/index.html, Cargo.toml, Cargo.toml.orig, Cargo.lock, README.md, LICENSE-GPL-3.0-or-later (head), Dockerfile, Makefile, .cargo/config.toml, .cargo/audit.toml, .cargo_vcs_info.json, .dockerignore, .gitignore and both .github/workflows files.
  • Prescan's author check listed no unnamed holder; the only third-party attribution anywhere in the tree is src/server.rs:1, reported as an issue. Files such as contrib/index.html (trivial text), the CI workflows and Dockerfile are kpcyrd's own and are not installed.
  • LICENSE-GPL-3.0-or-later is the verbatim GPL-3 text; its Copyright (C) 2007 Free Software Foundation is the licence document's own notice, not a separate copyright of the work, and the file is not installed in the binary, so Policy 2.3 does not require it in debian/copyright. The GPL text is referenced via /usr/share/common-licenses/GPL-3, which is acceptable.
  • debian/copyright.debcargo.hint and debian/rules.debcargo.hint are debcargo 2.8.4 overlay templates (debcargo.toml overlay = "."), not the effective files; their FIXME/UNKNOWN-LICENSE text does not govern any shipped file, and debian/copyright and debian/rules are the complete ones.
  • No built programs, bytecode, minified code, archives or PDFs in the tree; Cargo.lock is crate metadata (not compiled), and the only generated file, the man page, is produced at build time from contrib/ocloak.1.scd by the scdoc Build-Depends and installed via debian/ocloak.manpages.
  • /etc/ocloak/ocloak.conf needs no debian/ocloak.conffiles: dh_installdeb does automatic conffiles registration (Automatic conffiles registration: If it is in /etc, it is a conffile, /usr/bin/dh_installdeb:364-367).
  • Build-Depends/Build-Depends-Arch names were checked against the archive: librust-toml 1.2.1, reqwest 0.13.5, warp 0.4.3, domain 0.12.3, hyper-util 0.1.19, moka 0.12.16, clap 4.6.7, tokio-rustls 0.26.6, env-logger 0.11.11 and scdoc 1.11.5 all exist and satisfy the versioned feature-package names; no <!nocheck> dependency is used.
  • Systemd unit, config and man page agree with the installed paths: ExecStart=/usr/bin/ocloak daemon -c /etc/ocloak/ocloak.conf, the default config supplies the required [daemon]/[defaults] plus a working [[allowed]] rule, and ExecReload's SIGHUP is handled in src/signals.rs:27-57.
  • debian/patches/rustc-backport.patch has DEP-3 headers (Origin upstream commit, Forwarded: not-needed) and only replaces nightly-only constructs (trim_prefix, ! as an error type) with stable equivalents; it creates no new upstream files beyond the applied src/ changes.
  • Standards-Version 4.7.4 is current against Policy 4.7.4.1; debhelper compat 13 is supported; the changelog entry (0.2.0-1, unstable, signed by the listed Uploader) and Vcs-Git/Vcs-Browser for debcargo-conf are consistent.
  • uscan found the packaged version as the newest upstream release (upstream 0.2.0, packaged 0.2.0).
  • Every pointer of debian/copyright to /usr/share/common-licenses names a file that is there (GPL-3).
Not confirmed ◂
  • warp's licence text could not be read on the reviewing system: /usr/share/cargo/registry and /usr/share/doc/librust-warp-dev do not exist, so the MIT licence of warp (and Sean McArthur as holder) is from upstream knowledge, not from a file here.
  • The local apt package lists were unusable during the review (E: Write error - write (28: No space left on device)), so the individual librust-* feature binary packages could not be listed; their existence is based on the archive (madison) answer the tool gave for each crate's base package.
Proposed changes ◂

None.

Uploader's response to the LLM review

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

Back to Dashboard | View all reviews for this package