Implement encrypted transaction caching for GoCardless adapter

- Reduces GoCardless API calls by up to 99% through intelligent caching of transaction data
- Secure AES-GCM encryption with PBKDF2 key derivation (200k iterations) for at-rest storage
- Automatic range merging and transaction deduplication to minimize storage and API usage
- Cache-first approach with automatic fetching of uncovered date ranges
- Comprehensive test suite with 30 unit tests covering all cache operations and edge cases
- Thread-safe implementation with in-memory caching and encrypted disk persistence
This commit is contained in:
2025-11-21 21:16:11 +01:00
parent 6b5347c9f8
commit 8ce13c2530
11 changed files with 1320 additions and 54 deletions

1
.gitignore vendored
View File

@@ -3,3 +3,4 @@
**/*.rs.bk
.env
/debug_logs/
/data/