Files
daedalus/pyproject.toml
T
nvaldez fef68a84c9 feat: gpgtools - YubiKey GPG/SSH helpers (v0.6.0)
initialize_yubikey (guide steps 1-4): gnupg install fallback
(apt-get/dnf/pacman), card check, public-key fetch from the
card's URL field, idempotent gpg-agent SSH config merge,
GNUPGHOME chmod 700; --dry-run, --gnupg-home.

send_pubkey (guide steps 5-6): resolve the SSH public key from
four sources (--yubikey via gpg-agent ssh socket, --url, --fingerprint via store chain local keyring -> keys.openpgp.org
-> keyserver.ubuntu.com with fingerprint checking, --pubkey
literal), prove possession of the private half with a random
challenge signature (ssh-keygen -Y sign -U / verify) before
anything is stored, then append idempotently to the target's
authorized_keys (dedup by key material, comments ignored).
--no-verify opts out explicitly; --dry-run resolves only.

51 tests (flow via injected runner: no hardware, network, or
interactive terminal); steps 1-6 of the wiki guide
(yubikey-ssh-guide.md) are now one command each.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-19 00:46:40 +01:00

53 lines
1.5 KiB
TOML

[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "daedalus"
version = "0.6.0"
description = "Template for daedalus: loose scripts in one repo, run with: daedalus <name> [args...]"
readme = "README.md"
requires-python = ">=3.11"
dependencies = ["argcomplete>=3.3"]
[project.scripts]
daedalus = "daedalus.cli:main"
# The script folders are installed under daedalus/_library/ with their
# repository-relative paths, so registry paths resolve the same way (SPEC.md 9).
[tool.setuptools]
packages = [
"daedalus",
"daedalus.daedalus_logging",
"daedalus.gpgtools",
"daedalus.hello",
"daedalus._library.python.src",
"daedalus._library.bash",
"daedalus._library.powershell",
"daedalus._library.batch",
]
[tool.setuptools.package-dir]
"daedalus.gpgtools" = "python/src/gpgtools"
"daedalus.hello" = "python/src/hello"
"daedalus._library.python.src" = "python/src"
"daedalus._library.bash" = "bash"
"daedalus._library.powershell" = "powershell"
"daedalus._library.batch" = "batch"
[tool.setuptools.package-data]
"daedalus._library.python.src" = ["**/*"]
"daedalus._library.bash" = ["*.sh"]
"daedalus._library.powershell" = ["*.ps1"]
"daedalus._library.batch" = ["*.bat"]
[tool.setuptools.exclude-package-data]
"*" = ["*.pyc", "__pycache__/*", "**/__pycache__/*", ".gitkeep"]
[tool.pytest.ini_options]
testpaths = ["ci/tests", "daedalus/tests", "python/tests", "bash/tests"]
pythonpath = ["."]
[tool.coverage.run]
omit = ["*/tests/*", "*/__main__.py"]