{"id":20213801,"url":"https://github.com/dachcom-digital/pimcore-secure-storage","last_synced_at":"2026-02-07T22:34:48.010Z","repository":{"id":255654367,"uuid":"848825681","full_name":"dachcom-digital/pimcore-secure-storage","owner":"dachcom-digital","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-20T14:25:33.000Z","size":49,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-19T04:04:55.677Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dachcom-digital.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-28T13:29:08.000Z","updated_at":"2025-01-21T06:32:07.000Z","dependencies_parsed_at":"2024-11-14T06:11:54.393Z","dependency_job_id":"8ae98b03-68fc-4f23-8415-227764bc08ff","html_url":"https://github.com/dachcom-digital/pimcore-secure-storage","commit_stats":null,"previous_names":["dachcom-digital/pimcore-secure-storage"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/dachcom-digital/pimcore-secure-storage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dachcom-digital%2Fpimcore-secure-storage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dachcom-digital%2Fpimcore-secure-storage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dachcom-digital%2Fpimcore-secure-storage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dachcom-digital%2Fpimcore-secure-storage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dachcom-digital","download_url":"https://codeload.github.com/dachcom-digital/pimcore-secure-storage/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dachcom-digital%2Fpimcore-secure-storage/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29211127,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T22:22:11.602Z","status":"ssl_error","status_checked_at":"2026-02-07T22:22:10.684Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T06:11:50.560Z","updated_at":"2026-02-07T22:34:47.994Z","avatar_url":"https://github.com/dachcom-digital.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pimcore Secure Storage Bundle\n[![Software License](https://img.shields.io/badge/license-GPLv3-brightgreen.svg?style=flat-square)](LICENSE.md)\n[![Software License](https://img.shields.io/badge/license-DCL-white.svg?style=flat-square\u0026color=%23ff5c5c)](LICENSE.md)\n[![Latest Release](https://img.shields.io/packagist/v/dachcom-digital/secure-storage.svg?style=flat-square)](https://packagist.org/packages/dachcom-digital/secure-storage)\n\n### Release Plan\n\n| Release | Supported Pimcore Versions | Supported Symfony Versions | Release Date | Maintained     | Branch |\n|---------|----------------------------|----------------------------|--------------|----------------|--------|\n| **1.x** | `^11.3`                    | `^6.4`                     | --           | Feature Branch | master |\n\n\n## Installation\n\n```json\n\"require\" : {\n    \"dachcom-digital/secure-storage\" : \"~1.0.0\",\n}\n```\n\nAdd Bundle to `bundles.php`:\n```php\nreturn [\n    SecureStorageBundle\\SecureStorageBundle::class =\u003e ['all' =\u003e true],\n];\n```\n\n## Description\nEncrypt/Decrypt assets on the fly!\n\n## Required PHP Extensions\n- openssl\n\n## Usage\n\n\u003e [!CAUTION]  \n\u003e This is a very, very dangerous bundle which can lead to heavy data loss, if you're not careful!\n\u003e Please read the instructions carefully!\n\n## Safety Instructions\n- Do not define paths with existing assets. Create a new folder or delete all assets first. Those assets can't be opened after defined (since they're not encrypted)\n- You'll never be able to remove those paths from configuration. If you have to, you need to download the assets from backend first\n- Do not change the key, after you pushed this to production. Encrypted assets will be end up corrupt\n\n## Limitations\n- The secure adapter only supports the `LocalFilesystemAdapter`. This is fine, since other adapters like aws or cloudflare usually already support encryption by default\n- Thumbnails can't be generated, since pimcore uses the `getLocaleFileFromStream` method in `TemporaryFileHelperTrait`. This is something we might can fix in the near future\n\n## Configuration\n\n### File Encryption\n\n```yaml\nsecure_storage:\n    encrypter:\n        options:\n            cipher: 'aes-128-cbc'   # default\n            key: 'your-12-bit-key'  # create your key with base64_encode(openssl_random_pseudo_bytes(16));\n\n    secured_fly_system_storages:\n\n        # form builder (if you want to encrypt form builder data)\n        - storage: form_builder.chunk.storage\n        - storage: form_builder.files.storage\n\n        # pimcore\n        -\n            storage: pimcore.asset.storage\n            paths:\n                - /secure-storage\n                - /formdata\n```\n\n#### Custom Encrypter\nTBD\n\n***\n\n### Asset Protection\n\n```yaml\nsecure_storage:\n\n    pimcore_asset_protection:\n\n        # protects:\n        # - public/var/assets [pimcore.asset.storage]\n        # - public/tmp/asset-cache [pimcore.asset_cache.storage]\n        # - public/tmp/thumbnails [pimcore.thumbnail.storage]\n        htaccess_protection_public_directories:\n            paths:\n                - /secure-storage\n\n        omit_backend_search_indexing:\n            paths:\n                - /secure-storage\n```\n\n***\n\n## Upgrade Info\nBefore updating, please [check our upgrade notes!](UPGRADE.md)\n\n## License\n**DACHCOM.DIGITAL AG**, Löwenhofstrasse 15, 9424 Rheineck, Schweiz  \n[dachcom.com](https://www.dachcom.com), dcdi@dachcom.ch  \nCopyright © 2024 DACHCOM.DIGITAL. All rights reserved.  \n\nFor licensing details please visit [LICENSE.md](LICENSE.md)  ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdachcom-digital%2Fpimcore-secure-storage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdachcom-digital%2Fpimcore-secure-storage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdachcom-digital%2Fpimcore-secure-storage/lists"}