go-crypt/crypt
Snider 703dd4588c
Some checks failed
Security Scan / security (pull_request) Failing after 7s
Test / test (pull_request) Successful in 11m55s
refactor: standardise coreerr import alias and fix shortenPackageName
- CLAUDE.md: update error convention from core.E() to coreerr.E() to
  match actual codebase usage
- Standardise go-log import alias from `core` to `coreerr` across 6
  files (crypt/symmetric.go, crypt/kdf.go, crypt/crypt.go, crypt/hash.go,
  crypt/checksum.go, crypt/openpgp/service.go) for consistency with the
  11 files already using `coreerr`
- Fix shortenPackageName to handle all forge.lthn.ai/core/* module
  prefixes instead of only cli/ and gui/, fixing TestShortenPackageName

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 07:22:34 +00:00
..
chachapoly fix: replace fmt.Errorf and errors.New with coreerr.E() 2026-03-16 18:19:51 +00:00
lthn security: use constant-time comparison for auth credentials 2026-03-09 08:27:38 +00:00
openpgp refactor: standardise coreerr import alias and fix shortenPackageName 2026-03-17 07:22:34 +00:00
pgp fix: replace fmt.Errorf and errors.New with coreerr.E() 2026-03-16 18:19:51 +00:00
rsa fix(rsa): update test for Go 1.26 GenerateKey resilience 2026-03-16 18:41:47 +00:00
bench_test.go feat: modernise to Go 1.26 iterators and stdlib helpers 2026-02-23 05:47:13 +00:00
checksum.go refactor: standardise coreerr import alias and fix shortenPackageName 2026-03-17 07:22:34 +00:00
checksum_test.go test(phase0): expand test coverage, security audit, and benchmarks 2026-02-20 01:14:41 +00:00
crypt.go refactor: standardise coreerr import alias and fix shortenPackageName 2026-03-17 07:22:34 +00:00
crypt_test.go test(phase0): expand test coverage, security audit, and benchmarks 2026-02-20 01:14:41 +00:00
hash.go refactor: standardise coreerr import alias and fix shortenPackageName 2026-03-17 07:22:34 +00:00
hash_test.go feat: extract crypto/security packages from core/go 2026-02-16 15:25:54 +00:00
hmac.go feat: extract crypto/security packages from core/go 2026-02-16 15:25:54 +00:00
hmac_test.go feat: extract crypto/security packages from core/go 2026-02-16 15:25:54 +00:00
kdf.go refactor: standardise coreerr import alias and fix shortenPackageName 2026-03-17 07:22:34 +00:00
kdf_test.go test(phase0): expand test coverage, security audit, and benchmarks 2026-02-20 01:14:41 +00:00
symmetric.go refactor: standardise coreerr import alias and fix shortenPackageName 2026-03-17 07:22:34 +00:00
symmetric_test.go test(phase0): expand test coverage, security audit, and benchmarks 2026-02-20 01:14:41 +00:00