Comments (4)
@lsnepomuceno yes I attached signed PDF .
sign.pdf
from laravel-a1-pdf-sign.
Hi @edwinmacalopu,
Would you have a signed example pdf file?
That way I can validate the structure.
from laravel-a1-pdf-sign.
@lsnepomuceno find the error is a field that when separating with explode does not have key 1 value in the signature, in my case I put a validator if there is key 1 add it to the array
private function processDataToInfo(string $data): array
{
$data = explode('/', trim($data));
$finalData = [];
foreach ($data as $info) {
$infoTemp = explode('=', trim($info));
if (isset($infoTemp[1])) {
$finalData[] = [$infoTemp[0] => $infoTemp[1]];
}
}
return $finalData;
}
from laravel-a1-pdf-sign.
Although I haven't identified the problem with validating array indexes (as shown in the screenshots below), I've updated the method to avoid potential issues.
Available in version 0.0.14.
Thank you for your contribution.
from laravel-a1-pdf-sign.
Related Issues (20)
- Validate certificate exception HOT 1
- Windows env can not find openssl command HOT 4
- Wrong location of temp directory HOT 2
- Error outputting keys and certificates HOT 2
- the addPage don't make responsive page
- Mais de uma assinatura em um arquivo HOT 1
- Version alpha installation with psr-4 non compliant classes skipped ? HOT 1
- PDF timestamping while signing ? HOT 12
- SealImage error HOT 1
- Mac verify error: invalid password HOT 5
- Support for laravel version 6? HOT 1
- Openssl is not recognized HOT 2
- Method "setImage" has a problem HOT 3
- Assinar txt HOT 1
- Assinar txt HOT 1
- Atualização para Laravel 10 HOT 4
- problem to install HOT 1
- Included test cases fails HOT 4
- Parse error on certificate stored in DB HOT 1
- setImage() does not work unless you set setSealImgOnEveryPages() HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-a1-pdf-sign.