{"id":13759768,"url":"https://github.com/generoi/wp-genero-gdpr","last_synced_at":"2026-05-26T17:33:53.443Z","repository":{"id":147858792,"uuid":"132641104","full_name":"generoi/wp-genero-gdpr","owner":"generoi","description":null,"archived":false,"fork":false,"pushed_at":"2018-06-11T14:55:58.000Z","size":124,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-12-26T06:16:10.280Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/generoi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-05-08T17:14:45.000Z","updated_at":"2020-11-09T10:50:40.000Z","dependencies_parsed_at":"2023-04-20T00:08:05.317Z","dependency_job_id":null,"html_url":"https://github.com/generoi/wp-genero-gdpr","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/generoi/wp-genero-gdpr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/generoi%2Fwp-genero-gdpr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/generoi%2Fwp-genero-gdpr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/generoi%2Fwp-genero-gdpr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/generoi%2Fwp-genero-gdpr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/generoi","download_url":"https://codeload.github.com/generoi/wp-genero-gdpr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/generoi%2Fwp-genero-gdpr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33532244,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"ssl_error","status_checked_at":"2026-05-26T15:22:15.568Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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-08-03T13:00:58.885Z","updated_at":"2026-05-26T17:33:53.407Z","avatar_url":"https://github.com/generoi.png","language":"PHP","funding_links":[],"categories":["PHP"],"sub_categories":[],"readme":"# wp-genero-gdpr\n\n\u003e Various tools for becoming GDPR complaint\n\n## Requirements\n\n- For encrypting gravityform submission fields you need either PHP 7.0 with the PECL libsodium extension or PHP 7.2+\n\n## Features\n\n- Expire gravityfrom submissions (defaults to all forms with 1 year but can be changed on a per-form basis)\n- Encrypt gravityform submission entries\n\n## Installation\n\n### Form submission encryption\n\nWhen the plugin is first installed a key-pair is automatically generated. Follow the instructions and add the required defines to `wp-config.php`\n\n```php\ndefine('GENERO_GDPR_ENCRYPT_ENABLED', true);\ndefine('GENERO_GDPR_PUBLIC_KEY', $root_dir . '/genero-gdpr.public.key');\n```\n\nIf the key-pair wasn't saved you can manually generate a new key-pair by running `composer run generate-keys` in the plugin directory. Move the generated `genero-gdpr.public.key` to place and add it to `wp-config.php`.\n\n**WARNING! If you lose the private key and have encryption enabled it will be impossible to recover the data.**\n\n## API\n\n```php\n// Change the default expiration time of gravityform submissions\nadd_filter('wp-genero-gdpr/expire-submissions/default_expiration_time', function ($time) {\n  return '3 months';\n});\n\n// Override the expiration time of gravityform submissions\nadd_filter('wp-genero-gdpr/expire-submissions/expiration_time', function ($time) {\n  return '1 day';\n});\n\n// Change the amount of submissions that are deleted at a time\nadd_filter('wp-genero-gdpr/expire-submissions/pager', function ($pager) {\n  return 50;\n});\n```\n\n## Development\n\nInstall dependencies\n\n    composer install\n\nGenerate a new key-pair\n\n    composer run generate-keys\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeneroi%2Fwp-genero-gdpr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeneroi%2Fwp-genero-gdpr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeneroi%2Fwp-genero-gdpr/lists"}