summaryrefslogtreecommitdiff
path: root/modules/auth-config.el
Commit message (Collapse)AuthorAgeFilesLines
* feat(auth): Improve GPG authentication with loopback pinentry modeCraig Jennings2025-09-021-47/+8
| | | | | | Configure EPG to use minibuffer for password prompts rather than external agents, removing the complex retry mechanism previously needed to handle authentication failures.
* feat(auth-config): Retry auth-source-search when failedCraig Jennings2025-08-181-1/+42
| | | | | | - Add `cj/ensure-auth` and `cj/ensure-auth-before` helpers and advice `cj/auth-source-search-retry` around `auth-source-search` to loop (killing the gpg-agent and retrying) until the `.authinfo.gpg` file is decrypted. - Include usage examples for wrapping other entry points (e.g., GPT toggle, mu4e, Tramp, Dirvish). - Fix indentation in an existing test.
* refactor(system-utils): major refactoring / adding testsCraig Jennings2025-08-141-0/+57
Theme: Modularize system-utilities into separate modules. Clean up any typos, buts, and unused variables. Add some initial ERT tests for new modules created. Changes: - Extract file handling into its own module (file-config) - Extract keyboard macro management into its own module (keyboard-macros) - Extract buffer burying (instead of killing) into its own module (undead-buffers) - Extract all date/time config into its own module (chrono-tools) - Moved keybinding discovery functionality and help into keybindings module - Combine flyspell and abbrev (spell-check and autocorrect) to flyspell-and-abbrev.el - Rename epa-config.el to auth-config.el for auth-source and epa settings. - Refactor `cj/kill-other-window` for more accurate buffer handling. - Include "*ert*" in the default bury (don't kill) list as killing it kills test runs. - Bind C-c M-m to inhibit-mouse-mode - Remove the unused ledger-file variable in user-constants.el. - Removed obsolete C-x x m, C-x x r, and C-x x d key mappings. - C-; b r to call cj/rename-buffer-and-file instead of typo’d function - Other purely cosmetic comment changes to system-utils.el ERT tests: - Rename ERT test definitions to include module scopes (file-config, keyboard-macros) - Add an ERT test for the timer bell's existence. - Add ERT tests to cover `cj/kill-buffer-or-bury-alive`, prefix-arg behavior, window-killing commands, and bulk operations. - Add test `authinfo-file` exists Missing authinfo triggers a debug message - Add test that `gpg2` executable is on the user’s PATH - Remove outdated authinfo test. - Add “Run these tests” note where missing.