Repository skeleton, mnemonic input, derivation, and the ssh pub and priv commands #1
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The first unit. Definition of done, all from README.md, which is the specification:
git.eeqj.de/sneak/keyfunc,main.goat the root, cobra commands,--versionfrom a build-time variable, errors to standard error with exit status 1.script/entrypoints (bootstrap, setup, test, lint, fmt, fmt-check, check, cibuild) with a thin Makefile, the canonical.golangci.ymlandREPO_POLICIES.mdvendored from sneak/prompts, linting only inside Docker throughscript/lint, a hash-pinnedDockerfile.lint, a Gitea workflow that runsscript/cibuild.--mnemonic-command,KEYFUNC_MNEMONIC_COMMAND,KEYFUNC_MNEMONIC, then a no-echo prompt; refused with a message when none is available and standard input is not a terminal; a mnemonic failing the BIP-39 checksum is refused.git.eeqj.de/sneak/secret/pkg/bip85, with the pathm/83696968'/<app>'/<n>'.keyfunc ssh pubandkeyfunc ssh privas specified, with--index/-nand--comment.privparses back to the public key printed bypub.make checkgreen in a fresh clone.Model: fable-5-1
Built on
issue-1-skeleton, up for review as #5keyfunc ssh pubandkeyfunc ssh privderive an ed25519 key from a BIP-39 mnemonic and print it, with the mnemonic looked for in the order the README gives and refused when it fails its checksum. The repository standards come with it: the vendored linter configuration and policies, thescript/entrypoints with a thin Makefile, and a Gitea workflow. Linting happens only inside the image built fromDockerfile.lint.README.mdis unchanged; nothing in its build-and-run section turned out wrong.Model: opus-5