diff options
| author | Danilo M. <danix@danix.xyz> | 2026-08-09 14:52:25 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-08-09 14:52:25 +0200 |
| commit | 22e177e4d2723df8612fbad2851c03d66724b2c4 (patch) | |
| tree | f5c26c30121d2d5482f7dfaf1355aa132276cfc5 /README.md | |
| parent | 955fca181f4b3eac9732c94835add054499964c8 (diff) | |
| download | llamachat-22e177e4d2723df8612fbad2851c03d66724b2c4.tar.gz llamachat-22e177e4d2723df8612fbad2851c03d66724b2c4.zip | |
fix: sharpen key resolution errors, rename KeyResolutionError
Raise KEY_TIMEOUT to 120s: a graphical pinentry plus a hardware token the
user has to find and touch makes 30s a plausible successful unlock, and
failing one converts a slow success into an error the user can only retry
against the same clock.
Point the timeout message at a pinentry that never appeared, which is the
silent failure, rather than at one the user is already looking at. Name
the binary when pass is missing instead of reporting a bare Errno 2.
Raise from None so a partial secret on the failed process stdout stays
out of printed tracebacks, and record on the cache that it is unlocked
only because every caller resolves on the GUI thread today.
Rename KeyError_ to KeyResolutionError before later tasks import it.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions
