Two pre-existing protocol issues surfaced while verifying #2/#3/#4 (both present on main, unrelated to those PRs):
- The command loop's catch-all replies
OK to any unrecognized command (src/main.rs, final _ => arm). During key generation gpg-agent issued SETREPEAT, got OK, and the passphrase flow ended up as two separate pinentry prompts ("Please re-enter this passphrase"), with a mismatch cancelling the operation — observed live. Advertising support for commands we ignore is wrong: unknown commands should get an ERR (GPG_ERR_ASS_UNKNOWN_CMD), and SETREPEAT deserves either a real implementation (repeat field in the same dialog) or an honest error.
GETINFO version returns a hardcoded D 0.1.0 while the crate is at 0.1.2 — should be env!("CARGO_PKG_VERSION").
Two pre-existing protocol issues surfaced while verifying #2/#3/#4 (both present on main, unrelated to those PRs):
OKto any unrecognized command (src/main.rs, final_ =>arm). During key generation gpg-agent issuedSETREPEAT, gotOK, and the passphrase flow ended up as two separate pinentry prompts ("Please re-enter this passphrase"), with a mismatch cancelling the operation — observed live. Advertising support for commands we ignore is wrong: unknown commands should get an ERR (GPG_ERR_ASS_UNKNOWN_CMD), and SETREPEAT deserves either a real implementation (repeat field in the same dialog) or an honest error.GETINFO versionreturns a hardcodedD 0.1.0while the crate is at 0.1.2 — should beenv!("CARGO_PKG_VERSION").