aboutsummaryrefslogtreecommitdiffstats
path: root/docs/superpowers/plans
AgeCommit message (Collapse)AuthorFilesLines
2026-11-03fix(app): harden the setup key importsDanilo M.1-2/+6
- PGP key import reads at most 1 MiB (bounded read, buffer zeroed) and refuses larger files with a new message. - SshKeyViewModel catches any Exception from import and generation (CancellationException rethrown) instead of a short list, so an unexpected provider or sshj error no longer crashes the app. - Pending PGP key bytes are zeroed in a finally block, also on cancellation during addKey after a replace, and an earlier pending pick is zeroed before a new one takes its place. - PGPKeyManager never replaces a stored secret key with a public-only key of the same ID, with or without replace (KeyDowngradeException); the setup ViewModel shows a localized message for it. Unit test added. - storeRecipients strips '#' comments and a trailing '!' as pass reads .gpg-id; tests added. - GitServerViewModel.clearStore returns the failure when the store folder cannot be emptied, so the clone does not start; the plan's Task 3 call site reports it. - readGpgId opens the file with NOFOLLOW_LINKS and reads at most 64 KiB + 1 bytes, refusing more. - SshKey.import writes the new private key to a temp file and moves it over atomically before dropping the old key's Keystore entry, public key and passphrase, so an I/O error keeps the old key. - KeyUtils.isSecretKey notes (ponytail) that GnuPG stub and smartcard keyrings count as secret. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03docs: add the Compose setup implementation planDanilo M.1-0/+3786
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03docs: add the Compose editor implementation planDanilo M.1-0/+3295
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02fix(app): harden the entry passphrase promptDanilo M.1-1/+3
Ignore a submit while no prompt is showing, so OK plus IME Done cannot start two decrypts. Key the passphrase dialog on the retry count so each attempt gets a fresh field and shows the wrong password error. Note the process death gap around key import and the editor. Record the TotpModule, text selection and file IO decisions in the plan. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02docs: add the Compose entry view implementation planDanilo M.1-0/+2147
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02docs: add the Compose list implementation planDanilo M.1-0/+1901
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02docs: add the Compose foundation implementation planDanilo M.1-0/+885
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>