fix: Remove unnecessary LDAP query of Certificate Revocation List during signing process (which is not supported and lead to exception).
parent
0d39f569ae
commit
86571800bd
|
@ -505,8 +505,11 @@ z.CertsChain = class{
|
|||
|
||||
for(var i=0; i<_this.crls.length; i++){
|
||||
z.log("Query crl for [" + _this.crls[i] + "]");
|
||||
const url = _this.crls[i];
|
||||
// A query of the Certificate Revocation List (CRL) via LDAP is unnecessary during the signing process.
|
||||
if(url.slice(0,4)==='ldap') continue;
|
||||
/** @type {Uint8Array} */
|
||||
var crl = await z.urlFetch(_this.crls[i]);
|
||||
var crl = await z.urlFetch(url);
|
||||
if(crl){
|
||||
crls.push(crl);
|
||||
}
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "zgapdfsigner",
|
||||
"version": "2.7.2",
|
||||
"version": "2.7.3",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "zgapdfsigner",
|
||||
"version": "2.7.2",
|
||||
"version": "2.7.3",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"follow-redirects": "1.15.6",
|
||||
|
|
Loading…
Reference in New Issue