ortie 3.0.0+ds-1
Package Information
| Description | CLI to manage OAuth tokens Ortie is a command-line interface to manage OAuth tokens. Features * Account discovery wizard: run bare, it finds the OAuth 2.0 grants reachable for an email address and prints a ready-to-append account configuration * Dynamic client registration: register a public client on the spot, with no provider console, when the provider advertises it * Authorization code grant: sign in through the browser, with a built-in redirection server that captures the callback * Manual flow completion: finish a flow by hand, from the URL your browser was sent to, when the redirection server cannot bind * Token refresh: renew an expired access token from its refresh token, on demand or automatically when reading it * PKCE: enabled with the S256 method by default, following the OAuth 2.1 posture; opt out for servers that reject it * Extra authorization parameters: forward provider-specific knobs verbatim (Google offline access, login hints, resource indicators) * Token storage: read and write tokens through your own shell commands, wiring into any credential manager * Hooks: run a shell command or raise a system notification on token issuance and refresh, split by outcome * JSON output: switch discovery and token commands to machine-readable output for scripts |
|---|---|
| Maintainer | Jonas Smedegaard <dr@jones.dk> |
| Changed By | Jonas Smedegaard <dr@jones.dk> |
| Sponsor | js@debian.org |
| Distribution | experimental |
| Architecture | any |
| VCS | git: https://salsa.debian.org/debian/ortie.git (browse) |
| Closes | #1112034 |
| Tracker | https://tracker.debian.org/pkg/ortie |
| Uploaded | 3 hours ago |
New Package Report
.changes
| Date | Sat, 28 Nov 2026 12:13:29 +0100 |
|---|---|
| Source | ortie |
| Version | 3.0.0+ds-1 |
| Changed-By | Jonas Smedegaard <dr@jones.dk> |
| Architecture | source amd64 |
| Distribution | experimental |
Changelog
ortie (3.0.0+ds-1) experimental; urgency=low
.
* initial release;
closes: bug#1112034.dsc
| Section | utils |
|---|---|
| Priority | optional |
| Component | main |
| Package-List | ortie deb utils optional arch=any |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Ortie Upstream-Contact: https://github.com/pimalaya/ortie/issues Source: https://github.com/pimalaya/ortie . Repackaged, excluding any .git* files. Files-Excluded: .git* Files: * Copyright: 2026 Clément DOUIN <pimalaya.org@posteo.net> License-Grant: This project is licensed under either of: * MIT license <LICENSE-MIT> * Apache License, Version 2.0 <LICENSE-APACHE> at your option. License: Apache-2.0 or Expat Reference: Cargo.toml LICENSE-APACHE LICENSE-MIT README.md Files: debian/* Copyright: 2025-2026 Jonas Smedegaard <dr@jones.dk> License-Grant: This packaging is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. License: GPL-3+ Reference: debian/copyright Files: debian/patches/* Copyright: Clément DOUIN <clement.douin@posteo.net> Jonas Smedegaard <dr@jones.dk> License: Apache-2.0 or Expat Reference: Cargo.toml LICENSE-APACHE LICENSE-MIT README.md Comment: Patches commonly lack explicit copyright and license. For the cases where patches are copyrightable at all, copyright is assumed to be held by the author, and license is assumed to be the same as main upstream license. License: Apache-2.0 Reference: /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. License: GPL-3+ Reference: /usr/share/common-licenses/GPL-3
DFSG Assistant LLM REVIEW 0 blocker, 2 important, 2 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 ortie version 3.0.0+ds-1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: Yes - Packaging is of good quality: No
- Issues: 0 blocker, 2 important, 2 minor
- debian/watch: version 5
- debian/copyright: machine-readable
- Scan before the review: nothing found
Licensing
Upstream is dual-licensed MIT OR Apache-2.0 (Cargo.toml, LICENSE-MIT, LICENSE-APACHE, README license section), both DFSG-free; the packaging is GPL-3+. debian/copyright is DEP-5 and names the only upstream holder (Clément DOUIN) for Files: * and Jonas Smedegaard for debian/, with a separate stanza for debian/patches/. The MIT/Expat text is reproduced in full, and Apache-2.0 and GPL-3+ are referred to under /usr/share/common-licenses by pointers in extra Reference: fields, which Policy 12.5 allows; that placement is why the two missing-license-text lintian tags are overridden. Grep of the whole tree found no other copyright holder, no vendored third-party code and no non-free terms.
Packaging
The mechanics are solid (compat 14, single-binary addon, dh-rust, DEP-3 patches, hardening, man pages and completions generated at build time, correct Vcs-*/Standards-Version 4.7.4, correct Build-Depends), but debian/control's long description still advertises three features removed in 3.0.0 (the discovery wizard, dynamic client registration and hooks), and debian/ortie.examples installs config.sample.toml under usr/share/doc/ortie/examples/ where the binary does not look for it, so the first-run welcome cannot use the packaged sample. In addition a patch silences four failing tests (one of them the ASCII-host contract) and there is no autopkgtest.
Issues
important packaging 1. debian/control Description advertises the discovery wizard, dynamic client registration and hooks, all removed in 3.0.0 ◂
- Files:
debian/control:49-55,debian/control:74-76,debian/control:78,CHANGELOG.md:163-170 - Basis: checked, in the package or with a reference tool
- Evidence: debian/control:
* Account discovery wizard:/* Dynamic client registration:/* Hooks:— CHANGELOG.md 3.0.0 Removed:Removed the configure command and its wizard alias,Removed dynamic client registration (RFC 7591), which only the wizard ran,Removed the hooks (hooks.on-issue and hooks.on-refresh) - Problem: The long description is what users see in apt/dpkg; all three advertised features no longer exist. src/cli.rs's Command enum offers auth/token/repl/mcp/account/completion/manual/json-schema only, AuthCommand has just Get/Listen/Resume, src/config.rs:608-622 refuses a
hookstable as an unknown field, and patch 2003/2006 drop rustls-aws/native-tls while the description still mentions provider knobs. The JSON bullet'sswitch discovery and token commandsis stale for the same reason. - Fix: Drop the wizard, dynamic client registration and hooks bullets and replace them with what 3.0.0 does (start from config.sample.toml or a README provider account; storage.write.command in place of hooks); change
discovery and token commandstotoken and account commands.
important packaging 2. config.sample.toml is installed under usr/share/doc/ortie/examples/, where the binary's shipped_sample lookup cannot find it ◂
- Files:
debian/ortie.examples:1,src/main.rs:40,install.sh:80,package.nix:60 - Basis: checked, in the package or with a reference tool
- Evidence:
debian/ortie.examples:config.sample.toml; dh_installexamples(1):installing examples into usr/share/doc/package/examples; src/main.rs:which copies it from the release or the package, share/doc/ortie/ beside the binary, or downloads it; cairn/log/2026-11-10-sample-shipped-in-share.md:find_sample looks for share/doc/ortie/config.sample.toml under the parent of its directory (an installed prefix) - Problem: binary /usr/bin/ortie looks for /usr/share/doc/ortie/config.sample.toml (parent of /usr/bin + share/doc/ortie/), but the package puts it at /usr/share/doc/ortie/examples/config.sample.toml. So
shipped_samplereturns nothing and the first-run welcome prints the networkcurlcommand instead of installing the packaged sample — the feature upstream added for exactly this package (upstream install.sh and package.nix both install share/doc/ortie/config.sample.toml). - Fix: Install it where the binary looks: replace debian/ortie.examples with a debian/ortie.docs listing config.sample.toml (installed at usr/share/doc/ortie/config.sample.toml) or add an explicit debian/ortie.install entry to usr/share/doc/ortie/.
minor packaging 3. 2005_failing_test.patch silences four failing tests, one of which is the ASCII-host contract broken by the relaxed idna_adapter pin ◂
- Files:
debian/patches/2005_failing_test.patch:14,debian/patches/2005_failing_test.patch:23,debian/patches/1002_newer_idna_adapter.patch:12,src/config.rs:547 - Basis: checked, in the package or with a reference tool
- Evidence:
+#[ignore = "assertion failed: try_parse(&account(\"bücher.example\")).is_err()"]; cairn/spec/packaging.md:idna_adapter being pinned to 1.0.0 in Cargo.toml ... A URL with a non-ASCII host SHALL be refused when parsed; patch 1002 turns=1.0.0into1.0.0, which the archive satisfies with 1.1.0 - Problem: With the pin relaxed the failure reproduced in the ignore message shows the Debian binary accepts
bücher.example, contradicting the documented contract (also CHANGELOGChanged every configured URL to take an ASCII host only); the test that would catch it is disabled instead of the cause fixed. The other three ignores (aninstall.sh/scriptstyle failure in tests/auth_listen.rs and an assertion in tests/exit.rs) likewise hide failures behind raw assertion text. Note that debian/copyright's patches stanza and the DEP-3 headers are fine; the problem is the test suppression. - Fix: Work out how to keep url's IDNA without a Unicode back end against the idna_adapter the archive has (or get 1.0.0 packaged) and re-enable a_non_ascii_host_is_refused; for the remaining three, state in the patch why they cannot run in a build and where that is tracked, instead of leaving only the assertion text.
minor packaging 4. No autopkgtest: debian/tests/control is absent although the source carries a large test suite ◂
- Files:
debian/ - Basis: checked, in the package or with a reference tool
- Evidence: no debian/tests/ directory in the source; tests/ has 17 integration suites (tests/common.rs, tests/account.rs, tests/repl.rs, ...)
- Problem: Nothing in the archive exercises the installed binary; a broken upload or a missing runtime file (as with the config.sample.toml path above) would only show up to users. Established Rust-team practice for a new package is an autopkgtest.
- Fix: Add debian/tests/control with a smoke test (
ortie --version,ortie --help) and, if the mock suites can run offline, a test that builds them with the needed test-only dependencies declared in debian/tests/control.
Verified ◂
- Read every file under debian/ (control, rules, changelog, copyright, copyright_hints, copyright-check, clean, ortie.examples, ortie.manpages, ortie.shell-completions, gbp.conf, source/format, source/lintian-overrides, upstream/metadata) and all eight patches with their DEP-3 headers; the series applies in order and each patch still matches the patched tree.
- Licensing: Cargo.toml
license = "MIT OR Apache-2.0", LICENSE-MIT (2026 Clément DOUIN) and LICENSE-APACHE are the standard texts, README has the dual-licence section; debian/copyright is DEP-5 and matches all of them, plus GPL-3+ for debian/* and a separate stanza for debian/patches/*. - Grepped the whole tree for Copyright/(C)/©/SPDX/licence names/non-free wording: the only notices are LICENSE-MIT/LICENSE-APACHE, README's licence section and debian/copyright; no other holder, no embedded third-party library, no non-free clause.
- The prescan's author check found nothing unnamed (401 files scanned, 3 declared authors). All scanned paths are upstream's own: cairn/**, .cursor/rules/cairn.mdc, AGENTS.md/CLAUDE.md, *.nix/flake.lock/deny.toml/install.sh/config.sample.toml. cairn/verify.sh states it is vendored from github.com/pimalaya/cairn, the same author's project, and is covered by
Files: *. - Compared the repacked orig tarball with the tree: no
.git*file remains, matchingFiles-Excluded: .git*; the only diffs are debian/, .pc/ and the patched files; no patch creates an upstream file. - Packaging structure: 3.0 (quilt), compat 14 with dh-sequence-rust/-shell-completions/-single-binary, hardening=+all, man pages generated into debian/build and installed via debian/ortie.manpages, completions via debian/ortie.shell-completions, debian/clean removes debian/build/.
- Build-Depends: every Debian-provided name resolves (dh-rust 0.1.4 provides dh-sequence-rust, dh-shell-completions 0.1.0, debhelper provides dh-sequence-single-binary, librust-anyhow/clap/log/schemars/serde/serde-json/tempfile/url/jiff/idna-adapter/secrecy and libstd-rust-dev exist; the base librust-*-dev packages pull the feature dependencies, checked for librust-clap-dev and librust-serde-dev).
- debian/copyright_hints and debian/copyright-check are licensecheck helper output under debian/*, not installed in the binary; the FIXME/
Copyright: NONEtext in copyright_hints is generated data, not a licence claim. - Standards-Version 4.7.4 is current against Policy 4.7.4.1; Vcs-Git/Vcs-Browser and Homepage are consistent; changelog is well-formed and experimental is consistent with the not-yet-uploaded pimalaya dependency stack.
- The scan found no built files, minified code, PDFs or images; there are none in the tree (the orig tarball is sources only).
- uscan found the packaged version as the newest upstream release (upstream
3.0.0, packaged3.0.0+ds). - Every pointer of
debian/copyrightto /usr/share/common-licenses names a file that is there (Apache-2.0,GPL-3).
Not confirmed ◂
- librust-pimalaya-cli-0.8-dev, librust-pimalaya-config-0.6-dev, librust-pimalaya-stream-0.4-dev, librust-io-oauth-0.8-dev, librust-base64-codec-0.1-dev and librust-simd-cpu-0.1-dev are not in the reviewing system's package lists and not in the NEW queue as of 2026-11-28; the package cannot build until they are accepted, presumably as part of the same pimalaya upload stack. Treated as not a fault.
- The exact find_sample search path is implemented in pimalaya-cli 0.8, which is not in this source tree; the package's own src/main.rs, install.sh, package.nix and cairn/log/2026-11-10-sample-shipped-in-share.md all name share/doc/ortie/config.sample.toml, which is the basis for the sample-path issue.
- The licence and contributors of github.com/pimalaya/cairn (from which cairn/verify.sh is vendored) could not be checked offline; debian/copyright covers it with the same holder and the same dual licence.
Proposed changes ◂
None.
Uploader's response to the LLM review
The uploader was emailed about the review 1 hour ago.