auth
Diagnostic `nanook::cli::auth`
Summary
auth identity error
Help
verify the identity file path, perms (0600), and that the key was generated with nanook keygen
Details
When this fires
This wraps any nanook-auth identity error surfaced by the CLI: loading an identity file in nanook ctl/nanook tui, or generating one via nanook keygen. Typical roots: identity file missing, wrong perms (we want 0600), corrupt PEM, or the key wasn't produced by nanook keygen at all.
What to check
The chained inner error names the exact failure (decode, IO). If you haven't generated an identity yet, nanook keygen drops a fresh ed25519 key at ~/.config/nanook/id_ed25519.