cli/pkg
Snider 41ed9baa12 (#14) feat(openpgp): increase test coverage
Adds new tests to the `pkg/crypt/openpgp` package to cover error handling and edge cases in the `EncryptPGP` and `DecryptPGP` functions.

- Adds a new test file, `encrypt_extra_test.go`, with tests for incorrect passphrases, malformed messages, and signing failures.
- Adds a pre-generated, encrypted PGP key to be used in tests, working around a limitation in the `go-crypto` library that prevents programmatic generation of encrypted keys.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2025-10-30 22:57:14 +00:00
..
config Refactor services and tests: update Config, Workspace, Display, and cryptography modules; add test-gen and PWA build support; improve workspace test utilities and mock implementations; and enhance file handling logic. 2025-10-28 21:42:29 +00:00
core Refactor PGP module with helper functions and error handling title (#8) 2025-10-30 14:18:37 +00:00
crypt (#14) feat(openpgp): increase test coverage 2025-10-30 22:57:14 +00:00
display Refactor PGP module with helper functions and error handling title (#8) 2025-10-30 14:18:37 +00:00
help (#10) GitHub Actions workflow and refactor build and test infrastructure 2025-10-30 16:23:00 +00:00
i18n Refactor PGP module with helper functions and error handling title (#8) 2025-10-30 14:18:37 +00:00
io (#12) Add GitHub Actions test coverage and platform-aware Taskfiles 2025-10-30 17:37:48 +00:00
runtime Refactor PGP module with helper functions and error handling title (#8) 2025-10-30 14:18:37 +00:00
workspace Refactor services and tests: update Config, Workspace, Display, and cryptography modules; add test-gen and PWA build support; improve workspace test utilities and mock implementations; and enhance file handling logic. 2025-10-28 21:42:29 +00:00