Dark mode em upload pdf

This commit is contained in:
2026-05-18 23:05:33 +01:00
parent 7f12f3eb1f
commit 8043ee42fe
19 changed files with 77 additions and 73 deletions

View File

@@ -275,7 +275,7 @@ export class FieldEncryption {
async decryptField(encryptedData: EncryptedData, key: string): Promise<string> {
const decipher = crypto.createDecipher(this.algorithm, key);
decipher.setAAD(Buffer.from('teachit-field', 'utf8'));
decipher.setAAD(Buffer.from('learnit-field', 'utf8'));
decipher.setAuthTag(Buffer.from(encryptedData.tag, 'hex'));
let decrypted = decipher.update(encryptedData.data, 'hex', 'utf8');
@@ -409,7 +409,7 @@ export const securityHeaders = {
"style-src 'self' 'unsafe-inline'",
"img-src 'self' data: https:",
"font-src 'self'",
"connect-src 'self' https://api.teachit.app",
"connect-src 'self' https://api.learnit.app",
"frame-ancestors 'none'",
"base-uri 'self'",
"form-action 'self'",
@@ -1218,7 +1218,7 @@ export class GDPRRights {
return {
format: 'JSON',
data: userData,
schema: 'teachit-data-schema-v1.0',
schema: 'learnit-data-schema-v1.0',
};
}
@@ -1433,30 +1433,30 @@ export class SecurityDashboard {
### Security Team
#### Incident Response Team
- **Security Lead**: security@teachit.app
- **Incident Response**: incidents@teachit.app
- **Vulnerability Reports**: vulnerabilities@teachit.app
- **Compliance Officer**: compliance@teachit.app
- **Security Lead**: security@learnit.app
- **Incident Response**: incidents@learnit.app
- **Vulnerability Reports**: vulnerabilities@learnit.app
- **Compliance Officer**: compliance@learnit.app
#### Emergency Contacts
- **Critical Incidents**: +1-800-SECURITY
- **Data Breach**: +1-800-BREACH
- **Legal Counsel**: legal@teachit.app
- **Law Enforcement**: emergency@teachit.app
- **Legal Counsel**: legal@learnit.app
- **Law Enforcement**: emergency@learnit.app
### Reporting Security Issues
#### Vulnerability Disclosure
- **Email**: security@teachit.app
- **Email**: security@learnit.app
- **PGP Key**: Available on request
- **Response Time**: Within 24 hours
- **Bounty Program**: Available for qualifying reports
#### Data Subject Requests
- **Access Requests**: privacy@teachit.app
- **Deletion Requests**: delete@teachit.app
- **Correction Requests**: corrections@teachit.app
- **Complaints**: complaints@teachit.app
- **Access Requests**: privacy@learnit.app
- **Deletion Requests**: delete@learnit.app
- **Correction Requests**: corrections@learnit.app
- **Complaints**: complaints@learnit.app
---