Rename project: ubuntu-fido -> authforge

Renames the package and all artifacts to authforge to drop the
distro-specific prefix, since the roadmap targets Ubuntu + Debian +
KDE + eventually Fedora (option C in the design).

- deb packages: authforge, authforge-{daemon,pam,cli,gui,gnome-integration}
- binaries: authforged, authforgectl, authforge (GUI)
- D-Bus name: io.dangerousthings.AuthForge
- PAM module: pam_authforge_pending.so
- Paths: /etc/authforge/, /var/lib/authforge/, /usr/share/pam-configs/authforge
- PPA: ppa:dangerousthings/authforge

Filesystem path /home/work/VSCodeProjects/ubuntu_fido/ left as-is for
historical reference; can rename later via git mv at the dir level.

Verified: cargo build/test/clippy/fmt clean, pam builds, gui builds,
all 5 debs produced.
This commit is contained in:
michael
2026-04-26 16:53:11 -07:00
parent c6a5e942c9
commit f50c7b2e82
23 changed files with 2431 additions and 289 deletions

4
debian/changelog vendored
View File

@@ -1,5 +1,5 @@
ubuntu-fido (0.1.0-1) UNRELEASED; urgency=low
authforge (0.1.0-1) UNRELEASED; urgency=low
* Initial packaging skeleton.
* Initial packaging skeleton (renamed from ubuntu-fido).
-- Dangerous Things <ops@dangerousthings.com> Sun, 26 Apr 2026 12:00:00 +0000

46
debian/control vendored
View File

@@ -1,4 +1,4 @@
Source: ubuntu-fido
Source: authforge
Section: admin
Priority: optional
Maintainer: Dangerous Things <ops@dangerousthings.com>
@@ -12,44 +12,44 @@ Build-Depends:
libfido2-dev,
pkg-config
Standards-Version: 4.6.2
Homepage: https://github.com/dangerousthings/ubuntu-fido
Vcs-Browser: https://github.com/dangerousthings/ubuntu-fido
Vcs-Git: https://github.com/dangerousthings/ubuntu-fido.git
Homepage: https://github.com/dangerousthings/authforge
Vcs-Browser: https://github.com/dangerousthings/authforge
Vcs-Git: https://github.com/dangerousthings/authforge.git
Package: ubuntu-fido
Package: authforge
Architecture: any
Depends: ubuntu-fido-daemon (= ${binary:Version}),
ubuntu-fido-pam (= ${binary:Version}),
ubuntu-fido-cli (= ${binary:Version}),
Depends: authforge-daemon (= ${binary:Version}),
authforge-pam (= ${binary:Version}),
authforge-cli (= ${binary:Version}),
${misc:Depends}
Recommends: ubuntu-fido-gui (= ${binary:Version})
Suggests: ubuntu-fido-gnome-integration
Description: Turnkey FIDO2/U2F/TOTP MFA for Ubuntu (metapackage)
Installs the full ubuntu-fido stack: daemon, PAM module, CLI, and
Recommends: authforge-gui (= ${binary:Version})
Suggests: authforge-gnome-integration
Description: Turnkey FIDO2/U2F/TOTP MFA for Linux desktops (metapackage)
Installs the full authforge stack: daemon, PAM module, CLI, and
(if recommended) GUI.
Package: ubuntu-fido-daemon
Package: authforge-daemon
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, libpam-u2f, libfido2-1
Description: System daemon for ubuntu-fido MFA management
Description: System daemon for authforge MFA management
Provides the privileged D-Bus service that orchestrates enrollment,
policy edits, and lockout-prevention checks.
Package: ubuntu-fido-pam
Package: authforge-pam
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, libpam-runtime
Description: PAM module backstopping ubuntu-fido first-login enrollment
Refuses authentication when /var/lib/ubuntu-fido/pending/<user> exists
Description: PAM module backstopping authforge first-login enrollment
Refuses authentication when /var/lib/authforge/pending/<user> exists
and the user has not completed first-login MFA setup.
Package: ubuntu-fido-cli
Package: authforge-cli
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, ubuntu-fido-daemon
Description: CLI for ubuntu-fido (admin and fleet)
Depends: ${shlibs:Depends}, ${misc:Depends}, authforge-daemon
Description: CLI for authforge (admin and fleet)
Configure policy, enroll on behalf of users, generate recovery codes.
Package: ubuntu-fido-gui
Package: authforge-gui
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, ubuntu-fido-daemon
Description: GTK4/libadwaita UI for ubuntu-fido
Depends: ${shlibs:Depends}, ${misc:Depends}, authforge-daemon
Description: GTK4/libadwaita UI for authforge
End-user-facing settings panel for enrollment and policy.

4
debian/copyright vendored
View File

@@ -1,7 +1,7 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: ubuntu-fido
Upstream-Name: authforge
Upstream-Contact: Dangerous Things <ops@dangerousthings.com>
Source: https://github.com/dangerousthings/ubuntu-fido
Source: https://github.com/dangerousthings/authforge
Files: *
Copyright: 2026 Dangerous Things, LLC

22
debian/rules vendored
View File

@@ -11,20 +11,20 @@ override_dh_auto_build:
override_dh_auto_install:
# Daemon
install -D -m 0755 target/release/ubuntu-fidod \
debian/ubuntu-fido-daemon/usr/sbin/ubuntu-fidod
install -D -m 0755 target/release/authforged \
debian/authforge-daemon/usr/sbin/authforged
# CLI
install -D -m 0755 target/release/ubuntu-fidoctl \
debian/ubuntu-fido-cli/usr/bin/ubuntu-fidoctl
install -D -m 0755 target/release/authforgectl \
debian/authforge-cli/usr/bin/authforgectl
# GUI
install -D -m 0755 target/release/ubuntu-fido \
debian/ubuntu-fido-gui/usr/bin/ubuntu-fido
install -D -m 0644 gui/data/io.dangerousthings.UbuntuFido.desktop \
debian/ubuntu-fido-gui/usr/share/applications/io.dangerousthings.UbuntuFido.desktop
install -D -m 0644 gui/data/io.dangerousthings.UbuntuFido.svg \
debian/ubuntu-fido-gui/usr/share/icons/hicolor/scalable/apps/io.dangerousthings.UbuntuFido.svg
install -D -m 0755 target/release/authforge \
debian/authforge-gui/usr/bin/authforge
install -D -m 0644 gui/data/io.dangerousthings.AuthForge.desktop \
debian/authforge-gui/usr/share/applications/io.dangerousthings.AuthForge.desktop
install -D -m 0644 gui/data/io.dangerousthings.AuthForge.svg \
debian/authforge-gui/usr/share/icons/hicolor/scalable/apps/io.dangerousthings.AuthForge.svg
# PAM
$(MAKE) -C pam install DESTDIR=$(CURDIR)/debian/ubuntu-fido-pam
$(MAKE) -C pam install DESTDIR=$(CURDIR)/debian/authforge-pam
override_dh_auto_test:
cargo test --workspace --release