mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-09-16 07:18:04 -04:00
- checkEncryption()/checkThrottleEncryption() are now read-only guards that throw when no valid key is provisioned, instead of writing .env at request time. - Add rotateEncryptionKey() and provisionThrottleKey() for explicit, idempotent provisioning. - Add php spark env:provision (app/Commands/EnvProvision.php) so Docker can provision keys once at container startup before any request. - Add app/Libraries/CI3SecretConverter.php shared CI3->CI4 secret converter (AES-128-CBC decrypt + CI4 re-encrypt/verify/save) used by both the interactive migration and the docker startup path. - Refactor convertToCI4 migration to use the shared converter. - Persist .env in a named volume and run spark env:provision on boot; stop baking .env into the shipped image. - Add guard/rotation/throttle + converter tests; clean up orphaned msg_pwd_required language keys across all locales.
15 lines
1.2 KiB
PHP
15 lines
1.2 KiB
PHP
<?php
|
|
|
|
return [
|
|
'no_permission_module' => 'ഈ പേരിലുള്ള മൊഡ്യൂൾ ആക്സസ് ചെയ്യാൻ നിങ്ങൾക്ക് അനുമതിയില്ല',
|
|
'unable_to_create_env_file' => 'throttle.key സജ്ജീകരിക്കാൻ {filePath} സൃഷ്ടിക്കാൻ കഴിഞ്ഞില്ല',
|
|
'unable_to_lock_file' => '{filePath} ലോക്ക് ചെയ്യാൻ കഴിഞ്ഞില്ല: {reason}',
|
|
'unable_to_open_lock_file' => '{filePath} തുറക്കാൻ കഴിഞ്ഞില്ല: {reason}',
|
|
'unable_to_persist_throttle_key' => 'throttle.key {filePath}-ൽ സൂക്ഷിക്കാൻ കഴിഞ്ഞില്ല',
|
|
'unable_to_persist_encryption_key' => '',
|
|
'encryption_key_not_provisioned' => '',
|
|
'throttle_key_not_provisioned' => '',
|
|
'unable_to_read_env_file' => 'throttle.key സജ്ജീകരിക്കാൻ {filePath} വായിക്കാൻ കഴിഞ്ഞില്ല',
|
|
'unknown' => 'അപ്രതീക്ഷിത പിശക്',
|
|
];
|