{"id":23689934,"url":"https://github.com/geo-mena/signsafe","last_synced_at":"2025-08-29T06:20:55.642Z","repository":{"id":265598674,"uuid":"896302476","full_name":"geo-mena/signsafe","owner":"geo-mena","description":"🚦 Service that validates digital signatures in PDF documents.","archived":false,"fork":false,"pushed_at":"2025-01-14T00:26:00.000Z","size":27,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-22T06:49:12.114Z","etag":null,"topics":["bouncy-castle-library","java","open-source","pdf","pdfbox"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/geo-mena.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"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,"zenodo":null}},"created_at":"2024-11-30T02:17:18.000Z","updated_at":"2025-01-14T00:26:04.000Z","dependencies_parsed_at":"2025-01-14T01:21:03.585Z","dependency_job_id":"6b6a771d-d5e6-4cc0-913e-04286fba634d","html_url":"https://github.com/geo-mena/signsafe","commit_stats":null,"previous_names":["geo-mena/signsafe"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/geo-mena/signsafe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geo-mena%2Fsignsafe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geo-mena%2Fsignsafe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geo-mena%2Fsignsafe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geo-mena%2Fsignsafe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geo-mena","download_url":"https://codeload.github.com/geo-mena/signsafe/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geo-mena%2Fsignsafe/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266983523,"owners_count":24016559,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-25T02:00:09.625Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["bouncy-castle-library","java","open-source","pdf","pdfbox"],"created_at":"2024-12-30T01:57:22.094Z","updated_at":"2025-07-25T09:12:03.487Z","avatar_url":"https://github.com/geo-mena.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cp\u003e\n    \u003ch2\u003e\n      SignSafe - Digital Signature Validator\n    \u003c/h2\u003e\n  \u003c/p\u003e\n\n![Docker Badge](https://shields.io/badge/Docker-20.10.7-blue?logo=docker)\n![Java Badge](https://shields.io/badge/Java-11-red?logo=java)\n![Spring Boot Badge](https://shields.io/badge/Spring%20Boot-2.7.0-green?logo=spring)\n![PDFBox Badge](https://shields.io/badge/PDFBox-2.0.24-blue)\n![Maven Badge](https://shields.io/badge/Maven-3.8.4-blue)\n\n\u003c/div\u003e\n\nThis project implements a REST service in Spring Boot to validate digital signatures in PDF documents. It is capable of processing signatures from different Ecuadorian certification entities such as Security Data, UANATACA, among others.\n\n## 🎉 Features\n\n- Validation of digital signatures in PDF documents\n- Extraction of signer information:\n  - Full name\n  - ID number\n  - Certification entity\n  - Date of signature\n  - Certificate validity status\n- Support for multiple signatures in a single document\n- Support for different Ecuadorian certification entities\n\n## 🛠️ Stack\n\n- **[Java](https://www.java.com/)** - Programming language\n- **[Spring Boot](https://spring.io/projects/spring-boot)** - Framework for creating web applications\n- **[PDFBox](https://pdfbox.apache.org/)** - Library for working with PDF documents\n- **[Bouncy Castle](https://www.bouncycastle.org/)** - Cryptography library\n- **[Maven](https://maven.apache.org/)** - Dependency management\n- **[Docker](https://www.docker.com/)** - Containerization platform\n\n## 🚀 Installation\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/geo-mena/signsafe.git\ncd signsafe\n```\n\n2. Build the project:\n\n```bash\nmvn clean package\n```\n\n3. Run the application using Docker:\n\n```bash\ndocker compose up -d\n```\n\nOr run the application directly:\n\n```bash\njava -jar target/validador-firmas-0.0.1-SNAPSHOT.jar\n```\n\n## ⚡️ Usage\n\nThe REST service exposes a single endpoint to validate digital signatures in PDF documents:\n\n```plaintext\nPOST /api/validador/verificar\nContent-Type: multipart/form-data\n```\n\nThe PDF file must be sent as a multipart form with the name `file`. The service will respond with a JSON containing the information of the digital signatures found in the document.\n\n## 📄 Example\n\n```json\n{\n  \"success\": true,\n  \"message\": \"Se encontraron 1 firma(s) en el documento\",\n  \"data\": [\n    {\n      \"nombreCompleto\": \"JUAN PEREZ\",\n      \"cedula\": \"1234567890\",\n      \"entidadCertificadora\": \"SECURITY DATA S.A. 2\",\n      \"fechaFirma\": \"2024-11-26T02:02:44.000+00:00\",\n      \"esValida\": true\n    }\n  ]\n}\n```\n\n## 🔒️ Validation Features\n\nThe service performs the following validations:\n\n- Extraction of digital certificate data\n- Verification of certificate validity\n- Support for different digital signature formats\n- Handling of multiple signatures in a document\n\n## 🚨 Known Limitations\n\n- Does not perform OCSP verification\n- Does not verify revocation lists (CRL)\n- Certificate chain validation is not implemented\n\n## 🤝 Contributing\n\nIf you want to contribute to the project:\n\n1. Fork the repository\n2. Create a branch with your feature: `git checkout -b feature/new-feature`\n3. Commit your changes: `git commit -am 'Add new feature`\n4. Push to the branch: `git push origin feature/new-feature`\n5. Submit a pull request\n\n## 🔑 License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\nThe MIT license is a permissive software license that allows:\n\n- Commercial use\n- Modification\n- Distribution\n- Private use\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeo-mena%2Fsignsafe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeo-mena%2Fsignsafe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeo-mena%2Fsignsafe/lists"}