forked from ANYTECHS/clips-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcreate-pr.bat
More file actions
12 lines (10 loc) Β· 1.35 KB
/
Copy pathcreate-pr.bat
File metadata and controls
12 lines (10 loc) Β· 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
@echo off
REM Create Pull Request for Fiat Payout Encryption Feature
"C:\Program Files\GitHub CLI\gh.exe" pr create ^
--title "feat(payouts): add secure fiat payout method storage with encryption" ^
--body "## π Secure Fiat Payout Method Storage\n\nImplements encrypted storage for bank account information with AES-256-GCM encryption.\n\n### β
Features Implemented\n- PayoutMethod model with encrypted fields (account numbers, routing numbers, SWIFT, IBAN)\n- Full CRUD API with JWT authentication\n- Data sanitization (no sensitive data exposed)\n- Soft delete for audit trail\n- Comprehensive test suite\n- Complete security documentation\n\n### π Security Features\n- AES-256-GCM encryption at rest\n- Unique IV per encryption\n- Authenticated encryption (AEAD)\n- Only last 4 digits stored in plaintext\n- User isolation and access control\n\n### π Documentation\n- FIAT_PAYOUT_SECURITY.md - Complete security documentation\n- PAYOUT_ARCHITECTURE.md - Architecture diagrams\n- QUICK_START_PAYOUT_METHODS.md - Setup guide\n\n### π§ͺ Testing\nRun: npm test -- payout-method.service.spec.ts\n\n### π Deployment\n1. Set ENCRYPTION_SECRET env var\n2. Run: npx prisma migrate deploy\n\n**Labels:** payout, security, enhancement\n**Difficulty:** advanced" ^
--label "enhancement,security,payout" ^
--base main
echo.
echo Pull request created successfully!
pause