• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

safe-global / safe-client-gateway / 11835492381

14 Nov 2024 10:37AM UTC coverage: 89.377% (-0.05%) from 89.43%
11835492381

push

github

web-flow
Account names encryption via AWS KMS (#2120)

- Adds accounts.encryption configuration to define both the type (aws, local) and the specifics of both.
- Adds EncryptionApiManager, which determines the IEncryptionApi implementation to use.
- Adds the LocalEncryptionApiService implementation of IEncryptionApi, that encrypts/decrypts data in local (not suitable for production).
- Adds the AwsEncryptionApiService implementation of IEncryptionApi, that encrypts/decrypts data in the cloud using the AWS KMS service.
- Adds the related tests.
- Adds encryption for Account['name'] in AccountsDatasource.

2702 of 3375 branches covered (80.06%)

Branch coverage included in aggregate %.

72 of 77 new or added lines in 8 files covered. (93.51%)

9094 of 9823 relevant lines covered (92.58%)

427.12 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/domain/interfaces/encryption-api.interface.ts
NEW
1
export const IEncryptionApi = Symbol('IEncryptionApi');
×
2

3
export interface IEncryptionApi {
4
  encrypt(data: string): Promise<string>;
5

6
  decrypt(data: string): Promise<string>;
7
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc